FREEBSD从旧版本可以升级到新版本方法
Users upgrading to FreeBSD 7.0 from older releases (in particular, older than 7.0-RC1) will need to download an updated version of freebsd-update(8) that supports upgrading to a new release.
# fetch http://people.freebsd.org/~cperciva/freebsd-update-upgrade.tgz
Downloading and verifying the digital signature for the tarball (signed by the FreeBSD Security Officer’s PGP key) is highly recommended.
# fetch http://people.freebsd.org/~cperciva/freebsd-update-upgrade.tgz.asc
# gpg --verify freebsd-update-upgrade.tgz.asc freebsd-update-upgrade.tgz
The new freebsd-update(8) can then be extracted and run as follows:
# tar -xf freebsd-update-upgrade.tgz
# sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade
# sh freebsd-update.sh -f freebsd-update.conf install
The system must be rebooted with the newly installed kernel before continuing.
# shutdown -r now
Next, freebsd-update.sh needs to be run again to install the new userland components, after which all ports should be recompiled to link to new libraries:
# sh freebsd-update.sh -f freebsd-update.conf install
# portupgrade -faP
Finally, freebsd-update.sh needs to be run one last time to remove old system libraries, after which the system should be rebooted in order that the updated userland and ports will be running:
# sh freebsd-update.sh -f freebsd-update.conf install
# shutdown -r now
这篇文章目前没有评论