Dizzybacon
05-02-2005, 10:12 AM
I'm trying to upgrade my kernel on Debian to 2.6.8. I've down.loaded the source, compiled, set up Lilo and rebooted. When selecting the new kernel in Lilo it starts to boot and then this:
Kernel panic: VFS: Unable to mountroot fs on unknown-block (3,6)
I've done a lot of searching and first thing I found was a problem with cramfs in the initrd. I set mkinitrd to use genromfs and compiled the kernel with ROM support built in but this gives me the same error.
I found a lot of posts about lilo.config and the root partition address, but both my kernels use the same root partition and the old kernel still boots fine.
I also found advice about making sure the hard drive modules are compiled into the kernel and I've done this too. I'm pretty sure that the new kernel is seeing the hard drive and that it is reading the initrd OK because the two lines preceeding the kernel panic are:
RAMDISK: romfs filesystem found at block 0
RAMDISK: Loading 1767 blocks [1 disk] into ram disk ... done
Searching for this error only seems to bring up the three fixes I've tried but to no avail.
Can anybody offer any words of wisdom?
Thanks,
Dizzy
Kernel panic: VFS: Unable to mountroot fs on unknown-block (3,6)
I've done a lot of searching and first thing I found was a problem with cramfs in the initrd. I set mkinitrd to use genromfs and compiled the kernel with ROM support built in but this gives me the same error.
I found a lot of posts about lilo.config and the root partition address, but both my kernels use the same root partition and the old kernel still boots fine.
I also found advice about making sure the hard drive modules are compiled into the kernel and I've done this too. I'm pretty sure that the new kernel is seeing the hard drive and that it is reading the initrd OK because the two lines preceeding the kernel panic are:
RAMDISK: romfs filesystem found at block 0
RAMDISK: Loading 1767 blocks [1 disk] into ram disk ... done
Searching for this error only seems to bring up the three fixes I've tried but to no avail.
Can anybody offer any words of wisdom?
Thanks,
Dizzy