OpenBSD is one of the most secure operating systems on the market. Impressive consistency and documentation through man-pages makes this OS one of the easiest to maintain too. OpenBSD/amd64 runs on AMD’s Athlon-64 family of processors in 64-bit mode. It also runs on processors made by other manufacturers which have cloned the AMD64 extensions.

Thankfully to Hetzner’s idea to reuse hardware of terminated products it is still possible to find an economic yet powerful system. It is also reasonable in terms of ecological aspects.

Inspired by The Tor BSD Diversity Project I have decided to run a Tor relay on AMD Athlon 64 6000+ X2 processor.

Server is delivered in rescue system. Connecting over SSH with tunneling of VNC port makes whole installation easy.

# ssh -L 5900:localhost:5900 root@;
Rescue System up since 2019-05-18 12:10 +02:00

Hardware data:

   CPU1: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ (Cores 2)
   Memory:  7729 MB
   Disk /dev/sda: 750 GB doesn't contain a valid partition table
   Disk /dev/sdb: 750 GB doesn't contain a valid partition table
   Total capacity 1397 GiB with 2 Disks

Network data:
   eth0  LINK: yes
         MAC:  00:24:21:2c:62:0d
         IPv6: 2a01:4f8:a0:5163::2/64
         RealTek RTL-8169 Gigabit Ethernet driver

Make sure there is no partition on hardisks nor any software RAID enabled.

Note down the DNS resolvers, the default gateway, IP and IPv6 addresses, and ethernet driver.

# cat /etc/resolv.conf;
# ip route show;
# ifconfig eth0;
# lspci | grep Ethernet;

Install QEMU. It is a generic and open source machine emulator and virtualizer.

# apt-get install qemu;

Download OpenBSD ISO image to install a new system from.

# wget;

Boot dual proccessor virtual machine with 2GB of memory and first disk attached to it. The ISO image is mounted as a CD-ROM and there is a VNC enabled.

# qemu-system-x86_64 -smp cpus=2 -m 2048 -hda /dev/sda -net nic -boot d -vnc localhost:0 -cdrom /root/install65.iso;

Connect your VNC client to localhost:5900 and continue installation normally. Refer to the official INSTALLATION NOTES for OpenBSD/amd64.

The OpenBSD installer will configure virtual network device what needs to be copied to the Realtek later.

# cp hostname.em0 hostname.re0;

Check your default gateway and hostname.

# cat /etc/mygate;
# cat /etc/myname;

Make sure you have the final SSH daemon configuration in place as well.

# vi /etc/ssh/sshd_config;

Halt your QEMU virtual machine and reboot the rescue system.

Next SSH connection will offer new SSH keys and will connect you to the newly installed OpenBSD.

# uname -a'
OpenBSD 6.5 GENERIC.MP#3 amd64
Send me some GRC if you find this content valuable.
Gridcoin wallet - SKfzgU78kcL3gZoiH8nBVkxaEEi3WhL65r