After you have done your:

make dep
make bzImage
make modules
make modules_install

You then want to do:

cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.4.x

...and as an optional step:

cp /usr/src/linux/System.map /boot/System.map-2.4.x

Now you have to tell lilo what to do with your new kernel so:

pico /etc/lilo.conf

And in lilo.conf you put something to the effect of:

image=/boot/vmlinuz-2.4.x
        label=linux-2.4.x
        read-only
        root=/dev/hda1

And optionally change your:

default=linux-2.4.x

Once you have done all that, now it's time to run lilo.

# lilo
Added linux-2.2.20
Added linux-2.4.x *

And your done!  The * indicates the default kernel.

--Marcus

--- Wei Wu <[EMAIL PROTECTED]> wrote:
> i'm on rh7.3 now.because this version not support my sound card,i
> have to 
> recompile the kernel.two questions below:
> 1.i've got the bzImage file,can i del other files in the
> /usr/src/linux/?
> 2.after recompile the kernel,i have to shut the power by
> myself.what module 
> i've missed?
> 
> _________________________________________________________________
> 与联机的朋友进行交流,请使用 MSN Messenger: 
> http://messenger.microsoft.com/cn
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to