| tonic889@nothanks.earthlink.net 2004-01-23, 7:27 pm |
| I tried to upgrade my RedHat 9 system from kernel 2.4.20 to v2.4.23,
using the sources from kernel.org (not the RedHat-distributed kernel
versions). I have successfully upgraded my kernel before, so I used
make oldconfig to create my .config file, and modified a few options.
But after 'make dep bzImage modules modules_install install' (and
reboot), I got an error message that says:
VFS: Cannot open root device "302" or 03:02
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:02
At that point, I decided to try to recompile the 2.4.20 using the
original .config I had used to successfully compile the first time.
Boy, was that a mistake. I didn't realize it was going to overwrite my
existing /lib/modules/2.4.20. And to top it off, I'm still getting the
above error message in 2.4.20, even though I'm using the exact same
..config and the exact kernel version that worked for me before! I don't
understand how this is possible. What am I missing?
I tried googling around on this error message and found other people
with this problem, and the common solution seemed to be that the / fs
type was not compiled into the kernel. However my root fs type is EXT2
(according to a previous kernel which runs OK), and I have
CONFIG_EXT2_FS=y in my .config file. So I don't think that is the
problem. Any other ideas would be greatly appreciated.
The relevant entries from my lilo.conf are as follows:
prompt
timeout=50
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
image=/boot/vmlinuz-2.4.20
label=2.4.20
initrd=/boot/initrd-2.4.20.img
read-only
root=/dev/hda2
image=/boot/vmlinuz-2.4.23
label=linux_2.4.23
initrd=/boot/initrd-2.4.23.img
read-only
root=/dev/hda2
Thanks,
Brian
|