LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing new kernel failed (https://www.linuxquestions.org/questions/linux-newbie-8/installing-new-kernel-failed-140686/)

taoweijia 01-31-2004 09:20 AM

installing new kernel failed
 
hi after 3 days of bloody work, my new kernel still didn't work!!!
I need to upgrade the kernel to be 2.6.1 and I did the following to my RH 9 with 2.4.20-8 kernel.
make, make bzImage, make modules, make modules_install all went fine.
I mkinitrd initrd-2.6.1.img 2.6.1
I copied the initrd-2.6.1.img to /boot/
then I copied the arch/i386/boot/bzImage to /boot/bzImage-2.6.1
and I copied System.map to /boot/System.map-2.6.1
then removed System.map and created a new one ln -s System.map-2.6.1 System.map

at last I edited the grub.conf to be
title rehhat 2.6.1
root (hd0, 1)
kernel /bzImage-2.6.1 ro root=LABEL=/
initrd /initrd-2.6.1.img
title rehhat 2.4.20-8
root (hd0, 1)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title DOS

......

on reboot i selected the 2.6.1 kernel and it failed, didn't show me any error message, it went straight into another reboot, the old kernel boots up fine.
I changed the root(hd0 ,1) to be (hd0, 2) and it says file not found, Kernel /bzImage-2.6.1
can anyone help me solve this problem? there must be someone has done it, and I have been scratching my head for 3 days.
btw, what about the modules_info-2.4.20-8 file in the /boot? should there be a new modules_info-2.6.1 there?

thanks,

Mara 02-01-2004 03:55 PM

You copied the files to /boot but specified in grubconf that they're in /. You probably need to fix it.

taoweijia 02-02-2004 05:01 AM

i booted fine on a intel based motherboard, it failed on this VIA EPIA mini-itx 800 mhz board. anyone had the same problem here?

SciYro 02-02-2004 06:04 AM

thats probly cuse you didetn configure teh kernel right, you ahve to tell it what prosessor you use, and what bord to use (closest one), otherwise it wont work, *like writing a blue print without any pictures in chinese, and asking a americian to build whatever the prints said to build (and the americain cant read anyhtign but english/american english)*

taoweijia 02-02-2004 11:28 AM

I did configure the CPU family to be VIA C3 type. no mistake in this part. what else could go wrong?


All times are GMT -5. The time now is 06:37 PM.