LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-10-2004, 02:00 AM   #1
mrb
Member
 
Registered: May 2004
Location: Lithuania
Distribution: Slackware 9.1
Posts: 31

Rep: Reputation: 15
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?
Any ideas what to do?

Last edited by mrb; 05-10-2004 at 10:10 AM.
 
Old 05-10-2004, 02:43 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
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.
 
Old 05-10-2004, 04:05 AM   #3
Qucho
Member
 
Registered: Mar 2004
Location: Colorado, US
Distribution: Debian "Sarge"
Posts: 228

Rep: Reputation: 30
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)

Last edited by Qucho; 05-10-2004 at 04:06 AM.
 
Old 05-10-2004, 07:51 AM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
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.
 
Old 05-10-2004, 09:30 AM   #5
mrb
Member
 
Registered: May 2004
Location: Lithuania
Distribution: Slackware 9.1
Posts: 31

Original Poster
Rep: Reputation: 15
I'll try..

qwijibow: i'm using lilo
 
Old 05-10-2004, 10:47 AM   #6
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
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.
 
Old 05-10-2004, 10:56 AM   #7
mrb
Member
 
Registered: May 2004
Location: Lithuania
Distribution: Slackware 9.1
Posts: 31

Original Poster
Rep: Reputation: 15
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?
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic: VFS PhuckFonix Linux - General 4 09-23-2007 10:53 AM
Kernel Panic - Root/VFS something SCFan42 Slackware 8 02-14-2005 01:12 PM
kernel panic - not syncing : VFS???????????? alirezan1 Linux - Newbie 7 12-31-2004 04:04 AM
Kernel 2.6.1 VFS Panic rmanocha Linux - Software 1 02-01-2004 01:43 AM
kernel panic vfs sprex Linux - Software 0 04-05-2001 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration