Re: What is the best way to deal with changing device names in Debian?
On Tue, 2008-08-12 at 02:32 +0300, Andrei Popescu 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.
>
> Regards,
> Andrei
Thanks for the tip, this sounds like a good idea especially since I
don't expect the label to change that much ^^ Can I rerun e2label on a
mounted partition? The man page isn't that informative.
I suspect that running update-grub isn't mandatory, I can always update
menu.lst by hand right?
Regards,
Aniruddha
Reply to: