On Sunday 17 August 2008 20:35, abel wrote: > On Tue, 12 Aug 2008 02:32:04 +0300 > > Andrei Popescu <[EMAIL PROTECTED]> wrote: > > I prefer to use labels, because they are readable (compared to > > UUID) ;) > > > > $ grep '^# kopt' /boot/grub/menu.lst > > # kopt=root=LABEL=sid ro vga=0x368 > > > > You have to run 'update-grub' after changing this > > > > $ grep sid /etc/fstab > > LABEL=sid / ext3 > > errors=remount-ro,noatime,commit=600 0 1 > > > > For ext2/3 you set the labels with e2label. > > question 1 --> > > current menu.list lines are: > title Debian GNU/Linux, kernel 2.6.24-1-amd64 > root (hd0,0) > kernel /boot/vmlinuz-2.6.24-1-amd64 root=/dev/hda1 ro vga=792 > initrd /boot/initrd.img-2.6.24-1-amd64 > > given : > hoss64:~/misc/dev-vs-label# e2label /dev/hda1 > lenny > hoss64:~/misc/dev-vs-label# > > new menu.list lines should be: > title Debian GNU/Linux, kernel 2.6.24-1-amd64 > root (hd0,0) > kernel /boot/vmlinuz-2.6.24-1-amd64 root=LABEL=lenny ro vga=792 > initrd /boot/initrd.img-2.6.24-1-amd64 > > Are the new menu.lst lines correct?
I'm sure there's documentation available about this. > > > question 2 --> > update-grub should be run after the update to /etc/fstab. > correct? > > Thanks. -- Shachar Or | שחר אור http://ox.freeallweb.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]