Skip to content

Instantly share code, notes, and snippets.

@uebayasi
Last active March 19, 2019 05:34
Show Gist options
  • Save uebayasi/6060499 to your computer and use it in GitHub Desktop.
Save uebayasi/6060499 to your computer and use it in GitHub Desktop.
OpenBSD minimal install
  1. Prepare a filesystem for a new root
  • newfs a filesystem and mount and cd there
  1. Fill the new root
  • Extract baseXX.tgz to ${root}
    • doas tar xzpf baseXX.tgz -C ${root}
  • Extract ${root}/var/sysmerge/etc.tgz
    • doas tar xzpf ${root}/var/sysmerge/etc.tgz -C ${root}
  • Copy the kernel to ${root}/bsd
  1. Configure
  • ( cd ${root}/dev && sh MAKEDEV all )
  • vi ${root}/etc/fstab
  • vi ${root}/etc/ttys (enable tty00 etc.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment