Your mistake is the 'make vmlinux'. Use 'make zImage' after 'make clean'.
The new kernel image will be
<kernel directory>/arch/i386/boot/zImage

copy it to /boot
eg. cp arch/i386/boot/zImage /boot/vmlinuz-new

Then edit /etc/lilo.conf

Make an exact copy of the original linux boot info, change the second one's
label= and image=
eg.
image=/boot/vmlinuz
        label=linux
        root=/dev/sda1
        initrd=/boot/initrd
        read-only
image=/boot/vmlinuz-new
        label=linuxnew
        root=/dev/sda1
        initrd=/boot/initrd
        read-only

When that is done save and exit.
Then run /usr/sbin/lilo

If it works fine reboot. At the LILO: prompt hit your 'tab' key
and type in

linuxnew

to run the new kernel and test it out.

If there is a problem during bootup that won't allow it to finish, you can
always reboot your system and use the original kernenl image by typing

linux

at the LILO: prompt

Gook Luck

Dan


At 06:04 PM 3/17/98 -0600, Cory T. Lamb wrote:
>Hey guys,
>I have been trying to recompile a kernel that takes advantage of my
>processor instead of the 386 but I'm not sure how to go about that. 
>Here is what I've done so far:
>make menuconfig 
>make dep
>make clean
>make vmlinux
>make modules
>make modules_install
>
>So I think that it is all recompiled I just have to figure out how to boot
>it instead of the default kernel.  I'm sure this is a stupid question and
>I apologize but I would appreciate your help.
>Thanks
>~cory
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Cory T. Lamb  <[EMAIL PROTECTED]>
>Media Lab Manager
>Information Media Services
>Bethel College
>                \\|//
>                (o o)
>~~~~~~~~~~~~oOOo~(_)~oOOo~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
>*This message sent with 100 percent recycled electrons. 
>No french toast was created or destroyed in the process.*
>
>
>
>-- 
>  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
>         To unsubscribe: mail [EMAIL PROTECTED] with 
>                       "unsubscribe" as the Subject.
>


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to