FreeBSD 8 Release to Stable

First grab the sample supfile:

# cp /usr/share/examples/cvsup/stable-supfile /root/

Choose a mirror close to you from and edit the cvsup file accordingly, it should look something like this:

*default      # change this
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_8
*default delete use-rel-suffix
*default compress

The RELENG_8 tag mean the stable branch, for more information on cvs tags see

Now update the source from the cvsup mirror

# csup /root/stable-supfile

Once done it is a good idea to check /usr/src/UPDATING for anything worth noting before you start the upgrade.

Next merge some config files using

# mergemaster -p

It’s time to build the new world, this is how

# cd /usr/src/
# make buildworld

If you have a multi-core processor, or multi-processor system, you can do:

# make -j3 buildworld

Replace X (3) with the number of total processor cores your system has plus 1. So, on a single dual-core processor, you’d use -j3

Then build the new kernel and install it

# make buildkernel
# make installkernel

Reboot into single user mode

# shutdown -r now

Mount ufs file systems

# mount -a -t ufs

Install the new world

# cd /usr/src
# make installworld
# mergemaster -i

Reboot into the new version

# shutdown -r now


You may also like...