Site Map - skip to main content - dyslexic font - mobile - text - print

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr2181 :: Install OpenBSD from Linux using Grub

Install OpenBSD from Linux using Grub

<< First, < Previous, Latest >>

Hosted by norrist on 2016-12-12 is flagged as Clean and is released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. | Comments (1)

Install OpenBSD from Linux using Grub

Why OpenBSD

Tune in for another episode.

Why install from linux

  • Most VPS providers have images for linux, but not OpenBSD
  • Easier than trying to upload custom image or iso.

Grub2

  • Start with a distro that uses grub2. I use Centos7
  • grub2 can load OpenBSD kernels.
  • The openbsd installer is a OpenBSD kernel.

Procedure

  1. Make sure you have console access to the linux VM
  2. Record the Network info for the running linux VM. If not using DHCP, you will need to know the IP, netmask, default route (gateway), and a DNS server.
  3. Download the OpenBSD installation ram disk to /boot

    cd /boot
    wget http://ftp5.usa.openbsd.org/pub/OpenBSD/6.0/amd64/bsd.rd
  4. Reboot
  5. Enter the grub command prompt by pressing c at the grub menu
  6. The grub2 prompt has tab completion which can be helpful.
  7. Type ls to see the available disks
  8. Load the OpenBSD installation ram disk and boot

    grub> set root=(hd0,msdos1)
    grub> kopenbsd /bsd.rd
    grub> boot

The Installation

  • The Installer will ask you several questions
  • The default is almost always what you want. If unsure, just press enter.
  • Look at the FAQ if you get stuck
  • Enter the network settings of the linux VPS
  • When asked "Location of sets", use HTTP

Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2016-11-19T22:59:17Z by sigflup

openbsd!!

Nice to see people running openbsd!!!

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to
record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the P in HPR stand for ?
Are you a spammer →
Who hosted this show →
What does HPR mean to you ?