www

https://garbash.com/~alex/
git clone git://git.garbash.com/alex/www
Log | Files | Refs | README | LICENSE

002-install.txt (1748B)


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