LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 07-04-2002, 08:37 AM   #1
x2000koh
Member
 
Registered: Jul 2002
Location: singapore
Distribution: red had 7.2
Posts: 109

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

Plug and Play configuration -
select all

Block device -
Normal PC floppy disk support

Networking option -
Packet socket
Unix domain sockets
TCP/IP networking
IP : Multicasting

ATA/IDE/MFM/RLL Support -
ATA/IDE/MFM/RLL Support
and many more

5)make dep
6)make
7)make bzImage
8)make modules
9)make install
10)make modules_install
11)Configure Grub


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
 
Old 07-04-2002, 09:09 AM   #2
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
why did you upgrade to 2.4.7-18 and not to 2.4.18????
 
Old 07-04-2002, 08:34 PM   #3
x2000koh
Member
 
Registered: Jul 2002
Location: singapore
Distribution: red had 7.2
Posts: 109

Original Poster
Rep: Reputation: 15
zLinuxz
I need to upgrade my kernel from 2.4.18 to 2.4.7-10. When I do rpm -q kernal. It show that my runing kernel is 2.4.7-10.

I need to have a dual boots using the grub boot loader. One is for the previsous kernel and the other is for the new kernel.

Why I need to upgrade my kernel. I need to install freeswan for work establish the vpn on my test linux server.

Your help is highly appreciated
 
Old 07-04-2002, 08:51 PM   #4
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
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!

zLinuxz
 
Old 07-05-2002, 12:22 AM   #5
x2000koh
Member
 
Registered: Jul 2002
Location: singapore
Distribution: red had 7.2
Posts: 109

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

I have downloaded the kernel 2.4.18 It still doesn't work. Did I miss up any step ? My procedure is according to www.tldp.org/howto/kernel-howto-2.html

Appreciate if you can help
 
Old 07-06-2002, 09:39 PM   #6
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
eehmm, well the problem with those steps might be that:

"The page cannot be found, The page you are looking for might have been removed, had its name changed, or is temporarily unavailable."

so that's not much help is it?,
 
Old 07-06-2002, 10:48 PM   #7
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
zLinuxz, this is probably the page x2000koh is referring to.

http://www.tldp.org/HOWTO/Kernel-HOWTO-2.html

Last edited by linuxcool; 07-06-2002 at 10:49 PM.
 
Old 07-07-2002, 02:17 AM   #8
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
This is only my doubt:

You seem to have raid partitions ( /dev/md* )

Did you add support for raid?

Well any way, I am not good at raid.
 
Old 07-07-2002, 07:40 AM   #9
x2000koh
Member
 
Registered: Jul 2002
Location: singapore
Distribution: red had 7.2
Posts: 109

Original Poster
Rep: Reputation: 15
Thank linux expert (zLinuxz and linuxcool)

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.

Your help is highly appreciated.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel panic: VFS: Unable to mount root fs in 08:02 sebas_turu Debian 10 01-21-2008 01:04 AM
Kernel Panic: VFS: Unable to mount root fs on 09:02 verbali Linux - Hardware 8 02-24-2004 06:11 PM
Kernel panic: VFS: Unable to mount root cmlo Linux - Software 4 05-20-2003 02:25 AM
Kernel panic: VFS: Unable to mount root cmlo Linux - Newbie 3 05-17-2003 07:55 PM
Kernel Panic: VFS: Unable to mount root fs on 09:02 verbali Linux - General 6 05-26-2002 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:56 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