LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-30-2004, 08:45 AM   #1
abirami
Member
 
Registered: Aug 2004
Posts: 47

Rep: Reputation: 15
Kernel Panic :VFS :unable to mount rootfs 16:02


hi all,
After installing linux kernel 2.4.19, the following boot error occurred:


kmod: failed to exec /sbin/modprobe -s -k block-major-22, errno = 2
VFS: Cannot open root device "hdc2" or 16:02
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 16:02

The GRUB conf file has:

kernel=(hd0,0)/vmlinuz root=/dev/hdc2
initrd=(hd0,0)/initrd-2.4.19.img

can u give me a solution.

thanx,
bye,
abi.


 
Old 09-30-2004, 09:12 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

pl. post ur full grub.conf
and th O/P of

fdisk -l /dev/hda
fdisk -l /dev/hdc

regards
 
Old 10-01-2004, 03:51 AM   #3
abirami
Member
 
Registered: Aug 2004
Posts: 47

Original Poster
Rep: Reputation: 15
hi ,

thanx for the reply.

my grub.conf file :
default=1
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.19)
root (hd0,1)
kernel /boot/vmlinuz-2.4.19 ro root=/dev/hdc2
initrd /boot/initrd-2.4.19.img
title Red Hat Linux (2.4.20-8)
root (hd0,1)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1


the o/p of fdisk -l /dev/hdc :

Disk /dev/hdc: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 2314 18587173+ c Win95 FAT32 (LBA)
/dev/hdc2 2315 4799 19960762+ 83 Linux
/dev/hdc3 4800 4864 522112+ 82 Linux swap

bye,
abi.
 
Old 10-01-2004, 04:00 AM   #4
gloriant
Member
 
Registered: Sep 2004
Distribution: Debian{Woody,Sarge,Etch}, UbuntuLTS6.06, SuSE{6.2,8.0}
Posts: 42

Rep: Reputation: 16
Re: Kernel Panic :VFS :unable to mount rootfs 16:02

Quote:
Originally posted by abirami
After installing linux kernel 2.4.19, the following boot error occurred:
...
kmod: failed to exec /sbin/modprobe -s -k block-major-22, errno = 2
VFS: Cannot open root device "hdc2" or 16:02
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 16:02
Hi.
Is it possible that support for the specific filesystem of your /dev/hdc2 (ext2 ? ext3 ? reiser ? xfs ?) has not been included with your kernel ?
The support for the root-filesystem should NOT be compiled as module, but should be fixed into the kernel, since without the root-filesystem (hosting /lib/modules), no modules to (evt. auto-)load when accessing a specific filesystem, can be found (sth. like a chicken-egg problem).
 
Old 10-01-2004, 01:51 PM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

are u not able to boot any of ur OS
and have u changed ur grub.conf manually???

because i find reference to

hda--primary master

and

hdc--secondary master in ur grub

regards
 
Old 01-02-2006, 11:01 PM   #6
ketev
LQ Newbie
 
Registered: Jan 2006
Distribution: debian
Posts: 1

Rep: Reputation: 0
I am receiving the same error:

VFS: Cannot open root device “hdc2” or 16:02
Please append a correct “root=” boot option
Kernel panic: VFS: Unable to mount root fs on 16:02

I am a newbie and am tried to build my own kernel on my debian machine. My goal is to get WiFi on my Dell Inspiron 5150 laptop. I did a base install of debian using the netinstaller, and have added only the packages outlined for making my own kernel. I used the 2.4.27 kernel. I have followed the instructions for rebuilding my kernel, and for setting up WiFi. When I was choosing options after "make menuconfig" I selected Reiser filesystem support to be built into the kernel.

Please help. I am sure that I am doing something incorrectly, but I am not sure what or how to fix it.
By the way the old image "2.4.27-2-386" still works.
 
  


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: Unable to mount root fs on 03:06 nmares Linux - Software 6 09-16-2004 07:51 AM
Kernel Panic : VFS: Unable to mount Root fs on 08:02 aratos Linux - Distributions 0 09-07-2004 02:38 AM
kernel panic: VFS Unable to mount root fs lusko Slackware 4 11-28-2002 03:04 PM
kernel panic: VFS: unable to mount root fs on 09:02 x2000koh Linux - General 8 07-07-2002 07:40 AM
kernel panic: VFS: unable to mount root fs on 09:02 x2000koh Linux - General 0 07-03-2002 03:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:58 AM.

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