Red Hat Kernel - unable to mount root fs

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Kernel > January 2004 > unable to mount root fs





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author unable to mount root fs
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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com