ISILETH.ORG
->
Howto Store
->
Redhat 30 Second Kernel Rebuild Howto (beta for review)
This document was created and used on redhat 7.x - it has not been updated or looked at in view of redhat 8 or 9. Use at your own risk. This will be updated shortly once my redhat9/Fedora build is up and running. (2004/01/04)
cd /usr/src/linux-2.4
make mrproper
cp configs/kernel-(whichever_is_closest_to_your_platform) .config
make oldconfig
make menuconfig (or xconfig)
vi Makefile. (change EXTRAVERSION= so you can tell it's your kernel. You also get a completely seperate and non-conflicting directory of modules!)
make dep clean bzImage modules modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-(your_version)
cp System.map /boot/System.map-(your_version)
cd /boot
ln -sf vmlinuz-(your_version) vmlinuz (optional)
ln -sf System.map-(your_version) System.map (optional)
mkinitrd initrd-(your_version).img (your_version) (needed if boot from scsi or using ext3/reiserfs)
vi /etc/lilo.conf ; lilo -v -v
If booting using the win2k bootloader:
dd if=/dev/hda3 of=/mnt/??/bootsect.lnx bs-512 count =1
Menu
dotfiles
home
howtos
journal
screenshots
Links
dlink.net.au
monkeyc.net
myrddin.org