[TriLUG] kernel customizing question
gregbrown at mindspring.com
gregbrown at mindspring.com
Sun Nov 17 19:58:14 EST 2002
Howdy all. I have a quick question for you. I have compiled a custom kernel
using the steps outlined on this website:
http://www.rhce2b.com/kernel.shtml
Essentially, they are:
cd /usr/src/linux-2.4
(as root)
mkproper
make oldconfig
make xconfig
(change some options)
(save changes)
make dep
make clean
edit makefile (added custom-greg to file name)
make bzImage
make modules
make modules_install
cp /usr/src/linux-2.4/arch/i386/boot/bzImage /boot/vmlinuz-2.4.18-3custom-greg
I then changed the the /etc/lilo.conf file to reflect the changes
prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
image=/boot/vmlinuz-2.4.18-3custom-greg
label=linux-2.4.18-3custom-greg
initrd=/boot/initrd-2.4.18-3custom-greg.img
read-only
root=/dev/hda3
So, after all this I reboot by doing a init 0 then powering back up.
uname -a shows the following:
Linux paloverde 2.4.18-3 #1 Thu Apr 18 07:32:41 EDT 2002 i686 unknown
Bummer. Didn't work. If I look in /boot vmlinuz is still linked to the old
kernel. The page at RHCE didn't say anything about linking up vmlinuz to the
new kernel though.
So, what'd I do wrong? Anything obvious?
Greg
More information about the TriLUG
mailing list