Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!agate!howland.reston.ans.net!news.sprintlink.net!redstone.interpath.net!ddsw1!news.structured.net!news.teleport.com!news.teleport.com!not-for-mail From: bmk@teleport.com (bmk) Newsgroups: comp.os.386bsd.questions Subject: Re: BSD KERNEL Config Date: 11 Jan 1995 22:17:56 -0800 Organization: Department of Redundancy Department Lines: 44 Message-ID: <3f2hik$n64@linda.teleport.com> References: <3f20hm$hes@News1.mcs.com> Reply-To: bmk@teleport.com NNTP-Posting-Host: linda.teleport.com In article <3f20hm$hes@News1.mcs.com>, <jfroths@mcs.com> wrote: >Ok, now that I have figured out that I have to rebuild the kernel >and edit my configuration so I can install the Boca IOAT66 serial >board, where do I find instructions on how to do this? I have the >Walnut Creek CDROM 2.0. > Sure. cd to /sys/i386/conf, look at the config files there. You'll want to make a copy of one and then edit in your changes. After that's done, do the following: config MYNEWKERNEL cd /sys/compile/MYNEWKERNEL make depend make # this will take a while Replace MYNEWKERNEL with whatever you named the kernel config file. After you do those four steps, your new kernel is in /sys/compile/MYNEWKERNEL/kernel. You still need to install it. What I do is move the old kernel (mv /kernel /kernel.old) and copy the new kernel into root (cp /sys/compile/MYNEWKERNEL/kernel /kernel). Reboot your system to see the changes. (There may be something I'm missing here, and this may not be the best way to do it. It works for me.) If for whatever reason your kernel doesn't boot correctly, you can always load the old one by typing it's name at the boot prompt: boot: sd(0,a)/kernel.old Two important things to keep in mind: Always keep a known working kernel in root, and always make a backup copy of the old config file before you edit it. It's not as tough as it sounds, the only tricky part is getting the config right. After yu've done it a few hundred times, you'll be able to do it in your sleep. :) -- bmk@dtr.com | bmk@teleport.com | bmk@atlas.com | finger -l bmk@teleport.com for PGP public key. http://www.teleport.com/~bmk/