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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to