Date: Fri, 26 Apr 2002 05:36:33 -0700 From: Kent Stewart <kstewart@owt.com> To: Noel Balansag <pongkee@arnet.com.ar> Cc: questions@FreeBSD.ORG Subject: Re: compiling new kernel Message-ID: <3CC949D1.6070106@owt.com> References: <3.0.32.20020426091646.0069407c@pop3.arnet.com.ar>
next in thread | previous in thread | raw e-mail | index | archive | help
Noel Balansag wrote: > hello all. > > newbie question. > > i just upgraded my machine to -p4, no problems whatsoever. but, i need to > rebuild my kernel, enable IPDIVERT and IPFIREWALL. and i followed the > handbook and deleted /usr/obj w/o first checking ( stupid me ). it was then > that i saw that the path of the new GENERIC kernel is through > /usr/obj/usr/src.... > > question, where do i find the new generic kernel? can i undelete the whole > /usr/obj directory? or do i have to start the whole upgrade process again? > It depends on how far you got into updating your system. If you finished buildworld, build[install]kernel, and installworld, you can use the config way of building a kernel. A buildkernel depends on a populated /usr/obj. BTW, you usually don't add features to GENERIC. You create a MYKERNEL (choosing a name that means something to you) and add features to it. You are supposed to read /usr/src/UPDATING to see if there are changes that you need to deal with. The technique for updating a system is around line 415. There is a section on dealing with the kernel in the handbook. The URL is http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html and chapter 9 deals with modifying the kernel. If you can use the config method of building a kernel, you can read about it in section 9.3. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CC949D1.6070106>