Title here
Summary here
commands
# list disks
> sysctl hw.disknames
# add floating ip in Hetzner Cloud
> vi /etc/hostname.vio0
inet alias <IP_Address> xfffffff
inet6 autoconf
> echo 'permit <username> 300' > /etc/doas.conf
> echo 'permit nopass keepenv root as root' >> /etc/doas.conf
# boot in secure mode
> boot -s
# mount system
> mount -uw /
# mount specific partitions if seperatly mounted
> mount /usr
# set new passwd eg.
> passwd
# reboot system
> reboot
> disklabel -E sd0
...
sd0> p g
OpenBSD area: 64-104856255; size: 50.0G; free: 0.0G
# size offset fstype [fsize bsize cpg]
a: 10.0G 64 4.2BSD 2048 16384 12960 # /
b: 2.0G 20971296 swap # none
c: 50.0G 0 unused
d: 3.0G 41961760 4.2BSD 2048 16384 12960 # /tmp
e: 5.0G 25173856 4.2BSD 2048 16384 12960 # /usr
f: 3.0G 35664288 4.2BSD 2048 16384 12960 # /home
g: 27.0G 41961760 4.2BSD 2048 16384 12960 # /var
files
# mirror file
> /etc/installurl