[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Upgrading kernel



Waldher, Travis R wrote:

Someone here posted a list of to-dos to upgrade the kernel.

I tried the redhat documentation before and got let astray, and
unfortunately a computer crash took my saved instructions away.

Would someone be willing to repost them?


_


Well, I'm one of the newest newbies here, but I've been rebuilding the kernel on my RH9 machine a lot lately, so maybe I can help out:

Full Red Hat Kernel HOW-TO is at: http://www.redhat.com/mirrors/LDP/HOWTO/Kernel-HOWTO
...but better one is at: http://www.rhil.net/docs/kernelbuild.html


Short details (courtesy of Rick Stevens):

To build a whole kernel and module tree:

    1)	Edit the Makefile to modify the EXTRAVERSION= stuff if desired
    2)	"make distclean" to clean any cruft out of the source
	directories
    3)	Copy a config file from somewhere to .config (optional)
    4)	"make xconfig" or "make menuconfig" or "make config"
    5)	Make any changes to the config you want
    6)	Save the new .config and exit the configurator
    7)	"make dep"
    8)	"make bzImage"
    9)	"make modules"
   10)	"make install"
   11)	"make modules_install"
   12)	"cd /boot;mkinitrd -f -v initrd-(version).img (version)"
	(NOTE: The "-f" allows you to overwrite an existing image)
   13)	Edit your /etc/lilo.conf and rerun /sbin/lilo or edit
	/boot/grub/grub.conf
   14)	Reboot

Hope that helps,
-Tom

--
_______________________________________________________________________
Tom Haws               Manager, Systems Administration
trh timberline ca      Timberline Forest Inventory Consultants
Tel: (250) 562-2628    1579 9th Ave, Prince George, B.C. Canada V2L 3R8
Fax: (250) 562-6942    http://www.timberline.ca
_______________________________________________________________________






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]