From owner-freebsd-hackers Mon Mar 13 13:13:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from kronos.alcnet.com (kronos.alcnet.com [63.69.28.22]) by hub.freebsd.org (Postfix) with ESMTP id D7E5D37BB2E for ; Mon, 13 Mar 2000 13:13:15 -0800 (PST) (envelope-from kbyanc@posi.net) X-Provider: ALC Communications, Inc. http://www.alcnet.com/ Received: from localhost (kbyanc@localhost) by kronos.alcnet.com (8.9.3/8.9.3/antispam) with ESMTP id QAA62534; Mon, 13 Mar 2000 16:12:55 -0500 (EST) Date: Mon, 13 Mar 2000 16:12:55 -0500 (EST) From: Kelly Yancey X-Sender: kbyanc@kronos.alcnet.com To: Rafael Gomez Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Editing Kernel In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 13 Mar 2000, Rafael Gomez wrote: > I=B4m trying to edit the kernel file but I don=B4t know where it is locat= ed. I=B4m > editing a file that shows only @@@ characters. I assume that this is the > binary file. That=B4s why I=B4m asking for help >=20 >=20 > Could any of you help me wityh this? >=20 You need to have the kernel source installed. In which case, the default= =20 kernel config files will be in /sys/i386/conf (for i386) or /sys/alpha/conf (for the alpha platform). In the director is the config file for the GENERIC kernel and LINT (which lists all of the available kernel config options). I recommend that you copy GENERIC to your own file (for example MYKERNEL). Edit that file. And then to rebuild your kernel, type 'config MYKERNEL' (replace "MYKERNEL" with whatever you named your kernel config file). It config exists successfully, then cd to =2E./../compile/MYKERNEL, and type:=20 =09make depend && make -j 4 && make install Finally, you'll need to reboot to load the new kernel. If you have any problems booting off your new kernel, you should still able to boot using /kernel.GENERIC (a copy of the default kernel). You should, however, read the FreeBSD handbook and the config(8) man page. Kelly -- Kelly Yancey - kbyanc@posi.net - Richmond, VA Analyst / E-business Development, Bell Industries http://www.bellind.com/ Maintainer, BSD Driver Database http://www.posi.net/freebsd/drivers/ Coordinator, Team FreeBSD http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message