diff options
author | Julien Dessaux | 2021-04-21 11:07:38 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-04-21 11:33:47 +0200 |
commit | be3936c9d8f72d2d76fe832971a3e642c2d56c6d (patch) | |
tree | c339f86c43e7f1a06d1fbac10d899a6dd31f3adf /content/docs | |
parent | Added book article (diff) | |
download | www-be3936c9d8f72d2d76fe832971a3e642c2d56c6d.tar.gz www-be3936c9d8f72d2d76fe832971a3e642c2d56c6d.tar.bz2 www-be3936c9d8f72d2d76fe832971a3e642c2d56c6d.zip |
Added article
Diffstat (limited to '')
-rw-r--r-- | content/docs/openbsd/install_from_linux.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/content/docs/openbsd/install_from_linux.md b/content/docs/openbsd/install_from_linux.md new file mode 100644 index 0000000..ff6c782 --- /dev/null +++ b/content/docs/openbsd/install_from_linux.md @@ -0,0 +1,28 @@ +--- +title: Install OpenBSD from linux +description: How to install OpenBSD at hosting providers that do not support it +--- + +## Introduction + +This article explains a simple method to install OpenBSD when all you have is a linux and a remote console. + +## How to + +First login as root on the linux you want to reinstall as Openbsd then fetch the installer : +{{< highlight sh >}} +curl https://cdn.openbsd.org/pub/OpenBSD/6.8/amd64/bsd.rd -o /bsd.rd +{{< /highlight >}} + +Then edit the loader configuration, in this example grub2 : +{{< highlight sh >}} +echo ' +menuentry "OpenBSD" { + set root=(hd0,msdos1) + kopenbsd /bsd.rd +}' >> /etc/grub.d/40_custom +echo 'GRUB_TIMEOUT=60' >> /etc/default/grub +grub2-mkconfig > /boot/grub2/grub.cfg +{{< /highlight >}} + +If you reboot now and connect your remote console you should be able to boot the OpenBSD installer. |