Date: Wed, 12 May 2004 11:18:08 -0400 (EDT) From: Jerry McAllister <jerrymc@clunix.cl.msu.edu> To: xavier_collot@yahoo.fr (=?iso-8859-1?q?xavier=20collot?=) Cc: questions@freebsd.org Subject: Re: kernel Message-ID: <200405121518.i4CFI9S20334@clunix.cl.msu.edu> In-Reply-To: <20040512074547.82863.qmail@web25005.mail.ukl.yahoo.com> from "=?iso-8859-1?q?xavier=20collot?=" at May 12, 2004 09:45:47 AM
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, > Hii!! > > In the chapter "9.3 Building and installing a custom kernel" of the > freebsd handbook it's written that MYKERNEL is an example but I don't > know how I can find that. > In fact I don't know what MYKERNEL represents. OK. MYKERNEL represents an example of a name you could use for your own copy of the kernel config file. You may choose any name you want as long as it doesn't conflict with something else. It is customary to make this file name in all upper case. The easiest thing would be to copy the generic kernel config which is in the file called GENERIC in the /usr/src/sys/i386/conf directory to your own favorite name such as MYKERNEL and then make all your changes to that file rather than making changes to GENERIC. That way you will preserve a reference. Then you have to tell it to work on the MYKERNEL file when it builds the kernel. I still use the old way in 4.xxx but there have been some additional automation and that should work too. Here is the old way (which still works in Version 4.xxx) Lets say I call it JRMKERNEL cd /usr/src/sys/i386/conf cp GENERIC JRMKERNEL vi JRMKERNEL edit as much as necessary and save and exit /usr/sbin/config JRMKERNEL cd ../../compile/JRMKERNEL make depend make make install / or copy the new file named kernel where you want it. NOTE: previous kernel files may have the schg flag set. see 'man chflags' ////jerry > Thanks for your help. > XAV LE OUF > > > --------------------------------- > Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! > Créez votre Yahoo! Mail > > Dialoguez en direct avec vos amis grâce à Yahoo! Messenger ! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405121518.i4CFI9S20334>