From owner-freebsd-stable Fri Sep 28 0:30:34 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp012.mail.yahoo.com (smtp012.mail.yahoo.com [216.136.173.32]) by hub.freebsd.org (Postfix) with SMTP id 7759437B409 for ; Fri, 28 Sep 2001 00:30:29 -0700 (PDT) Received: from h00104b63ea48.ne.mediaone.net (HELO cougar) (24.147.249.229) by smtp.mail.vip.sc5.yahoo.com with SMTP; 28 Sep 2001 07:30:29 -0000 X-Apparently-From: Message-ID: <001a01c147ef$71bc82a0$0600000a@ravencode.com> From: "Avery Fay" To: Cc: , References: <20010928033759.R55476-100000@big> Subject: Re: Upgrading from the source Date: Fri, 28 Sep 2001 03:30:26 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On Thu, 27 Sep 2001, Russell P. Sutherland wrote: > > > I've attempting to update several FreeBSD 4.2 and 4.3 systems > > remotely to 4.4, by first cvsup'ing the current sources and then > > building the sources. I believe that the install should > > be done from the console in single user mode. (All based on > > the "make world" section of Chapter 19, The Cutting Edge > > from the FreeBSD Handbook) > They recommend this sequence: > # make buildworld > # make buildkernel KERNCONF=YOURKERNEL > # make installkernel KERNCONF=YOURKERNEL > # make installworld > Actually, recommended would be # make buildworld # make buildkernel KERNCONF=YOURKERNEL # make installkernel KERNCONF=YOURKERNEL boot to single user # make installworld # mergemaster and finally reboot normally The idea is that if the kernel doesnt work then going back to the old kernel is a lot easier than going back to the old world. Also, updating binaries with lots of daemons running can possibly cause problems. Never forget mergemaster or things that worked previously may not work anymore (until you update the configs). That being said, I used to not reboot into single user and never had a problem until i screwed up my new kernel config. Luckily, booting the old kernel with the new world worked well enough to let me recompile the new kernel. > > > > A few questions... > > > > 1. Does make buildworld also build the kernel > No. > > or > > does one need to perform a make buildkernel > > as well > Yes. > > > 2. Do the make installworld, installkernel operations > > need to be done in single-user mode? I'm thinking > > of a lightly used system > On my private PC I never had any problems with that. > But it is not recommended. booting to single user for install world *IS* recommended. > > > 3. Given a neo-phyte at the helm, is the pre-building from > > source method easier that the upgrade option with the > > FreeBSD 4.4 CD. > I don't have the least idea what a neo-phyte is, but > building sources will take about half a day, installing from > CD half an hour. I personally find building from source easier and although I don't have the numbers I think that there's a good chance it is the more tested option. As for time, on my athlon 800 with 256M ram (and -j 4) it seems to take between .75 and 1.5 hours, but I've never tested exactly. BTW, a neophyte is a beginner. Avery Fay _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message