--- Tom Sightler <[EMAIL PROTECTED]> wrote:
> On Wed, 2007-06-13 at 15:11 -0400, Kendrick
> Hernandez wrote:
> > On our RHEL4 tester we put in the symlink
> manually, but also had to
> > modify grub.conf so that "root=" parameter on the
> kernel line pointed to
> > the root device instead of "LABEL=/"; otherwise
> the symlink was removed
> > and /dev/root recreated after reboot. I've tried
> this also on the RHEL5
> > box, to no avail, unfortunately.
>
> Sure enough, I finally found a RHEL4 system which
> used "LABEL=/" in
> grub.conf and it does indeed have the restrictive
> /dev/root device node
> rather than the symbolic link to the actual device.
> It just so happens
> that practically all of our RHEL4 systems have
> either LVM paths or
> physical partitions on the root= line.
>
I was looking inside mkinitrd shell script and found
this:
echo "echo Creating root device" >> $RCFILE
echo "mkrootdev /dev/root" >> $RCFILE
rootdev=/dev/root
I guess this is where /dev/root is created, just
before those lines LVM is started (scanning VG and
LV), so, make sense that when the root is on a LV the
/dev/root is right pointed but when its not.... maybe
something is not ok with the "mkrootdev" script
according to nash man page:
mkrootdev path
Makes path a block inode for the device
which should be mounted as root. To determine this
device nash uses the device suggested by the root=
kernel command line argument (if root=LABEL is used
devices are probed to find one with that label). If
no root= argument is available,
/proc/sys/kernel/real-root-dev provides the device
number.
so it is true the efect of having root=LABEL=/ in
grub.conf :-)
looks that nash has a bug?
cu
roger
__________________________________________
RedHat Certified ( RHCE )
Cisco Certified ( CCNA & CCDA )
____________________________________________________________________________________Ready
for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list