LinuxQuestions.org
Review your favorite Linux distribution.
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-03-2002, 03:16 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


Hi ! Linux Expert
I have encountered problems when trying to reconfigure and update my 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

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


Error message received 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


Error message appeared when doing "make install"
---------------------------------------
make[2]: Leaving directory `/usr/src/linux/arch/i386/boot/compressed'
objcopy -O binary -R .note -R .comment -S compressed/bvmlinux compressed/bvmlinu
x.out
tools/build -b bbootsect bsetup compressed/bvmlinux.out CURRENT > bzImage
Root device is (9, 2)
Boot sector 512 bytes.
Setup is 2520 bytes.
System is 885 kB
sh -x ./install.sh 2.4.18 bzImage /usr/src/linux/System.map ""
+ '[' -x /root/bin/installkernel ']'
+ '[' -x /sbin/installkernel ']'
+ exec /sbin/installkernel 2.4.18 bzImage /usr/src/linux/System.map ''
/etc/lilo.conf: No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
make: *** [install] Error 2
 
  


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 03:11 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