Hidong Kim wrote:
> 
> Felipe Almeida wrote:
> >
> > Hi everyone,
> >
> > I downloaded a new kernel but I don't know how to compile it. What do I
> > need to do? Could someone please tell me, step-by-step if possible, how
> > to upgrade my new kernel? I know that if the one I am using is fine,
> > it's not recommended to upgrade the kernel but I'd like to do it anyway!
> >
> > Thank you!
> >
> > Felipe Almeida
> 
> Hi, Felipe,
> 
> I suggest you get a book like Running Linux by Welsh and Kaufman.
> Basically, here are the steps:
> 
> Put the kernel source (I assume it's a tar.gz) into the directory
> /usr/src.  There will be a subdirectory there called linux.  This is the
> linux kernel that you're currently running.  Rename this subdirectory
> (e.g. mv linux linux.old) so that you have a usable kernel to fall back
> on in case your new kernel turns out to be a plague.  In /usr/src,
> unpack the kernel source.  This will create a new directory
> /usr/src/linux.  Now work in /usr/src/linux.  In this directory, first
> do:
> 
> make mrproper
> 
> Then do:
> 
> make xconfig
> 
> This is where you'll specify the features you want in the new kernel.
> After you've gone through this configuration, do:
> 
> make dep
> 
> Then do:
> 
> make bzImage
> 
> This will compile the newly configured kernel.  If you've selected
> modular support for anything during the 'make xconfig' step, do:
> 
> make modules
> 
> The newly compiled kernel will be created as
> /usr/src/linux/arch/i386/boot/bzImage.  You can copy this new kernel to
> a floppy or to your /boot directory and boot it with LILO.  All of this
> information can also be found in /usr/src/linux/README which is created
> when you unpack the kernel source.  OK, good luck,
> 
> Hidong


Thank You very much for your help! I'll try to do it.
Then I will tell if it worked fine for me!

Bye!

Felipe

Reply via email to