# Problème au démarrage (souci de partition)

**URL:** <https://www.debian-fr.org/t/probleme-au-demarrage-souci-de-partition/82289>\
**Category:** Support Debian\
**Created:** [Juin 9, 2020, 12:43 UTC](https://www.debian-fr.org/t/probleme-au-demarrage-souci-de-partition/82289 "2020-06-09T12:43:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Batmanu](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/b/a8b319/32.png) [@Batmanu](https://www.debian-fr.org/u/Batmanu)\
**Post date:** [Juin 9, 2020, 12:43 UTC](https://www.debian-fr.org/t/probleme-au-demarrage-souci-de-partition/82289/1 "2020-06-09T12:43:13Z")

</div>

Hello,

J’ai eu un souci avec mon install de Debian (Buster). Je pense dû à un problème lié au pilote graphique Nvidia qui a mis la grouille. J’ai du me rendre à l’évidence, n’ayant pas pu résoudre le problème malgré les essais, à réinstaller mon linux.

Pour décrire un peu mon partitionnement:

```nohighlight
/dev/sda (disque SSD de 256Go)
   /dev/sda1 monté sur /
/dev/sdb (disque HDD de 3To)
   /dev/sdb1 (100Go) monté sur /home
   /dev/sdb2 (100Go) monté sur /usr
   /dev/sdb3 (50Go) monté sur /var
   /dev/sdb4 (5Go) Swap
   /dev/sdb5 (5Go) EFI
   /dev/sdb6(2,5To) monté sur /Donnees (qui contient du stockage)

```

Suite à la réinstallation, au début du boot, j’avais un message

```nohighlight
fsckd-cancel-msg press ctrl+c to cancel all filesystem checks in progress

```

Le boot continuait. Puis écran noir et le message fsckd revenait et l’ordi bloque là.

J’ai essayé de changer de console pour consulter les logs et en revenant sur la première console, plouf démarrage de l’interface graphique. Rien de spécial dans les logs pourtant.

J’ai tout essayé, un fsck manuel sur toutes les partition, un tune2fs pour désactivé le check. Même constat.

J’ai fini par faire une install en montant un point à chaque fois. Cela m’a permis de remonter jusqu’à la partition qui pose problème:

```nohighlight
/dev/sdb2 monté sur /usr

```

si je laisse `/usr` sur le SSD ça fonctionne (oui c’est discutable ce partitionnement. J’ai du vouloir mettre le moins de chose sur le SSD pour la durée de vie)

Alors j’ai tenté un fsck au niveau des bloc, supprimer la partition et la recréer, utiliser l’option au moment de l’installation pour réécrire sur la partition, mais même topo.

Voici la fin d’un syslog d’hier:

* * *

```nohighlight
Jun 8 15:16:13 PosteDeb NetworkManager[836]: <info> [1591622173.4633] device (enp3s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Jun 8 15:16:13 PosteDeb NetworkManager[836]: <info> [1591622173.4635] device (enp3s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Jun 8 15:16:13 PosteDeb NetworkManager[836]: <info> [1591622173.4639] manager: NetworkManager state is now CONNECTED_LOCAL
Jun 8 15:16:13 PosteDeb dhclient[943]: bound to 192.168.1.71 -- renewal in 36089 seconds.
Jun 8 15:16:13 PosteDeb NetworkManager[836]: <info> [1591622173.5221] manager: NetworkManager state is now CONNECTED_SITE
Jun 8 15:16:13 PosteDeb NetworkManager[836]: <info> [1591622173.5222] policy: set 'Wired connection 1' (enp3s0) as default for IPv4 routing and DNS
Jun 8 15:16:13 PosteDeb NetworkManager[836]: <info> [1591622173.5262] device (enp3s0): Activation: successful, device activated.
Jun 8 15:16:13 PosteDeb NetworkManager[836]: <info> [1591622173.5268] manager: NetworkManager state is now CONNECTED_GLOBAL
Jun 8 15:16:13 PosteDeb NetworkManager[836]: <info> [1591622173.5271] manager: startup complete
Jun 8 15:16:13 PosteDeb nm-dispatcher: req:3 'up' [enp3s0]: new request (1 scripts)
Jun 8 15:16:13 PosteDeb nm-dispatcher: req:3 'up' [enp3s0]: start running ordered scripts...
Jun 8 15:16:13 PosteDeb nm-dispatcher: req:4 'connectivity-change': new request (1 scripts)
Jun 8 15:16:13 PosteDeb nm-dispatcher: req:4 'connectivity-change': start running ordered scripts...
Jun 8 15:16:19 PosteDeb systemd[1]: Stopping User Manager for UID 116...
Jun 8 15:16:19 PosteDeb systemd[916]: Stopped target Default.
Jun 8 15:16:19 PosteDeb systemd[916]: Stopping D-Bus User Message Bus...
Jun 8 15:16:19 PosteDeb systemd[916]: dbus.service: Succeeded.
Jun 8 15:16:19 PosteDeb systemd[916]: Stopped D-Bus User Message Bus.
Jun 8 15:16:19 PosteDeb systemd[916]: Stopped target Basic System.
Jun 8 15:16:19 PosteDeb systemd[916]: Stopped target Timers.
Jun 8 15:16:19 PosteDeb systemd[916]: Stopped target Sockets.
Jun 8 15:16:19 PosteDeb systemd[916]: gpg-agent-browser.socket: Succeeded.
Jun 8 15:16:19 PosteDeb systemd[916]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jun 8 15:16:19 PosteDeb systemd[916]: gpg-agent-ssh.socket: Succeeded.
Jun 8 15:16:19 PosteDeb systemd[916]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Jun 8 15:16:19 PosteDeb systemd[916]: pulseaudio.socket: Succeeded.
Jun 8 15:16:19 PosteDeb systemd[916]: Closed Sound System.
Jun 8 15:16:19 PosteDeb systemd[916]: dirmngr.socket: Succeeded.
Jun 8 15:16:19 PosteDeb systemd[916]: Closed GnuPG network certificate management daemon.
Jun 8 15:16:19 PosteDeb systemd[916]: gpg-agent.socket: Succeeded.
Jun 8 15:16:19 PosteDeb systemd[916]: Closed GnuPG cryptographic agent and passphrase cache.
Jun 8 15:16:19 PosteDeb systemd[916]: gpg-agent-extra.socket: Succeeded.
Jun 8 15:16:19 PosteDeb systemd[916]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Jun 8 15:16:19 PosteDeb systemd[916]: Stopped target Paths.
Jun 8 15:16:19 PosteDeb systemd[916]: dbus.socket: Succeeded.
Jun 8 15:16:19 PosteDeb systemd[916]: Closed D-Bus User Message Bus Socket.
Jun 8 15:16:19 PosteDeb systemd[916]: Reached target Shutdown.
Jun 8 15:16:19 PosteDeb systemd[916]: systemd-exit.service: Succeeded.
Jun 8 15:16:19 PosteDeb systemd[916]: Started Exit the Session.
Jun 8 15:16:19 PosteDeb systemd[916]: Reached target Exit the Session.
Jun 8 15:16:19 PosteDeb systemd[1]: user@116.service: Succeeded.
Jun 8 15:16:19 PosteDeb systemd[1]: Stopped User Manager for UID 116.
Jun 8 15:16:19 PosteDeb systemd[1]: Stopping User Runtime Directory /run/user/116...
Jun 8 15:16:19 PosteDeb systemd[1]: run-user-116.mount: Succeeded.
Jun 8 15:16:19 PosteDeb systemd[1]: user-runtime-dir@116.service: Succeeded.
Jun 8 15:16:19 PosteDeb systemd[1]: Stopped User Runtime Directory /run/user/116.
Jun 8 15:16:19 PosteDeb systemd[1]: Removed slice User Slice of UID 116.
Jun 8 15:16:23 PosteDeb systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Jun 8 15:16:31 PosteDeb systemd-timesyncd[802]: Synchronized to time server for the first time 51.15.191.239:123 (2.debian.pool.ntp.org).
Jun 8 15:16:34 PosteDeb systemd[1]: systemd-hostnamed.service: Succeeded.
Jun 8 15:16:39 PosteDeb systemd[1]: systemd-fsckd.service: Succeeded.
Jun 8 15:17:01 PosteDeb CRON[1008]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jun 8 15:30:01 PosteDeb CRON[1015]: (root) CMD ([-x /etc/init.d/anacron] && if [! -d /run/systemd/system]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Jun 8 15:30:33 PosteDeb systemd[1]: Started Run anacron jobs.
Jun 8 15:30:33 PosteDeb anacron[1016]: Anacron 2.3 started on 2020-06-08
Jun 8 15:30:33 PosteDeb anacron[1016]: Normal exit (0 jobs run)
Jun 8 15:30:33 PosteDeb systemd[1]: anacron.service: Succeeded.
Jun 8 15:31:33 PosteDeb systemd[1]: Starting Cleanup of Temporary Directories...
Jun 8 15:31:33 PosteDeb systemd-tmpfiles[1019]: [/usr/lib/tmpfiles.d/speech-dispatcher.conf:1] Line references path below legacy directory /var/run/, updating /var/run/speech-dispatcher → /run/speech-dispatcher; please update the tmpfiles.d/ drop-in file accordingly.
Jun 8 15:31:33 PosteDeb systemd-tmpfiles[1019]: [/usr/lib/tmpfiles.d/speech-dispatcher.conf:2] Line references path below legacy directory /var/run/, updating /var/run/speech-dispatcher/.cache → /run/speech-dispatcher/.cache; please update the tmpfiles.d/ drop-in file accordingly.
Jun 8 15:31:33 PosteDeb systemd-tmpfiles[1019]: [/usr/lib/tmpfiles.d/speech-dispatcher.conf:3] Line references path below legacy directory /var/run/, updating /var/run/speech-dispatcher/.speech-dispatcher → /run/speech-dispatcher/.speech-dispatcher; please update the tmpfiles.d/ drop-in file accordingly.
Jun 8 15:31:33 PosteDeb systemd-tmpfiles[1019]: [/usr/lib/tmpfiles.d/speech-dispatcher.conf:4] Line references path below legacy directory /var/run/, updating /var/run/speech-dispatcher/.cache/speech-dispatcher → /run/speech-dispatcher/.cache/speech-dispatcher; please update the tmpfiles.d/ drop-in file accordingly.
Jun 8 15:31:33 PosteDeb systemd-tmpfiles[1019]: [/usr/lib/tmpfiles.d/speech-dispatcher.conf:5] Line references path below legacy directory /var/run/, updating /var/run/speech-dispatcher/log → /run/speech-dispatcher/log; please update the tmpfiles.d/ drop-in file accordingly.
Jun 8 15:31:33 PosteDeb systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Jun 8 15:31:33 PosteDeb systemd[1]: Started Cleanup of Temporary Directories.
Jun 8 16:17:01 PosteDeb CRON[1035]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jun 8 16:30:01 PosteDeb CRON[1042]: (root) CMD ([-x /etc/init.d/anacron] && if [! -d /run/systemd/system]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Jun 8 16:30:33 PosteDeb systemd[1]: Started Run anacron jobs.
Jun 8 16:30:33 PosteDeb anacron[1043]: Anacron 2.3 started on 2020-06-08
Jun 8 16:30:33 PosteDeb anacron[1043]: Normal exit (0 jobs run)
Jun 8 16:30:33 PosteDeb systemd[1]: anacron.service: Succeeded.
Jun 8 17:17:01 PosteDeb CRON[1060]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jun 8 17:30:01 PosteDeb CRON[1068]: (root) CMD ([-x /etc/init.d/anacron] && if [! -d /run/systemd/system]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Jun 8 17:34:33 PosteDeb systemd[1]: Started Run anacron jobs.
Jun 8 17:34:33 PosteDeb anacron[1071]: Anacron 2.3 started on 2020-06-08
Jun 8 17:34:33 PosteDeb anacron[1071]: Normal exit (0 jobs run)
Jun 8 17:34:33 PosteDeb systemd[1]: anacron.service: Succeeded.
Jun 8 17:36:30 PosteDeb systemd[1]: Started Getty on tty2.
Jun 8 17:36:30 PosteDeb systemd[1]: Started Getty on tty3.
Jun 8 17:36:31 PosteDeb systemd[1]: Started Getty on tty4.
Jun 8 17:36:32 PosteDeb systemd[1]: Created slice User Slice of UID 116.
Jun 8 17:36:32 PosteDeb systemd[1]: Starting User Runtime Directory /run/user/116...
Jun 8 17:36:32 PosteDeb systemd[1]: Started User Runtime Directory /run/user/116.
Jun 8 17:36:32 PosteDeb systemd[1]: Starting User Manager for UID 116...
Jun 8 17:36:32 PosteDeb systemd[1084]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Jun 8 17:36:32 PosteDeb systemd[1084]: Starting D-Bus User Message Bus Socket.
Jun 8 17:36:32 PosteDeb systemd[1084]: Listening on Sound System.
Jun 8 17:36:32 PosteDeb systemd[1084]: Listening on GnuPG cryptographic agent and passphrase cache.
Jun 8 17:36:32 PosteDeb systemd[1084]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Jun 8 17:36:32 PosteDeb systemd[1084]: Reached target Timers.
Jun 8 17:36:32 PosteDeb systemd[1084]: Listening on GnuPG network certificate management daemon.
Jun 8 17:36:32 PosteDeb systemd[1084]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jun 8 17:36:32 PosteDeb systemd[1084]: Reached target Paths.
Jun 8 17:36:32 PosteDeb systemd[1084]: Listening on D-Bus User Message Bus Socket.
Jun 8 17:36:32 PosteDeb systemd[1084]: Reached target Sockets.
Jun 8 17:36:32 PosteDeb systemd[1084]: Reached target Basic System.
Jun 8 17:36:32 PosteDeb systemd[1084]: Reached target Default.
Jun 8 17:36:32 PosteDeb systemd[1084]: Startup finished in 32ms.
Jun 8 17:36:32 PosteDeb systemd[1]: Started User Manager for UID 116.
Jun 8 17:36:32 PosteDeb systemd[1]: Started Session c2 of user Debian-gdm.
Jun 8 17:36:32 PosteDeb systemd[1084]: Started D-Bus User Message Bus.
Jun 8 17:36:34 PosteDeb gnome-shell[1108]: meta_kms_resources_init failed: Calling drmModeGetResources() failed, assuming we have no outputs
Jun 8 17:36:34 PosteDeb gnome-shell[1108]: Failed to create backend: No GPUs with outputs found
Jun 8 17:36:35 PosteDeb gnome-session[1100]: gnome-session-binary[1100]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Jun 8 17:36:35 PosteDeb gnome-session-binary[1100]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Jun 8 17:36:35 PosteDeb gnome-session-binary[1100]: Unrecoverable failure in required component org.gnome.Shell.desktop
Jun 8 17:36:35 PosteDeb gdm3: GdmDisplay: display lasted 2,556593 seconds*

```

* * *

à 15h16 fin du boot et blocage. Puis j’ai laissé le poste jusqu’a 17h36. On voit le changement de terminal et le démarrage de GDM au moment de revenir sur le terminal 1.

bref, je ne sais plus quoi faire avec cette partition. Au pire la perdre et refaire une install avec le /usr sur le SSD. C’est quand même triste de perdre 100Go… (bon je vais pas pleurer non plus).

Je suis preneur de vos idées. Je suis arrivé au bout des miennes.

Merci à vous

Manu

---

<div class="post-metadata">

**Author:** ![anon29980398](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/f4b2a3/32.png) [@anon29980398](https://www.debian-fr.org/u/anon29980398)\
**Post date:** [Juin 9, 2020, 10:40 UTC](https://www.debian-fr.org/t/probleme-au-demarrage-souci-de-partition/82289/2 "2020-06-09T22:40:09Z")

</div>

Bonjour [**Batmanu**](https://www.debian-fr.org/u/Batmanu)

Bienvenue sur ce forum 😀

* * *

> [@Batmanu](#):
>
> … mon install de Debian (Buster) …

Donne nous le retour de la ligne de commande suivante :

```plaintext
cat /etc/apt/sources.list

```

* * *

> [@Batmanu](#):
>
> … un problème lié au pilote graphique Nvidia …

donne nous le retour des lignes de commandes suivantes :

```plaintext
lspci -nn | grep -Ei "3d|display|vga"

```

```plaintext
echo "$XDG_CURRENT_DESKTOP $XDG_SESSION_DESKTOP $XDG_SESSION_TYPE"

```

* * *

> [@Batmanu](#):
>
> décrire un peu mon partitionnement

donne nous le retour des lignes de commande suivantes :

```plaintext
lsblk -oTYPE,SIZE,FSUSE%,NAME,FSTYPE,MOUNTPOINT,LABEL,UUID

```

```plaintext
cat /etc/fstab

```

et avec les privilèges du compte **root** :

```plaintext
fdisk -l /dev/sd{a,b}

```

* * *

> [@Batmanu](#):
>
> … J’ai fini par faire une install …

Toujours avec le même fichier image ISO ?

* * *

Lance la ligne de commande suivante,  
avec les privilèges du compte **`root`** :

```plaintext
sed -i.sauv 's/^#WaylandEnable=false/WaylandEnable=false/' /etc/gdm3/custom.conf 

```

et redémarre ta machine.

---

<div class="post-metadata">

**Author:** ![Batmanu](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/b/a8b319/32.png) [@Batmanu](https://www.debian-fr.org/u/Batmanu)\
**Post date:** [Juin 12, 2020, 11:09 UTC](https://www.debian-fr.org/t/probleme-au-demarrage-souci-de-partition/82289/3 "2020-06-12T11:09:40Z")

</div>

Bonjour MicP.

Merci pour ta réponse.

Je me suis tiré les cheveux dans tous les sens. J’ai refais une install en montant la partition qui pose souci sur /usr/local. Et pour l’instant tout est revenu ok

En regardant, je me dis que /usr sur le SSD ça devrait pas réduire la durée de vie du SSD de façon incroyable.  
Je pense que les commandes que tu m’as indiqué c’est dans la config qui ne fonctionne pas? J’avoue que refaire une install ne m’emballe pas. J’ai du en enchainer une vingtaine.

Je pense partir sur cette config. C’est un peu galère de pas savoir ce qui a pu se passer mais bon…

En tout cas merci beaucoup.

---

<div class="post-metadata">

**Author:** ![anon29980398](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/f4b2a3/32.png) [@anon29980398](https://www.debian-fr.org/u/anon29980398)\
**Post date:** [Juin 12, 2020, 12:37 UTC](https://www.debian-fr.org/t/probleme-au-demarrage-souci-de-partition/82289/4 "2020-06-12T12:37:11Z")

</div>

> [@Batmanu](#):
>
> Je pense que les commandes que tu m’as indiqué c’est dans la config qui ne fonctionne pas?

Oui, mais on pouvait aussi obtenir les retour de ces commandes depuis un autre système (démarré en Live par exemple)

> [@Batmanu](#):
>
> je me dis que /usr sur le SSD ça devrait pas réduire la durée de vie du SSD de façon incroyable.

Je trouve que c’est dommage d’avoir un SSD et ne pas s’en servir.  
De toutes façons, un disque dur ou SSD n’est jamais éternel.

* * *

Sur ma machine :

```plaintext
michel@debT450:~$ udisksctl status 
MODEL REVISION SERIAL DEVICE
--------------------------------------------------------------------------
SAMSUNG MZ7LN256HCHP-000L7 EMT03L6Q S20HNXBG423884 sda     
Kingchuxing 512GB S0424A0 2019122000224 sdb     
michel@debT450:~$ 

```

```plaintext
michel@debT450:~$ df -htext4
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
/dev/sdb1 24G 4,6G 18G 21% /
/dev/sdb3 201G 166G 26G 87% /datas
michel@debT450:~$ 

```

```plaintext
michel@debT450:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>

# / was on /dev/sdb1 during installation
UUID=27ca73e1-a622-492b-a6aa-d50a8d71a290 / ext4 errors=remount-ro 0 1

# Données perso utilisateurs non privilégiés
UUID=86667bf3-1026-4a9f-af79-a8fc6c8c035c /datas ext4 errors=remount-ro 0 0

# swap was on /dev/sda7 during installation
UUID=03dd4099-0b55-4feb-a69a-2f19797b00f6 none swap sw 0 0
michel@debT450:~$
```
