LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel panic: VFS: ... (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-panic-vfs-179842/)

mrb 05-10-2004 02:00 AM

kernel panic: VFS: ... (solved)
 
After compiling my new kernel (2.6.5) I get this message

VFS: Cannot open root device "302" or unknown-block (3,2)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block (3,2)

lilo.conf is ok ;)
I was just changing device drivers, I didn't touch file systems. wtf happnened? :confused:
Any ideas what to do?

maxut 05-10-2004 02:43 AM

it seems like a unsupported filesystem error. have u checked the filesystem of root partion is supported in kernel (not module)? u must touch filesystems :) remove unnecessary filesystem supports.

Qucho 05-10-2004 04:05 AM

And also you might want those IDE support compiled IN the kernel.

[edit]
Check also if you are trying to use a RAM disk (which you dont need, unless you gonna boot that kernel from a CD/Floppy)

qwijibow 05-10-2004 07:51 AM

i get this alot with redhat / fedora distro's

get into /boot/grub folder and open manu.lst

you will probable find that you have a kernel parameter like so
' kernel /boot/vmlinuz-2.6.5 ro root=/LABEL=/'

works with some kernels, not with others... change it to
' kernel /boot/vmlinuz-2.6.5 ro root=/dev/hdb1'

change hdb1 to whereever your root partiton is.

mrb 05-10-2004 09:30 AM

I'll try..

qwijibow: i'm using lilo

qwijibow 05-10-2004 10:47 AM

just say that after i posted....
but lilo is just as capable of passing kernel options as grub is it not ?

im sure you can adjust the syntax accordingly.

mrb 05-10-2004 10:56 AM

Re: kernel panic: VFS: ... (solved)
 
Quote:

Originally posted by mrb
After compiling my new kernel (2.6.5) I get this message

VFS: Cannot open root device "302" or unknown-block (3,2)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block (3,2)

lilo.conf is ok ;)
I was just changing device drivers, I didn't touch file systems. wtf happnened? :confused:
Any ideas what to do?
Anyways, i've downloaded older kernel and globaly (i think i've chosen the right word ;)) everything is ok, just few lil probs;)


All times are GMT -5. The time now is 07:34 PM.