Pages : 1
#1 Le 28/01/2018, à 17:58
- rentabilicus
[Résolu] Problème avec systemd au démarrage
Bonjour,
Après avoir effacé des partitions de mon DD sdb j'ai un souci au démarrage d'ubuntu 16.04 LTS.
Avec doctor grub il m'a fait purger grub et réinstallé sur ma partition boot sdb10.
Rien n'y fait y compris avec Ubuntu mode sans echec avec ses outils de réparation de grub.
J'ai le message d'erreur
Failed to start remount root and kernel file systems
qui s'affiche à chaque fois au démarrage d'Ubuntu et il reste sans rien faire.
En allant voir sur les forums c'est un souci de systemd avec le fichier de configuration etc/fstab.
Le résultat pour blkid en ligne de commande
sudo blkid
/dev/sda1: UUID="fb205445-8a91-4fa4-8fce-1acebb923cd8" TYPE="ext4" PARTUUID="0003b8cd-01"
/dev/sda5: UUID="15df413a-0792-468a-8791-2c8d1d16ce2e" TYPE="ext4" PARTUUID="0003b8cd-05"
/dev/sda6: UUID="013e7626-4660-460e-937c-c202d0ce3beb" TYPE="ext4" PARTUUID="0003b8cd-06"
/dev/sda7: UUID="02bddf52-5d09-469c-94a5-709eff1c4909" TYPE="ext4" PARTUUID="0003b8cd-07"
/dev/sda8: LABEL="Opensuse secours" UUID="0fcb997d-d8d8-4ba2-b1ae-356f52816281" TYPE="ext4" PTTYPE="dos" PARTUUID="0003b8cd-08"
/dev/sda9: UUID="4c571075-7095-4849-9462-7670059aace9" TYPE="ext4" PARTUUID="0003b8cd-09"
/dev/sdb1: UUID="6c502cd5-70c5-4c05-a30a-070b29f0f6a8" TYPE="swap" PARTUUID="0d657046-1248-7b41-8ee5-49f18e34195a"
/dev/sdb2: UUID="e4661a97-1bd2-42a9-877c-b9ffdf1e288f" TYPE="ext4" PARTUUID="f06829e6-ed6d-4d8c-9ccc-90206f1455bd"
/dev/sdb3: LABEL="/home" UUID="0fcb997d-d8d8-4ba2-b1ae-356f52816281" TYPE="ext4" PTTYPE="dos" PARTUUID="7d99cb0f-d8d8-a24b-b1ae-356f52816281"
/dev/sdb4: LABEL="/home" UUID="0fcb997d-d8d8-4ba2-b1ae-356f52816281" TYPE="ext4" PTTYPE="dos" PARTUUID="e8353a96-bd9e-4051-9b65-7792b2ab0844"
/dev/sdb5: PARTUUID="bbf26af8-1f30-4500-8079-08955167d0b9"
/dev/sdb10: LABEL="Ubuntu 2" UUID="5888ab69-66d1-47ed-a256-41fef18a7bbd" TYPE="ext4" PARTUUID="874d5a5d-1550-468d-9342-dacd0abf9356"
En éditant ce fichier etc/fstab je suis perdu car il m'indique un DD sdc qui n'existe pas :
# /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/sdc7 during installation
UUID=644128cf-0f00-42b7-b0dc-0fd60dc2450e / ext4 errors=remount-ro 0 1
# swap was on /dev/sdc1 during installation
UUID=27d47576-3500-4ccc-a19a-14ae89dd7fa7 none swap sw 0 0
Je tiens à préciser que ma partition de swap est sdb1 et de bios-grub est sdb5 est qu'il n'apparait pas d'UUID à cette dernière !!!
Dois-je en créer une ?
J'ai réécris mon fichier fsatb (pour avoir les droits en écriture => sudo editeur /etc/fstab/) comme suit en m'aidant de la page des caractéristiques de fstab sur le site web d'ubuntu :
# /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/sdb10 during installation
UUID=5888ab69-66d1-47ed-a256-41fef18a7bbd / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb5 during installation
UUID=15df413a-0792-468a-8791-2c8d1d16ce2e none bios-grub sw 0 2
Tout en sachant que le DD démarre avec le bios grub et non la swap.
Est-ce bon ?
Vous comprendrez mon souci pour redémarrer ma machine.
Quelle serait la solution ?
Merci pour votre aide.
Dernière modification par rentabilicus (Le 28/01/2018, à 19:18)
Hors ligne
#2 Le 28/01/2018, à 19:19
- rentabilicus
Re : [Résolu] Problème avec systemd au démarrage
Et ca marche !!!
Hors ligne