To upgrade Freebsd, we will be using freebsd-update, a great piece of software that fetches and installs binary updates to FreeBSD.
Step 1 : Fetch updates
1 2 |
# freebsd-update fetch # freebsd-update install |
If any updates where installed above – reboot your system before continuing.
Step 2 : Upgrade FreeBSD
1 2 |
# freebsd-update upgrade -r 9.1-RELEASE # freebsd-update install |
The system must now be rebooted with the newly installed kernel before the non-kernel components are updated.
1 |
# shutdown -r now |
Step 3: Install Update
After rebooting, freebsd-update(8) needs to be run again to install the new userland components:
# freebsd-update install
Step 4: Finally, reboot into 9.1-RELEASE
# reboot
ref: bsdguides.org