From owner-freebsd-questions@FreeBSD.ORG Sat Aug 30 13:00:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95C7216A4C0 for ; Sat, 30 Aug 2003 13:00:54 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C57543FDD for ; Sat, 30 Aug 2003 13:00:51 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h7UK0o227112; Sat, 30 Aug 2003 13:00:50 -0700 From: Kent Stewart To: Guy Van Sanden Date: Sat, 30 Aug 2003 13:00:49 -0700 User-Agent: KMail/1.5.3 References: <1062259088.2854.10.camel@cronos.home.vsb> <200308300934.32970.kstewart@owt.com> <1062269079.3218.14.camel@cronos.home.vsb> In-Reply-To: <1062269079.3218.14.camel@cronos.home.vsb> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308301300.49430.kstewart@owt.com> cc: freebsd-questions@freebsd.org Subject: Re: Upgrade 5.0 to 5.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Aug 2003 20:00:54 -0000 On Saturday 30 August 2003 11:44 am, Guy Van Sanden wrote: > Ah, I indeed forgot the system information. > It is a P II 333 MHZ with 256 of RAM and an UDMA 33 HD (40 GB). > > Judging from your timings, this is going to take a while... Yes, on a machine with that speed, it will be several hours. > > Does buildworld and installworld always take equally long, even say > only 10 files changed? Buildworld always takes about the same time. The installworld on my machine runs <4 minutes. Running mergemaster the first time on an upgrade can take a while. You need to look at /usr/src/UPDATING for when you need to run it and the options. The installs are always fast and only the builds take much time. > > Are there any pitfalls I should be aware of (seeing that this would > be the first time I attempt such a thing). That you have done a full src-all on your cvsup. There are also some options that help in your /etc/make.conf. From what I saw a little while ago, the default make.conf is now in the examples directory. Don't let mergemaster replace your hosts entries and your user entries in master.passwd and groups. I edit the password entries manually with vipw and groups with vi. If you have a special /etc/printcap, it will try to replace it. Just pay attention is all that is required. You can save trouble if you back up /etc before you do the installs. Kent > > On Sat, 2003-08-30 at 18:34, Kent Stewart wrote: > > On Saturday 30 August 2003 08:58 am, Guy Van Sanden wrote: > > > How would I best upgrade my 5.0 installation to 5.1? > > > > > > I have done binary (CD-ROM) updates on 4.x in the past, but I was > > > thinking this could be done using cvsup. > > > > > > Can anyone briefly say wheter this procedure would be right: > > > - change default release=cvs tag=RELENG_5_0 to RELENG_5_1 > > > - cvsup the new sources > > > - follow instructions to buildworld+installworld in Chapter 21 of > > > the handbook. > > > > > > Any ideas how long this would take ? > > > > It is totally a function of your computer. Since, you didn't > > provide that information, we can only provide information on our > > personal systems. > > > > I follow current, since I don't think 5.x is up to 4.x release > > quality at this point. I don't think it is far off, just not quite > > there. A buildworld, which is the longest part of an upgrade, > > requires 50+ minutes on my AMD 1600+ with 512 MB of DDR-266 memory > > and 3 ATA-100 HDs. Having less memory won't affect the build time > > unless you produce swaping. Having both /usr/src and /usr/obj on > > the same HD will also increase compile times. > > > > The buildkernel probably takes on the order of 10 minutes since it > > is long enough that I won't sit there to watch and I haven't timed > > my build script. The installs probably take less than 5 minutes. > > > > Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html