OpenBSD Upgrade Method of Procedure
Pre-Work
- Have disksets and packages at the ready
- Take a backup of the system and store it somewhere on the /home partition
- Remember that / /usr /tmp /var will be newfs'd
Upgrade
- Boot bsd.rd from new release
- newfs / /usr /tmp /var
- mount / /usr /tmp /var under /mnt
-
Extract disksets (not etcXX.tgz):
tar zxvphf fileXX.tgz -C /mnt
- Copy bsd and bsd.rd to /mnt
- Restore the backup of /etc
- Run /mnt/dev/MAKEDEV
-
Install new bootblocks:
cat /mnt/usr/mdec/boot > /mnt/boot
/mnt/usr/mdec/installboot -v /mnt/boot /mnt/usr/mdec/biosboot wd0 - Boot system in single-user mode
-
Run sysmerge
sysmerge -s etcXX.tgz - Install third-party shells that are used by users.
- Restore backups (/var, /root, etc)
- Install 3rd-party packages/software
- Boot system multi-user
Copyright © 2004-2009 Joel Knight