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
|