LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2004, 09:20 AM   #1
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Rep: Reputation: 30
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,
 
Old 02-01-2004, 03:55 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
You copied the files to /boot but specified in grubconf that they're in /. You probably need to fix it.
 
Old 02-02-2004, 05:01 AM   #3
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Original Poster
Rep: Reputation: 30
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?
 
Old 02-02-2004, 06:04 AM   #4
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
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)*
 
Old 02-02-2004, 11:28 AM   #5
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Original Poster
Rep: Reputation: 30
I did configure the CPU family to be VIA C3 type. no mistake in this part. what else could go wrong?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed dependencies installing MPlayer qwerty Linux - Software 7 10-24-2005 04:10 PM
Failed Installing Mandriva LE dolphans1 Mandriva 11 06-03-2005 07:41 AM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 07:57 AM
Loosing CD Drive while installing Mandrake 9.2 (ldconfig failed or idconfig failed) sjzabel Linux - General 3 02-26-2004 04:35 PM
installing Qt failed on Slackware 8.1 pixus Linux - Newbie 4 07-18-2002 03:45 PM


All times are GMT -5. The time now is 01:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration