002-install.md (1776B) [raw]
1 --- 2 title: 002-install 3 --- 4 5 # 002-install 6 7 Tues Sept 21, 2021 8 9 I'm a huge fan of OpenBSD. The simplicity of the system, the cohesive 10 feel it has, the proactive stance on security... when we decided we'd 11 set up a tilde, I knew I wanted it to be on OpenBSD. 12 13 The only problem? My preferred registrar (Linode) doesn't support it! 14 15 Fortunately there's a comprehensive post on the Linode forum of how to 16 do it [1]. 17 18 It took us ~45m, the longest OpenBSD install I've had since I first 19 flashed it on an old thinkpad. 40m of that was waiting for the node to 20 boot and reboot, etc (we kept messing up the configuration). 21 22 1. Create a New Linode (any OS will do) 23 2. Once booted, shut it down 24 3. Under the "Storage" tab delete the ext4 partitions 25 4. Create two new disks, both "Raw" format: 26 - One labeled "install", 1GB (could do less) 27 - One labeled "os", the rest of the space 28 5. Boot in "Rescue" mode 29 6. In the serial console, wget the minirootXX.img 30 - Check the sha256 against the SHA256 file 31 - Check the signature using signify (on a different machine that 32 has signify) 33 7. Find the install disk with `lsblk` 34 8. Flash the img using: `dd if=minirootXX.img of=/dev/sdX bs=1M` 35 9. In the Configurations tab, create a new one: 36 - Full Virtualization 37 - Select a Kernel > Direct Disk 38 - /dev/sda - os 39 - /dev/sdb - install 40 - boot from sdb 41 10. Reboot into configuration, install OpenBSD from serial console 42 11. Halt/shutdown, and change configuration to boot from sda 43 12. Rejoice! 44 45 In our case, our main problem was that we skipped the "Direct Disk" 46 kernel step so we were booting a Linux kernel and trying to load the 47 img... it panic'd every time! Took us a few boots to figure that out :) 48 49 [1]: https://www.linode.com/community/questions/10329/openbsd-on-linode