Date: Mon, 13 Mar 2000 16:12:55 -0500 (EST) From: Kelly Yancey <kbyanc@posi.net> To: Rafael Gomez <rgomez@c-com.net.ve> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Editing Kernel Message-ID: <Pine.BSF.4.05.10003131606500.62371-100000@kronos.alcnet.com> In-Reply-To: <NBBBIOJNPJCDMGJOGDCOKECLDIAA.rgomez@c-com.net.ve>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10003131606500.62371-100000>