packetmischief.ca

OpenBSD Upgrade Method of Procedure


Pre-Work

Upgrade

  1. Boot bsd.rd from new release
  2. newfs / /usr /tmp /var
  3. mount / /usr /tmp /var under /mnt
  4. Extract disksets (not etcXX.tgz):
    tar zxvphf fileXX.tgz -C /mnt
  5. Copy bsd and bsd.rd to /mnt
  6. Restore the backup of /etc
  7. Run /mnt/dev/MAKEDEV
  8. Install new bootblocks:
    cat /mnt/usr/mdec/boot > /mnt/boot
         /mnt/usr/mdec/installboot -v /mnt/boot /mnt/usr/mdec/biosboot wd0
  9. Boot system in single-user mode
  10. Run sysmerge
    sysmerge -s etcXX.tgz
  11. Install third-party shells that are used by users.
  12. Restore backups (/var, /root, etc)
  13. Install 3rd-party packages/software
  14. Boot system multi-user