Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2007 19:32:39 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Mario Lobo <mario.lobo@ipad.com.br>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: About Freebsd 7.0 versus 6.3
Message-ID:  <20071108183239.GA65453@slackbox.xs4all.nl>
In-Reply-To: <200711081448.48390.mario.lobo@ipad.com.br>
References:  <200711081455.39635.cesar@expresso.com.br> <bef9a7920711080928t76efabaaw4af6c85be7fb03a@mail.gmail.com> <200711081448.48390.mario.lobo@ipad.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help

--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=
=20
> system is running well, but I'd really like to move up to 7. Can it be do=
ne=20
> through cvsup from 6.2-STABLE to 7-CURRENT or is it "wiser" to install fr=
om=20
> 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=3DYOUR_KERNEL_HERE'     (default is GENERIC=
).
 4.  `make installkernel KERNCONF=3DYOUR_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)
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.

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--9jxsPFA5p3P2qPhR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHM1ZHEnfvsMMhpyURApo/AJ9f1xDdd6YYpf85xlQxFY5vSo11+gCdF1gq
Z9mmR94BemsMs+Oth6GL9xg=
=qaBu
-----END PGP SIGNATURE-----

--9jxsPFA5p3P2qPhR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071108183239.GA65453>