[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: se débarasser de UUID



Nicolas KOWALSKI wrote:

mess-mate <mess-mate@orange.fr> writes:
menu.lst:

title        Debian GNU/Linux, kernel 2.6.30-amd64-mm
root        (hd1,0)
kernel        /vmlinuz-2.6.30-amd64-mm root=/dev/sdd5 ro quiet vga=0x317
initrd        /initrd.img-2.6.30-amd64-mm

Ici il y a bien la déclaration de sdd5 en dur pour la racine. Si la
détection des disques change d'un coup à l'autre, ce sdd5 n'existe par
forcément.

Il faudrait donc remplacer le paramètre "root=/dev/sdd5" dans la ligne
kernelpar "root=UUID=7958c0b1-c8bd-410c-aaa8-4af89c9f1147" ; cet UUID
est indiqué dans /etc/fstab pour la partition racine.

Merci, j'ai remplacé la /dev/sdd5 par la UUID.
J'ai aussi enlevé la swap et recrée une swap /dev/sdd15 au lieu de sdd3 et corrigé la /etc/fstab avec son UUID de swap, et enlevé la partition sdd3. Maintenant lors du boot il me demande la **PATH de sdd3 alors qu'il n'existe plus**.
J'ai donc plus de sdd3 ni sdd4 (primaires).
Voici mes partitions:
lrwxrwxrwx 1 root root 11 2009-08-02 12:18 1e1626cb-f9cb-4ead-8e71-bb9205b18f09 -> ../../sdd12 lrwxrwxrwx 1 root root 10 2009-08-02 12:18 368cffd3-ff49-499e-a8ff-55c4ad295d0b -> ../../sdd7 lrwxrwxrwx 1 root root 11 2009-08-02 12:18 743bdc90-7e16-44c7-a852-ee913214a560 -> ../../sdd10 lrwxrwxrwx 1 root root 10 2009-08-02 12:18 7958c0b1-c8bd-410c-aaa8-4af89c9f1147 -> ../../sdd5 lrwxrwxrwx 1 root root 10 2009-08-02 12:18 864c6f00-5c84-4570-9bc0-534d7c0f5021 -> ../../sdd6 lrwxrwxrwx 1 root root 10 2009-08-02 12:18 87a25530-eaa7-4f4d-ae4f-f7cae7101220 -> ../../sdd8 lrwxrwxrwx 1 root root 11 2009-08-02 12:18 ad98f990-3eea-465e-b993-f58dc21b3aa6 -> ../../sdd14 lrwxrwxrwx 1 root root 10 2009-08-02 12:18 d2bcedbd-1951-43a2-990c-c6cf9484c7d5 -> ../../sdd1 lrwxrwxrwx 1 root root 11 2009-08-02 12:18 deb9ab12-6ca4-40fd-8179-46c6c3d2ef7e -> ../../sdd13 lrwxrwxrwx 1 root root 11 2009-08-02 12:18 f4a91e00-547a-45b2-9519-83d82b5bc35e -> ../../sdd11 lrwxrwxrwx 1 root root 10 2009-08-02 12:18 f4b12057-f6f7-48cf-a707-5603acbfec0f -> ../../sdd9 lrwxrwxrwx 1 root root 11 2009-08-02 12:18 fb8fa997-5d4d-407e-8fde-9d8b7e9c792d -> ../../sdd15

la sdd15 est la swap.

et voici son entrée dans fstab:
UUID=fb8fa997-5d4d-407e-8fde-9d8b7e9c792d none swap sw 0 0

amicalement





Reply to: