LABEL in grub.conf

Michael Schwendt fedora at wir-sind-cool.org
Mon Jan 3 17:47:23 UTC 2005


On Mon, 3 Jan 2005 12:34:22 -0500, Bill Matthews wrote:

> Hello,
> 
> I've been reading some of the other posts about restore procedures and
> re-install grub.
> 
> One question I had is in /boot/grub.conf:
> 
> title Red Hat Enterprise Linux ES (2.4.21-27.0.1.ELsmp)
>         root (hd0,0)
>         kernel /vmlinuz-2.4.21-27.0.1.ELsmp ro root=LABEL=/
>         initrd /initrd-2.4.21-27.0.1.ELsmp.img
> 
> What is the "Label=/"?  How is it created, updated, etc?  It works
> fine normally, but in some situations of changing drives, etc, it
> seems to get messed up.  And I have to change root=/dev/sda1 or
> whatever.

It is a partition label, created with the e2label tool (or
alternatively with tune2fs.




More information about the redhat-list mailing list