LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-22-2004, 09:41 PM   #1
Draco04
LQ Newbie
 
Registered: Jun 2004
Location: Pennsylvania
Distribution: Red Hat 8.0 (Psyche) Kernel 2.4.18
Posts: 3

Rep: Reputation: 0
Just a quick question about kernels


I'm using red hat 8.0 with kernel 2.4.18-14, would I have to upgrade to a Fedora core to upgrade my system or what? Because I tried to compile kernel 2.6.7 and ended up screwing it all up, it was something with the initrd image. Thanks
 
Old 06-22-2004, 09:42 PM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
You should be able to run kernel 2.6 with redhat 8.
You probably just made a mistake when compiling and setting up the new kernel...

I hope this helps
--Ian
 
Old 06-22-2004, 09:48 PM   #3
Draco04
LQ Newbie
 
Registered: Jun 2004
Location: Pennsylvania
Distribution: Red Hat 8.0 (Psyche) Kernel 2.4.18
Posts: 3

Original Poster
Rep: Reputation: 0
I'm pretty sure I followed the instructions correctly, the last step where I did a make install I got an error reguarding templates, which I did research on and I read that it wasnt a real problem and it should still boot into the new kernel, but it didnt boot, I got a kernel panic about init? and then it froze there. lilo.conf and grub.conf seemed okay, I changed the paths and still have a problem
 
Old 06-23-2004, 02:25 AM   #4
srichand
Member
 
Registered: May 2004
Location: Bangalore, India
Distribution: Fedora Core 2 (modified), Debian
Posts: 34

Rep: Reputation: 15
you shouldn't have done a make install
copy your arch/i386/bzImage to /boot and then manually add an entry to grub.conf /lilo.conf

from your /usr/src/linux directory, do a

cp arch/i386/bzImage /boot/bzImage-2.6.7
/sbin/mkinitrd initrd-2.6.7 2.6.7
cp initrd-2.6.7 /boot/initrd-2.6.7

edit grub.conf and add the following lines

title Redhat 8.0 kernel 2.6.7
root(hd0,x)
kernel /boot/bzImage-2.6.7
initrd /boot/initrd-2.6.7


hope this helps
 
  


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
A question on removing spare kernels satimis Fedora 2 01-09-2005 10:39 PM
Multiple kernels question oneandoneis2 Slackware 5 06-25-2004 08:55 PM
A question about the difference between Linux and Windows Kernels ludwig W General 29 04-16-2004 04:44 AM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 08:19 AM
question about new kernels sbcdivision63 Linux - General 1 02-23-2004 11:47 AM


All times are GMT -5. The time now is 09:01 AM.

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