Lazy for how to upgrade from OpenBSD 5.7 to 5.7-snapshot
(Installation instruction of OpenBSD as XEN-HVM)
Preparations¶
Download 5.7-snapshot versions of install57.iso
and SHA256.sig
.
Store install57.iso
on the dom0
scp the SHA256.sig
file into the OpenBSD domU
Restart the OpenBSD HVM-domU with the CD attached from dom0.
Mount CD in OpenBSD
mount_cd9660 /dev/cd0 /mnt/
Validate the CD with signify
and the earlier transfered SHA256.sig file
cd /mnt/5.7/<arch> signify -C -p /etc/signify/openbsd-57-base.pub -x <path to sig file>/SHA256.sig
Upgrade¶
Upgrade the "RAM Disk" kernel
cp /mnt/5.7/<arch>/bsd.rd /
Connect with VNC and reboot and reconnect again with VNC when diconnected.
At the boot>
prompt type boot bsd.rd
When bsd.rd has booted into the installer, choose (U)pgrade
When prompted select cd0
as upgrade source
At the end of the upgrade type reboot
Merge changes to /etc¶
Note: you can do this part via ssh (no need for VNC)
After reboot do a sysmerge
to upgrade and merge config-files in the /etc/
directory.