LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-09-2004, 04:20 PM   #1
scm86
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora Core 5 2.6.16-1.2133_FC5smp
Posts: 96

Rep: Reputation: 15
Red Hat 9 2.6.9 Kernel


Ok, I tried to update from the 2.4 version to the newest kernel on kernel.org, which happens to be 2.6.9...

I used one of the guides from LQ, and it seemed to work great, then on reboot grub now says something about not executable format for the old one, and the new one is unuseable because i must have forgot to make the initial ramdisk...

anyway, is there any easy way to fix this, or is a reinstall required? if it needs a reinstall, im just gonna goto fedora 2 or 3

by fix this, i mean get back to linux, either kernel, right now i have no preference, and i do have damnsmall linux if that will come in handy...

Scott McNeely

Last edited by scm86; 12-09-2004 at 04:26 PM.
 
Old 12-11-2004, 10:12 PM   #2
scm86
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora Core 5 2.6.16-1.2133_FC5smp
Posts: 96

Original Poster
Rep: Reputation: 15
well, not that it helps with getting RH9 to 2.6.9, but upgrading the broken RH9 to FC2 fixes everything.

Scott McNeely

Last edited by scm86; 12-11-2004 at 10:19 PM.
 
Old 12-11-2004, 10:22 PM   #3
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
HOWZIT

Try boot with your cdrom into linux rescue mode this will mount a vitual disk and in ther u will be able to fix ramdisk that was not done as well as the grub update that might be needed.

tony
 
Old 12-11-2004, 10:30 PM   #4
scm86
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora Core 5 2.6.16-1.2133_FC5smp
Posts: 96

Original Poster
Rep: Reputation: 15
For future reference, once one got the rescue system running and partions mounted, how would one go about fixing the initrd?

Scott McNeely
 
Old 12-11-2004, 10:42 PM   #5
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
Howzit

Execute a line like mkinitrd /boot/initrd-2.4.5.img 2.4.5 (this assumes lk 2.4.5 is being build). This should result in the file initrd-2.4.5.img being created.Do not forget to update your grub/lilo to piont ot new kernel

tony
 
  


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
Red Hat custom Kernel compilation mini-How-To for Red Hat 8-9 Thetargos Red Hat 431 04-13-2007 06:19 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
CAVEAT: /boot/kernel.h & how not to clobber your kernel sources (Conectiva, Red Hat) JCCyC LinuxQuestions.org Member Success Stories 0 08-07-2003 08:49 AM
Red Hat Kernel 2 nada Linux - Hardware 1 05-27-2003 04:05 PM
Red Hat Kernel 2.4.18-26.8.0 ghight Linux - Software 0 03-13-2003 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:40 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