On Mon, 13 Mar 2000, Rafael Gomez wrote:
> I´m trying to edit the kernel file but I don´t know where it is located. I´m
> editing a file that shows only @@@ characters. I assume that this is the
> binary file. That´s why I´m asking for help
>
>
> Could any of you help me wityh this?
>
You need to have the kernel source installed. In which case, the default
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
../../compile/MYKERNEL, and type:
make 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 - [EMAIL PROTECTED] - 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message