Home > Archive > Linux/Unix > April 2002 > Compiling new Kernel





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Compiling new Kernel
Boulware5

2002-04-02, 10:13 pm

For fun I'm trying to compile my first Linux kernel from scratch. Everything went well but when I try to boot into it through LILO, it unpacks the kernel but fails some system checks. It then stalls on the "starting system logger" So I must have done something wrong. Here's the steps I took:

in /usr/src/linux
make mrproper
make menuconfig (I didn't change any kernel parameters)
make dep
make clean
make bzImage
make modules
make modules_install
cp arch/i386/boot/bzImage /boot
make install
This then made a vmlinuz image in /boot.
I then altered my lilo.conf accordingly to use the new vmlinuz image.

What did I do wrong? In one of my books it mentiones to use mkinitrd, but I thought you needed an initrd image file only for SCSI which I don't have.
Boulware5

2002-04-02, 10:54 pm

2 steps I think I might have needed:
cp /usr/src/linux-2.4.18/arch/i386/boot/bzImage /boot/vmlinuz-2.4.18

cp /usr/src/linux-2.4.18/System.map /boot/System.map-2.4.18

I'll try this out later on. Any thoughts are welcome.
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net