From owner-freebsd-questions@FreeBSD.ORG Fri Nov 9 10:24:19 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C281116A419 for ; Fri, 9 Nov 2007 10:24:19 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id 7D6CA13C4A6 for ; Fri, 9 Nov 2007 10:24:19 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id lA99g4Rt017734 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 9 Nov 2007 01:42:04 -0800 X-Auth-Received: from [128.208.5.249] (lodovico.cs.washington.edu [128.208.5.249]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id lA99g4uW011882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 9 Nov 2007 01:42:04 -0800 Message-ID: <47342BB0.5000700@u.washington.edu> Date: Fri, 09 Nov 2007 01:43:12 -0800 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Albert.Shih@obspm.fr References: <200711081455.39635.cesar@expresso.com.br> <200711081448.48390.mario.lobo@ipad.com.br> <20071108183239.GA65453@slackbox.xs4all.nl> <20071108221413.GA75162@pcjas.obspm.fr> In-Reply-To: <20071108221413.GA75162@pcjas.obspm.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Version: 5.3.3.310218, Antispam-Engine: 2.5.2.313940, Antispam-Data: 2007.11.9.11841 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_PHRASE_25 0, __USER_AGENT 0' Cc: Mario Lobo , freebsd-questions@freebsd.org Subject: Re: About Freebsd 7.0 versus 6.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2007 10:24:19 -0000 Albert Shih wrote: > Le 08/11/2007 à 19:32:39+0100, Roland Smith a écrit > >> On Thu, Nov 08, 2007 at 02:48:47PM -0300, Mario Lobo wrote: >> >> >>> Concerning this, I've "cvsuping" to 6-CURRENT on a dual-core desktop. The >>> system is running well, but I'd really like to move up to 7. Can it be done >>> through cvsup from 6.2-STABLE to 7-CURRENT or is it "wiser" to install from >>> scratch? any upgrade gotchas/procedure ? >>> >> It _can_ be done. (I've done it). >> >> First, make a list of all your ports (portmaster -L works fine for >> that). Then csup to RELENG_7. Then follow the instructions from >> /usr/src/Makefile (the bit about 'upgrade their source'). I've outlined >> the process below, with my own additions marked with lowercase letters >> >> >> a. Make backups >> b. Read /usr/src/UPDATING >> 1. `cd /usr/src' (or to the directory containing your source tree). >> 2. `make buildworld' >> 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). >> 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). >> [steps 3. & 4. can be combined by using the "kernel" target] >> 5. `reboot' (in single user mode: boot -s from the loader prompt). >> 6. `mergemaster -p' >> 7. `make installworld' >> 8. `make delete-old' >> 9. `mergemaster' >> 10. `reboot' >> c. `pkg_delete -a' (delete all your ports) >> > > Be careful if you not using standard shell because....if you using a shell > come from ports.... > > >> 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) >> d. Reinstall all root and leaf ports. Dependencies will then be >> installed automatically. >> > > Well....what's the difference between what you say and make a new > installation ? > > I've do this sometime ago because I don't have 7.0-Beta CD-rom, and I've > install a 6.2 and make what you say...but for me rebuild all ports it's > same thing to make a new-installation. > > > Regards. > > > > > -- > Albert SHIH > Observatoire de Paris Meudon > SIO batiment 15 > Heure local/Local time: > Jeu 8 nov 2007 23:11:56 CET > Basically, that's the gist of what you need to do (what Roland said). The reason being that all of your software is dynamically linked vs old 6.x libs and you'll need to upgrade that functionality in order to access true 7.x use. Sure, you can run things linked against 6.x (for a period of time), but it'll result in really fubar'ed userland and ports apps. Pros of clean install: - Virgin clean system. - Don't have to rebuild ports and base system + kernel. Cons: - Have to take down the box while the install's going, plus any time spent on the upgrade process. - Have to backup data. Pros of in-place upgrade: - Data is kept as-is. - If planned properly, box downtime is minimized. Cons: - Can have orphan files laying around from old [ports/base] installs. - Time, time, time (assuming your system is slow / heavily loaded).. HTH, -Garrett