From owner-freebsd-questions Mon Mar 19 9:48:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.nbrewer.com (sparge.nbrewer.com [208.42.68.70]) by hub.freebsd.org (Postfix) with ESMTP id CF82537B71A for ; Mon, 19 Mar 2001 09:48:52 -0800 (PST) (envelope-from chris@nbrewer.com) Received: by mail.nbrewer.com (Postfix, from userid 1001) id 28F34383055; Mon, 19 Mar 2001 11:48:50 -0600 (CST) Date: Mon, 19 Mar 2001 11:48:49 -0600 From: Christopher Farley To: Ben Cc: questions@freebsd.org Subject: Re: CVSUP Suggestion Message-ID: <20010319114848.A18981@northernbrewer.com> Mail-Followup-To: Christopher Farley , Ben , questions@freebsd.org References: <002801c0b07c$25a90100$6102a00a@nhqadmin17> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002801c0b07c$25a90100$6102a00a@nhqadmin17>; from ben@cahostnet.com on Mon, Mar 19, 2001 at 08:54:41AM -0500 Organization: Northern Brewer, St. Paul, MN Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ben (ben@cahostnet.com) wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I'm running 4.2-RELEASE and want to update. I haven't compiled my > own kernel yet. However, I went and updated my sources and ports > with cvsup and did a make buildworld. Part of the instructions asks > you to do a buildkernel and install kernel as your update. I want to > compile my own kernel but since I hadn't done it yet I skipped that > section and went to the make installworld to update everything. I > then compiled my kernel using the kernel compiled method and not the > buildkernel way. Is this OK, did I mess something up doing it this > way? Or should I have used the GENERIC kernel to buildkernel and > then updated my kernel after up updates were don. Information on > this will be appreciated. In the past year or so there have been three different published ways to build your kernel, so it's understandable that there would be confusion here. Building a new userland often requires building a new kernel. If you are running FreeBSD 4.2 or later, here is the 'nutshell version' of the steps: make buildworld make buildkernel KERNCONF=YOUR_KERNEL make installkernel KERNCONF=YOUR_KERNEL reboot (in single user) make installworld mergemaster reboot To simply build a kernel without building world: make buildkernel KERNCONF=YOUR_KERNEL make installkernel KERNCONF=YOUR_KERNEL reboot In your case, I would have compiled the GENERIC kernel during your buildworld so you would have a kernel in sync with your userland. If you didn't experience any serious problems during the build, consider yourself lucky. I believe the above procedures are pretty safe, and they are all detailed in the handbook. -- Christopher Farley www.northernbrewer.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message