-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2009-12-12 at 16:10 -0500, Felix Miata wrote:
On 2009/12/12 21:36 (GMT+0100) Carlos E. R. composed:
On Saturday, 2009-12-12 at 18:40 +0100, Lars Müller wrote:
The approach of using /dev/disk/by-id makes things more reliable. The device name stays idependent of the order the controllers get initialized.
I mount by label where ever I can, and the YaST partitioner sets this up nicely most of the times.
I like by label best too, but this thread was started because by-label in 11.2 was not working for Bob S, the OP: http://lists.opensuse.org/opensuse/2009-12/msg00455.html
I thought that labels, ids, etc, did not work on grub. There is a map file that "defines" the correspondence beetween both, but I don't know which side is the "boss" side. I think it is the bios who defines them. The "root" command uses grub own's names. Then, the kernel line can use disk labels, but that is once the kernel has loaded already, and this part ignores the /boot/grub/device.map file. Example: title openSUSE 11.0 root (hd0,5) <==== gub names. kernel /vmlinuz root=/dev/disk/by-id/ata-ST3160021A_5JS4VV1F-part6 ^^ ^^-- kernel names. \__ relative to (hd0,5) resume=/dev/disk/by-label/320_swap ^^-- kernel names. .... initrd /initrd ^^^ relative to (hd0,5) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkskCr4ACgkQtTMYHG2NR9WNCgCfVSM80hPabXGowmU9FmkglXTW H7cAn1VSj2r9kmH2qWQ8Ob6jI+TeeVTy =ZI7w -----END PGP SIGNATURE-----