Updating jail

Martin Brecher martin at mb-itconsulting.com
Wed Aug 11 04:54:45 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Renato Botelho wrote:
| Hi all,
|
| I have a box running FreeBSD-5.2.1-RELEASE-p9, and I have a jail
| running on this machine, all works fine.
|
| When FreeBSD-5.3 releases, I want to upgrade my box to this version,
| how must I proceed to upgrade my box and my jail to new version?

You will have to sync your source using cvsup(1) to the apropriate
branch which I guess will be RELENG_5_3.

General instructions on how to sync your source to the new release and
how to recompile and reinstall your system are located in the FreeBSD
Handbook at: <http://www.freebsd.org/handbook/cutting-edge.html> and
<http://www.freebsd.org/handbook/cvsup.html>.

Some tips for updating your jails can be found at
<http://subwiki.honeypot.net/cgi-bin/view/Freebsd/BuildAndUpdateJails>.

You should definitely back up your entire system before updating. It's
also probably advisable to disable all additionally installed software
before booting the new version. There seem to have been a lot of changes
which may break your current binaries. So after you upgrade the system,
a portupgrade -fa may be in place.

And be sure to have a look at /usr/src/UPDATING after syncing your source.

I would break this all up into the following

1. backup
2. rebuild steps, including cvsup, buildworld etc
3. disable all ports and jails
4. install steps, including install{kernel,world} and mergemaster,
reboot etc
[see if it works]
5. jail updating steps
...

Hope this helps,
Martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBGgj0kWEEBp53XEURAvprAJ47Zdari1N2GEMSrBvJ9SUrHYOL8ACaAgxU
6yJwQbJnN/TTSBrlwVefO+w=
=D68r
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list