boot custom kernel and /etc/fstab

Stuart Sears stuart at sjsears.com
Tue Nov 2 19:10:32 UTC 2004


On Tuesday 02 Nov 2004 18:39, Noah wrote:
> using:  Redhat-enterprise WS version 3
>
>
> I just built a custom kernel using the 2.4.21-20.EL source rpm.  it simply
> does not boot and claims a VFS error and is unable to open root device
> "LABEL=/"
have you tried putting the actual device node instead of the LABEL=/ option?
e.g. 
kernel /whatever ro root=/dev/hda2 
(or whichever /dev/hdaX your / Filesystem is)
df will tell you this ( I assume you can still boot with an old kernel?)
e.g:
[stuart at laptop stuart]$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda7              6048320   4815104    925976  84% /
none                    517712         0    517712   0% /dev/shm
/dev/hda8             21204420   3317020  16810244  17% /home
/dev/sda1            241263968  62852732 166155652  28% /mnt/disk

so in my case root=/dev/hda7

Stuart
-- 
Stuart Sears RHCE, RHCX
Quidquid latine dictum sit, altum viditur 




More information about the redhat-list mailing list