mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Build kernel : Error when reboot
@ 2004-09-11  6:57 ngo giang
  0 siblings, 0 replies; only message in thread
From: ngo giang @ 2004-09-11  6:57 UTC (permalink / raw)
  To: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1284 bytes --]

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 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-11  6:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-11  6:57 Build kernel : Error when reboot ngo giang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®