boot custom kernel and /etc/fstab

Noah admin2 at enabled.com
Tue Nov 2 19:22:39 UTC 2004


On Tue, 2 Nov 2004 19:10:32 +0000, Stuart Sears wrote
> 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,

thanks for the quick reply.  I am going to assume that /dev/sda2 is my root
filesystem - right?

--- snip ---

$ df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2            151723100   3861340 140154580   3% /
/dev/sda1               101089     35938     59932  38% /boot
none                    512700         0    512700   0% /dev/shm


--- snip ---


cheers,

Noah



> Stuart
> -- 
> Stuart Sears RHCE, RHCX
> Quidquid latine dictum sit, altum viditur
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list