Created
October 26, 2012 08:01
-
-
Save kubicek/3957538 to your computer and use it in GitHub Desktop.
FreeBSD 8.2 -> 9.0 upgrade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# (Systems running 7.[34]-RELEASE, 8.[12]-RELEASE, 9.0-BETA[123], or 9.0-RC[123] can upgrade as follows) | |
# http://www.freebsd.org/releases/9.0R/installation.html | |
# upgrade to latest update for current version (required for upgrading to 9.0) | |
freebsd-update fetch | |
freebsd-update install | |
# fetch and install upgrades | |
freebsd-update -r 9.0-RELEASE upgrade | |
freebsd-update install | |
# reboot into new kernel | |
reboot | |
# install new system, keep old shared libraries | |
freebsd-update install | |
# install pkg_ng, fetch pkg database, migrate to pkg_ng | |
pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/pkg.tbz | |
cp /usr/local/etc/pkg.conf.sample /usr/local/etc/pkg.conf | |
rehash | |
pkg update | |
pkg2ng | |
# upgrade installed packages | |
pkg upgrade -fy | |
# remove shared libraries | |
freebsd-update install | |
# reboot to FreeBSD 9.0 | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment