From owner-freebsd-questions@FreeBSD.ORG Sun Jun 6 16:18:27 2010 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 37591106564A for ; Sun, 6 Jun 2010 16:18:27 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id EB45A8FC15 for ; Sun, 6 Jun 2010 16:18:26 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx02.qsc.de (Postfix) with ESMTP id 6E29D1E70E; Sun, 6 Jun 2010 18:18:24 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o56GINwx001571; Sun, 6 Jun 2010 18:18:24 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 6 Jun 2010 18:18:23 +0200 From: Polytropon To: Giorgos Tsiapaliokas Message-Id: <20100606181823.5a1f110c.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: upgrade from FBSD from 8.0-release to stable-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2010 16:18:27 -0000 On Sun, 6 Jun 2010 13:37:58 +0000, Giorgos Tsiapaliokas wrote: > hello, > > i have seach to net but i haven't find a way to update my system from > 8.0-release to stable-8. > > can you tell me a way to do this? Basically, this process contains two main steps: fetching the sources, and compiling and installing the system. Step 1 can easily be done by using csup (it's in the base) with the following configuration: This into /etc/make.conf: SUP_UPDATE= yes SUP= /usr/bin/csup SUPFLAGS= -g -L 2 SUPHOST= cvsup.freebsd.org SUPFILE= /etc/sup/stable.sup This into /etc/sup/stable.sup: *default host=cvsup.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_8 *default delete use-rel-suffix *default compress src-all You can of course select a mirror near your location. The tag= parameter selects what you will get, e. g. a certain specifig RELEASE, patches for a RELEASE, STABLE, or even CURRENT. The keyword RELENG_8 will give you 8-STABLE. If you've updated your sorces, read /usr/src/UPDATING, and for the steps how to start, refer to /usr/src/Makefile. You can also add compiling options to /etc/make.conf to be involved here; a typical setting could be setting CPUTYPE. Then you start. # cd /usr/src # make buildworld buildkernel # make installkernel Then reboot into single user mode: # reboot ... Ok boot -s ... When arrived in single user mode, check your partitions via fsck, and then mount them (mount -a). # cd /usr/src # mergemaster -p # make installworld # make delete-old # mergemaster # reboot When you now have reached multi user mode again, finally do # cd /usr/src # make delete-old-libs Check the result via # uname -a If you do have a custom kernel, add KERNCONF= to the make calls, e. g. # make buildkernel KERNCONF=FOOBAR or # make installkernel KERNCONF=FOOBAR respectively. Finally, see the excellent documentation in the FreeBSD Handbook. It should cover everything that hasn't been mentioned yet. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...