Date: Fri, 26 Apr 2002 05:59:09 -0700 From: Kent Stewart <kstewart@owt.com> To: "Kohler"@FreeBSD.ORG Cc: Noel Balansag <pongkee@arnet.com.ar>, questions@FreeBSD.ORG Subject: Re: compiling new kernel Message-ID: <3CC94F1D.4070103@owt.com> References: <B1B0DD19298CD41195A600508BF9067A04446A38@emss04m08.ems.lmco.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Kohler, Raymond J wrote: >>-----Original Message----- >>From: Kent Stewart [mailto:kstewart@owt.com] >>Sent: Friday, April 26, 2002 8:37 AM >>To: Noel Balansag >>Cc: questions@FreeBSD.ORG >>Subject: Re: compiling new kernel >> >> >> >> >>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. >> > > > This is not true. make buildkernel can be done with an empty /usr/obj. You are right. I just tried a buildkernel after rm -rf of /usr/obj/usr. You used to get funny assembly errors but my mkkernel script had no problems building a new kernel. 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?3CC94F1D.4070103>