NetBSD binary upgrade

To upgrade the NetBSD from one version to another (greater), grab the archives from the nearest mirror. By default, check here.

Start booting the new kernel :

# tar xzpvf kern-GENERIC.tgz -C /
# reboot

If everything went well, you can proceed to upgrading the userland:

# for i in base comp games man misc text x*; do
tar xzpvf $i.tgz -C /
# mkdir /tmp/tmproot
# tar xzpvf etc.tgz -C /tmp/tmproot
# postinstall -s /tmp/tmproot check
# (.. run the command postinstall gave you ..)
# etcupdate -s /tmp/tmproot
# reboot

You should now have an upgraded (and still working system). Proceed to the packages upgrade (using pkg_add -uu or pkg_chk).

Author: Joel Carnat

@work Technical Architect and SysAdmin ; @home OpenBSD and FOSS, Karate, Kobudō, Jōdō, Bodyweight workout, Photography & Music

One thought on “NetBSD binary upgrade”

  1. Pingback: Frequency scaling on k8-class processors with NetBSD « threebsd

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.