divzeroweb

2f30.org website
git clone git://git.2f30.org/divzeroweb.git
Log | Files | Refs | README | LICENSE

openbsd-dedibox.md (1722B)


      1 ### Installing OpenBSD on Dedibox SC 2016
      2 
      3 This is a quick install guide for those of you who want to run OpenBSD on the
      4 new server boxes from online.net.  I did this on a Dedibox SC SSD 2016.  First
      5 of all you need to install one of the provided OSes in order to access the
      6 rescue mode and serial console KVM on the server status page.  Next, boot into
      7 (Ubuntu) rescue mode, login, and write the OpenBSD install media on disk:
      8 
      9     $ curl -O 'http://ftp.fr.openbsd.org/pub/OpenBSD/5.8/amd64/miniroot58.fs'
     10     $ sudo dd if=miniroot58.fs of=/dev/sda
     11 
     12 Now reboot back into normal mode and access the serial console from your
     13 browser.  If you were not fast enough to see the bootloader prompt, just force
     14 a reboot from the interface.  Note that at the time of writing there is a
     15 glitch on the serial console interface and I see the key `n` being pressed
     16 every few seconds.  Once you get ahold of the bootloader:
     17 
     18     boot> set tty com1
     19     boot> boot
     20 
     21 When you reach the installer prompt, escape to shell.  We need to erase the MBR
     22 because the miniroot image contains a wrong disklabel for our disk.  Then exit
     23 the shell and go for the install option.
     24 
     25     (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s
     26     # dd if=/dev/zero of=/dev/rsd0c bs=1m count=1
     27     1+0 records in
     28     1+0 records out
     29     1048576 bytes transferred in ...
     30     # ^D
     31     (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? i
     32 
     33 Now use the installer as usual.  I got the correct address through DHCP.  The
     34 installer will ask you if you want to use `com1` as the default console.  Say
     35 yes, with the default baud rate, so that you continue to see output in the
     36 KVM-over-IP console.  If you miss that...
     37 
     38 `/etc/boot.conf`:
     39 
     40     set tty com1
     41 
     42 Cheers!
     43 
     44 lostd@