LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 03-07-2004, 11:53 PM   #1
Ninja_212
Member
 
Registered: Sep 2003
Location: Indonesia
Distribution: Mandrake,RedHat,Slackware
Posts: 58

Rep: Reputation: 15
How to compile 2.6 kernel on RedHat


Hi guys...i've been trying to compiling kernel 2.6 on my RedHat box but all i get is lot's of Failed status when i'm booting it. I use my old kernel config from the 2.4.20-8 kernel and it work's fine with the other 2.4 kernel version.

But i can't get it work if i'm using it on kernel 2.6 did someone ever succeed on compiling kernel 2.6 on RedHat.


Thanks
 
Old 03-08-2004, 02:18 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,174

Rep: Reputation: 47
i have compiled 2.6.3 kernel many times for fedora 1 redhat 8.0 and 9.0.. it works.

extract kernel in /usr/src and if needed patch it. read REAME file in kernel source directory..

create symbolic link..
ln -s /usr/src/linux-2.6.x /usr/src/linux

cd /usr/src/linux
configure kernel source.. u need to know what type of hardware u have.. u may type "lspci" to see pci devices.
make xconfig
make bzImage
make modules
make modules_install
cp System.map /boot/System.map-2.6.x
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.x
mkinitrd /boot/initrd-2.6.x.img 2.6.x

edit "/boot/grub/grub.conf" and add necessary lines if u use grub...

for lilo edit /etc/lilo.conf
and add necessary lines.. and type "lilo" and hit enter

if u want more info, u must check this forum..
http://linuxquestions.org/questions/...threadid=91503
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel 2.6.9-5 compile error on RedHat ES 4 TotalDefiance Red Hat 1 10-18-2005 09:37 AM
HELP: RedHat Kernel 2.6.9 Compile Problem. Please help me. strato Linux - Software 1 11-20-2004 10:27 PM
how to compile the redhat kernel mmoohh Linux - Newbie 5 10-21-2003 07:26 PM
How can I compile a new kernel for Redhat 9? Sgaileach1 Linux - Software 6 07-28-2003 08:40 PM
RedHat 7.1 - Kernel Compile aford Linux - Newbie 18 03-13-2002 01:52 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration