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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-30-2004, 08:45 AM
|
#1
|
Member
Registered: Aug 2004
Posts: 47
Rep:
|
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.

|
|
|
09-30-2004, 09:12 AM
|
#2
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
pl. post ur full grub.conf
and th O/P of
fdisk -l /dev/hda
fdisk -l /dev/hdc
regards
|
|
|
10-01-2004, 03:51 AM
|
#3
|
Member
Registered: Aug 2004
Posts: 47
Original Poster
Rep:
|
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.
|
|
|
10-01-2004, 04:00 AM
|
#4
|
Member
Registered: Sep 2004
Distribution: Debian{Woody,Sarge,Etch}, UbuntuLTS6.06, SuSE{6.2,8.0}
Posts: 42
Rep:
|
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).
|
|
|
10-01-2004, 01:51 PM
|
#5
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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
|
|
|
01-02-2006, 11:01 PM
|
#6
|
LQ Newbie
Registered: Jan 2006
Distribution: debian
Posts: 1
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 07:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|