Main Topics
Browse All TopicsHey guys - could anyone give me all the detailed steps on how to compile the 2.6 kernel on my redhat 9.0 box .. would be a great help !!
many many thanks in advance guys!!!!!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Luxana provide a good URL for your reference.
I checked the RedHat Linux 9 (latest patched from fedoralegacy) need to
installe:
-----
oprofile 0.5.3
xfsprogs 2.1.0
And upgrade:
-----
jfsutils 1.1.3
quota-tools 3.09
nfs-utils 1.0.5
procps 3.1.13
glibc
-----
For kernel 2.6.x build
Just for reference to compare with directly upgarde to Fedoar Core 3.
Wesly
COMPILING THE KERNEL USING GRUB!!
Go to http://www.kernel.org and download the 2.6.9 kernel
Change user to root
su
Copy the downloaded kernel to your /usr/src directory:
cp linux-2.6.9.tar.gz /usr/src/
Uncompress the kernel.
tar -zxvf linux-2.6.9.tar.gz
Change to the linux-2.6.9 directory
cd linux-2.6.9
Make mrproper (This will erase any .config file) This cleans out the configuration files and any object files an older version might have.
make mrproper
Complete configuration by one of these four options:
make oldconfig
This will ask you if you want to add in the new options from the kernel by selecting y/n/m.
make xconfig
(uses a GUI configuration) or
make menuconfig
(uses a terminal configuration based on curses) or
make config
You would need to edit the .config in order to select what options you want and then run make config to make the configuration file.
xconfig and menuconfig have a help option which is nice if you are unsure of what option you are turning on/off. make config and make oldconfig DO NOT have this help menu option.
Make the dependencies, which insures all things, like include files, are in place.
make dep
Make your bzImage
make bzImage
Make your modules
make modules
Copy the image over to /boot.
cp /usr/src/linux-2.6.9/arch/
Install the modules
make modules_install
Copy the new System.map over to /boot
cp /usr/src/linux-2.6.9/Syste
Change back to the /usr/src directory
cd ..
At this point (for Red Hat) I remove the linux-2.4 symlink
rm linux-2.4
Then I make a new symlink to my new kernel directory.
ln -s linux-2.6.9 linux-2.6.9
Add the new kernel in the configuration file. For example, in grub.conf add:
title Red Hat Linux (2.6.9)
root (hd0,1)
kernel /boot/vmlinuz-2.6.9 ro root=/dev/hda2 hdd=ide-scsi
If your /boot is on its own partition please remove /boot part of the kernel location. Your last line in grub should read (If your /boot is on it's own partition)
kernel /vmlinuz-2.6.9 ro root=/dev/hda2 hdd=ide-scsi
Edit grub.conf
vi /etc/grub.conf
Add the new kernel in the configuration file
Example: grub.conf
title Red Hat Linux (2.6.9)
root (hd0,1)
kernel /boot/vmlinuz-2.6.9 ro root=/dev/hda2 hdd=ide-scsi
Reboot.
Business Accounts
Answer for Membership
by: wesly_chenPosted on 2004-12-16 at 14:27:02ID: 12845811
Well, too many difference between kernel 2.4 and kernel 2.6,
hat.com/pu b/fedora/l inux/core/ 3/ i386/iso /
specially system library, glibc.
My sugeestion is just download Fedore Core 3 (2.6.9) and upgrade your
RedHat 9 to Fedora Core 3 (or Fresh installation).
http://download.fedora.red
Regards,
Wesly