Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-06-2003, 01:05 PM   #1
Registered: May 2003
Distribution: Gentoo, Slackware
Posts: 75

Rep: Reputation: 15
Newbie needs help with kernel

OK. So I want to re-compile my kernel. I'm running Redhat 9 with GNOME and I have GRUB as my bootloader. I have tried it but when I re-booted I got a nasty message about my kernel panicking and not passing init or something. I realize this is something I did/didn't do in the GRUB configuration file but I don't know exactly what. Is there any documentation regarding Redhat 9 and GRUB and trying to recompile the kernel? I have read alot of stuff about recompiling my kernel but most of it just mentions LILO or doesn't really explain what I'm supposed to do with the GRUB configuration. I also am lost as to where or what file I'm supposed to copy to the /boot directory. I know I have to copy bzImage but I don't know what to copy it to. Is it vmlinuz or vmlinuz-blah-blah or what? Please help!

Old 06-06-2003, 01:33 PM   #2
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30

That's your kernel. Copy /usr/src/linux/arch/i386/boot/bzImage to /boot.
Call it, for example, bzImage-2.4.20-v1.
Then change the file /boot/grub/grub.conf to include a reference to that kernel. (Based on what is already'll see what you need to do.) Those vmlinuz'es are kernels too. Just add a new section for your new kernel.
Also: man mkinitrd
That's tricky.
You're also going to get a lot of wierd errors if you're using a stock kernel because RedHat's kernel is what your system is expecting.


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
compile kernel help for newbie gazza Linux - Software 0 07-07-2004 06:37 PM
Newbie Needs PCMCIA help (old kernel) LiNuK Linux - Newbie 2 04-28-2004 07:23 PM
Newbie need help with kernel Neomaster Linux - General 11 05-22-2003 02:12 PM
Newbie kernel compiling toolkit Linux - General 1 11-19-2002 02:36 AM
ipchains newbie. Kernel newbie skeletal29 Linux - Security 3 06-02-2002 03:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration