Hello, Sdat1333.
The first thing you need to do is to make sure that you have the kernel source RPMs installed. Once you've done this, open a command prompt and type:
Code:
cd /usr/src/linux
cp .config .config.bakup
make xconfig
Now take your time and determine what stuff is necessary and what isn't. If you're not sure about something just leave it alone. You have three options for most of the choices: load it as a module ("--"), compile it into the kernel (checkmark) and don't use it (N or blank). The first two will allow you to use whatever it is. Compiling an option as a module lets you load and unload it on the fly. It allows you the most flexability but is a bit slower. Compiling it in is faster but can get confusing if something's not working right. Leaving it out is the fastest but isn't always a good idea. Remove everything that you don't think you need and leave what you do need.
Next you need to edit your grub or lilo configuration file. I use lilo, so I can't help you much with grub other than to say that you should make a duplicate entry for your current boot-up image and give the entry and the image a different name. Here's an example of my own lilo.conf file:
Code:
boot = /dev/hda
prompt
timeout = 300
vga=790
default = Linux-2.6.7
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.9
root = /dev/hda3
label = Linux-2.6.9
read-only
append=" hdb=ide-scsi hdc=ide-scsi"
image = /boot/vmlinuz-2.6.8
root = /dev/hda3
label = Linux-2.6.8
read-only
append=" hdb=ide-scsi hdc=ide-scsi"
image = /boot/vmlinuz-2.6.7
root = /dev/hda3
label = Linux-2.6.7
read-only
append=" hdb=ide-scsi hdc=ide-scsi"
image = /boot/vmlinuz-2.4.26
root = /dev/hda3
label = Linux-2.4.26
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hde1
label = WindowsXP
map-drive = 0x80
to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/hde
# Windows bootable partition config ends
Each line starting with "image = /boot/vmlinuz-2.x.x" is a reference to a kernel image stored in the /boot directory. Look in your configuration file and find out what your kernel image is called and then go into that directory and rename it. Now rename it accordingly in your lilo/grub configuration file. (either /etc/lilo.conf or /etc/grub.conf (I think))
If anybody can explain this part more clearly for grub users, please do!
Now go back to /usr/src/linux and type the following:
Code:
make
make modules
make modules_install
make bzImage
make install
This should get everything compiled and put into the right places. Now go back into your lilo/grub configuration file and make sure that you've got an extra entry in there. (This should have been created by "make install".) If all looks well cross your fingers and reboot. If not, you'll have to edit your grub/lilo configuration file manually and make sure you've got a new file (bzImage or vmlinuz or some such) in /boot and that it's referenced in your configuration file. Now just reboot and hope it works!
--Dane