From owner-freebsd-questions@FreeBSD.ORG Sun Aug 31 01:20:14 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 1FAB516A4BF for ; Sun, 31 Aug 2003 01:20:14 -0700 (PDT) Received: from apate.telenet-ops.be (apate.telenet-ops.be [195.130.132.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15C9B43FF7 for ; Sun, 31 Aug 2003 01:20:13 -0700 (PDT) (envelope-from n.b@myrealbox.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by apate.telenet-ops.be (Postfix) with SMTP id 1857C37EAA; Sun, 31 Aug 2003 10:20:12 +0200 (MEST) Received: from cronos.home.vsb (d5153CAA6.kabel.telenet.be [81.83.202.166]) by apate.telenet-ops.be (Postfix) with ESMTP id 8BA9537EA5; Sun, 31 Aug 2003 10:20:11 +0200 (MEST) From: Guy Van Sanden To: Kent Stewart In-Reply-To: <200308301300.49430.kstewart@owt.com> References: <1062259088.2854.10.camel@cronos.home.vsb> <200308300934.32970.kstewart@owt.com> <1062269079.3218.14.camel@cronos.home.vsb> <200308301300.49430.kstewart@owt.com> Content-Type: text/plain Message-Id: <1062318011.7669.1.camel@cronos.home.vsb> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4-1tex Date: Sun, 31 Aug 2003 10:20:12 +0200 Content-Transfer-Encoding: 7bit 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: Sun, 31 Aug 2003 08:20:14 -0000 Hi Kent Thanks for your answers! I have one more question, the manual says to drop to single user mode before doing buildworld, do you do this. If I could avoid this, I could run buildworld during the night, and do installworld when it suits me during the daytime. Thank you very much Guy On Sat, 2003-08-30 at 22:00, Kent Stewart wrote: > 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