[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: LABEL in grub.conf



On Mon, Jan 03, 2005 at 12:34:22PM -0500, Bill Matthews wrote:
> 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.

This label is normally written to the partition so that you know exactly
which partition you're mounting.  It's possible that with SCSI drives
your drives will get renumbered if a drive fails in the middle of the
list.  You use the e2label command to see and changel the label.

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts ewilts org
Member #1, Red Hat Community Ambassador Program



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]