Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!bloom-beacon.mit.edu!crl.dec.com!crl.dec.com!nntpd.lkg.dec.com!oils!jenkinsj From: jenkinsj@oils.ozy.dec.com (Jon Jenkins) Newsgroups: comp.os.386bsd.questions Subject: Re: Rebuilding the Kernel in FreeBSD ... how? Date: 8 Jan 1995 20:58:32 GMT Organization: Digital Equipment Corporation Lines: 32 Message-ID: <3epjlo$omi@nntpd.lkg.dec.com> References: <D1tJ4w.5K2@ecf.toronto.edu> <1995Jan3.211436.6991@fsl.noaa.gov> NNTP-Posting-Host: oils.ozy.dec.com X-Newsreader: TIN [version 1.2 PL2(HT3)] Sean Kelly (kelly@woody.fsl.noaa.gov) wrote: : In article <D1tJ4w.5K2@ecf.toronto.edu>, : FICNAR FRANK G <ficnar@ecf.toronto.edu> asks: : [ How to config, compile, and install the kernel? ] : First, don't modify the LINT or the GENERIC* files. Use a copy : instead: : cd /usr/src/sys/i386/conf : cp GENERIC MYKERNEL : And edit MYKERNEL, removing unnecessary lines, pulling in lines you : need from LINT, and customizing everything. Then, type : config MYKERNEL : cd ../../compile/MYKERNEL : make depend : make : make install : The last step---``make install''---does the equivalent of ``mv /kernel : /kernel.old; copy ./kernel /''. You can then reboot, and you'll be : using the new kernel. : If the new kernel doesn't work, boot with the old kernel: : boot hd(0,a)/kernel.old it might pay to keep a reliable kernel in kernel.std or whatever just in case all else fails. Jon