Skip to content

Instantly share code, notes, and snippets.

@antenore
Last active October 26, 2016 22:26
Show Gist options
  • Save antenore/cc81247a1adb1377e6d4fcd547d5c2d6 to your computer and use it in GitHub Desktop.
Save antenore/cc81247a1adb1377e6d4fcd547d5c2d6 to your computer and use it in GitHub Desktop.
FreeBSD upgrade, the hardway make it simple
beadm create 110alpha6To110beta4-r307978
beadm activate 110alpha6To110beta4-r303808
reboot
beadm rename default 110alpha6
rm -rf /usr/src/*
svnlite co https://svn0.us-west.freebsd.org/base/stable/11 /usr/src
cd /usr/src
make -j `sysctl -n hw.ncpu` buildworld
make -j `sysctl -n hw.ncpu` buildkernel
make installkernel
reboot
cd /usr/src
mergemaster -p
make installworld
mergemaster -iUF
yes | make delete-old
yes | make delete-old-libs
chflags -R noschg /usr/obj/* && rm -rf /usr/obj/*
reboot
pkg-static install -f pkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment