Skip to contentSkip to conversation

Build kernel : Error when reboot

DISCUSSION ngo giang 1 participant 1 message Sep 11, 2004

lore
Share & tools
lore

ngo giang

author
#0 lore raw

Hello ,

I’m using Linux RedHat 8 , kernel-2.4.18 I’m trying to build kernel-2.4.26
I did following :
……….
make rmproper
make xconfig
make dep
make clean
make bzImage
make modules
make modules_install
rm –rf /boot/System.map
rm –rf /boot/vmlinuz
cp arch/i386/boot/bzImage /boot/bzImage-xxx cp System.map /boot/System.map-xxx
ln -s /boot/vmlinuz-x.x.x /boot/vmlinuz ln -s /boot/System.map-x.x.x /boot/System.map

I configured grub.conf as follow :

//old configuration
title Linux Red Hat (2.4.18-14) root(hd0,0)
kernel /vmLinuz-2.4.18-14 ro root=LABEL=/ initrd /initrd-2.4.18-14.img

//my configuration
title New Kernel (2.4.26)
root(hd0,0)
kernel /vmLinuz-2.4.26 ro root=LABEL=/

when reboot
I received the error as follow :

“VFS : cannot open root device “ label = / “ or 00:00 Please append a correct “ root = “ boot option

Kernel panic : VFS : Unable to mount root fs on 00:00

“

I did : root=/dev/sda1 ( or root=/dev/sda2 )
but I received error :
kmod : failed to exec /sbin/modprobe –s –k block-major-8 errno = 2
VFS : ....( similar to the first case )

Can anyone help me .

Thanks for yours help !

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com