kernel panic: VFS: unable to mount root fs on 09:02
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
kernel panic: VFS: unable to mount root fs on 09:02
Dear Friends
I have install and update my new kernal from 2.4.7-10 to 2.4.7-18. Highly appreciate if anyone can help.
Thanks
Francis
The following are existing information on my test server.
---------------------------------------------------------
Red hat 7.2 version
GNU C compiler - gcc-2.96-98
Existing kernal version is Kernal-2.4.7-10
Server is to be configure as software raid 1 with two hard disks configure as primary
using grub as linux boot loader
Procedure of building my kernel
-------------------------------
1)log in as root
2)Upack the source (untar) in usr/src/linux
3)make clean
4)make menuconfig - The following are the setting select as part of kernel not modules
Processor type and features -
(setting cpu-Atholon/duron/k7, select SMP support,
Filesystems - kernal automounter version 4 support, Dos Fat fs support, MSDOS fs support,
UMDOS : Unix -like file system on top of standard MSDOS fs,
vFat (windows 95) fs support, Second extended fs support,
System V/Xenix/V7 Coherent :
Sound card support -
Creative Ensoniq AudioPCI 97 (ES 1371)
USB Support - UHCI ( Intel PIx4,.....)
Loadable module support -
Set version info. on all module symbol
kernel module loader
Error message received during boot time (after kernel configuration)
------------------------------------------
Request_module[block-major-9]:Root fs not mounted
VFS: cannot open root device "md2" or 09:02
Please append a correct "root=" boot option
kernel panic: VFS: unable to mount root fs on 09:02
df
-----
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/md2 9050536 1326716 7264076 16% /
/dev/md1 49638 12379 34696 27% /boot
none 59292 0 59292 0% /dev/shm
Grub.conf
---------
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-10)
root (hd0,0)
kernel /vmlinuz-2.4.7-10 ro root=/dev/md2
initrd /initrd-2.4.7-10.img
title Red Hat Linux (2.4.7-18 myker.01july2002)
root (hd0,0)
kernel /bzImage.myker.01july2002 ro root=/dev/md2
eehhhmm, I think you really meant to say that you wanted to upgrade your kernel from 2.4.7-10 to 2.4.18
What I suggest is go to www.kernel.org
download the latest kernel (obviously 2.4.18), then configure, make it, and install it. Then move the kernel image to the /boot folder...then add it to lilo.conf and then re-run lilo, and then just boot from the new kernel when you selected it in the lilo boot screen. Then if your boot goes well, and everything works, you can erase the old kernel from the lilo boot,
voila!
I have done that but it seem not to work. Some book show me the step that I need to rename the old system.map and recreate the new link for the system.map. But what actually it is going to do with the rebuilding my kernel and to make it boot up.
In my test server, I have software raid, That mean I install two hard disk and make both as primary and floppy as slave.
I use disk durid to do the partitioning, swap and software raid.
I try to use another machine to rebuild my kernel but this time no raid just one hard disk but it doesn't seem to work.
Why it is doesn't work is there any modules that I miss out or the setting of my system file that not allow my configuration to read or mount the correct dirve.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.