lotus



previous page: 035.  Are the modules part of the Linux kernel or are they distributed separately?
  
page up: Brief Linux FAQ
  
next page: 037.  I am trying to set up a home page. How do I go about doing that and where should I put my web files to view them on my Linux box?

036. What is the quickest and safest way to recompile the kernel?




Description

This article is from the the Brief Linux FAQ (BLFAQ) Maintained by Neil Zanella nzanella@ganymede.cs.mun.ca

036. What is the quickest and safest way to recompile the kernel?

In short, as root issue the following commands after downloading a kernel:

# mv linux-x.y.z.tar.gz /usr/src; cd /usr/src
# tar zxpvf linux-x.y.z.tar.gz
# cd linux-x.y.z
# make menuconfig
# make dep
# make clean
# make bzImage (or better, insert a floppy and do a "make zdisk").
# make zlilo (or if this doesn't work,
cp /usr/src/linux-2.0.x/arch/i386/boot/zImage /boot/vmlinuz
Edit /etc/lilo.conf and change the image label to point to
/boot/vmlinuz-x.y.z and rerun /sbin/lilo)
reboot (here you may use the disk you made if something goes wrong)
# cd /usr/src/linux-x.y.z
# make modules; make modules_install

... and your kernel and modules should be all done.

 

Continue to:















TOP
previous page: 035.  Are the modules part of the Linux kernel or are they distributed separately?
  
page up: Brief Linux FAQ
  
next page: 037.  I am trying to set up a home page. How do I go about doing that and where should I put my web files to view them on my Linux box?