divzeroweb

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

commit dcbd2692622c618283a54e541905647e9c1217d9
parent 10a6f4d30510d99ecf1e995a67fa26f7fde7ccdd
Author: lostd <lostd@2f30.org>
Date:   Wed Mar 23 17:49:33 +0200

Guide for online.net's Dedibox SC 2016

Diffstat:
guides.md | 1+
guides/openbsd-dedibox.md | 41+++++++++++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/guides.md b/guides.md @@ -12,3 +12,4 @@ Just some notes on various useful tasks. * [irix-sgi-o2](guides/irix-sgi-o2.html): Installing IRIX 6.5 to an SGI O2 from the network * [openbsd-httpd-cgit](guides/openbsd-httpd-cgit.html): Configuring httpd, slowcgi and cgit on OpenBSD * [openbsd-gateway](guides/openbsd-gateway.html): Setting up a home gateway with OpenBSD + other goodies + * [openbsd-dedibox](guides/openbsd-dedibox.html): Installing OpenBSD on Dedibox SC 2016 diff --git a/guides/openbsd-dedibox.md b/guides/openbsd-dedibox.md @@ -0,0 +1,41 @@ +### Installing OpenBSD on Dedibox SC 2016 + +This is a quick install guide for those of you who want to run OpenBSD on the +new server boxes from online.net. I did this on a Dedibox SC SSD 2016. First +of all you need to install one of the provided OSes in order to access the +rescue mode and serial console KVM on the server status page. Next, boot into +(Ubuntu) rescue mode, login, and write the OpenBSD install media on disk: + + $ curl -O 'http://ftp.fr.openbsd.org/pub/OpenBSD/5.8/amd64/miniroot58.fs' + $ sudo dd if=miniroot58.fs of=/dev/sda + +Now reboot back into normal mode and access the serial console from your +browser. If you were not fast enough to see the bootloader prompt, just force +a reboot from the interface. Note that at the time of writing there is a +glitch on the serial console interface and I see the key `n` being pressed +every few seconds. Once you get ahold of the bootloader: + + boot> set tty com1 + boot> boot + +When you reach the installer prompt, escape to shell. We need to erase the MBR +because the miniroot image contains a wrong disklabel for our disk. Then exit +the shell and go for the install option. + + (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s + # dd if=/dev/zero of=/dev/rsd0c bs=1m count=1 + ^D + (I)nstall, (U)pgrade, (A)utoinstall or (S)hell? i + +Now use the installer as usual. I got the correct address through DHCP. The +installer will ask you if you want to use `com1` as the default console. Say +yes, with the default baud rate, so that you continue to see output in the +KVM-over-IP console. If you miss that... + +`/etc/boot.conf`: + + set tty com1 + +Cheers! + +lostd@