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

Re: Kernal compile error in Red Hat 6.2



On Thu, Jan 04, 2001 at 10:10:03PM +0530, mpradhan@healthnet.org.np wrote:
> I am getting one error while compiling kernal in Red Hat 6.2:  
> VFS: cannot open root device 08:01 > Kernel panic: VFS: 
> unable to mount root fs on 08:01 >
>  I have used make bzImage to make the 
> new image after make dep; > make clean.

I can't imagine how you get that error actually during a compile, since the
root FS is only mounted at bootup time.

If you get this error at bootup time with the new kernel, then it means
something is missing (perhaps you didn't do 'make modules; make
modules_install')

Device 08:01 is the first partition on your SCSI hard drive:

# ls -l /dev | grep 8, | less
brw-rw----   1 root     disk       8,   1 May  5  1998 sda1
                                   ^^^^^^

So at a guess I'd say you didn't compile SCSI drivers into your kernel, and
you didn't make modules, or you didn't create a new 'initial ramdisk'
containing those modules.

Instructions on how to use mkinitrd are on the Red Hat website in the
section which explains how to build and install a new kernel.

Regards,

Brian.