aboutsummaryrefslogtreecommitdiff
path: root/docs/bsd/openbsd.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/bsd/openbsd.md')
-rw-r--r--docs/bsd/openbsd.md39
1 files changed, 26 insertions, 13 deletions
diff --git a/docs/bsd/openbsd.md b/docs/bsd/openbsd.md
index 50904bb9..29b8461f 100644
--- a/docs/bsd/openbsd.md
+++ b/docs/bsd/openbsd.md
@@ -39,17 +39,21 @@ Prepare the USB drive (in LibertyBSD or OpenBSD)
If you downloaded your ISO on a LibertyBSD or OpenBSD system, here is
how to create the bootable LibertyBSD/OpenBSD USB drive:
-Connect the USB drive. Check dmesg:\
+Connect the USB drive. Check dmesg:
+
$ dmesg | tail
-Check to confirm which drive it is, for example, if you think its sd3:\
+Check to confirm which drive it is, for example, if you think its sd3:
+
$ disklabel sd3
Check that it wasn't automatically mounted. If it was, unmount it. For
-example:\
+example:
+
$ doas umount /dev/sd3i
dmesg told you what device it is. Overwrite the drive, writing the
-OpenBSD installer to it with dd. For example:\
+OpenBSD installer to it with dd. For example:
+
$ doas dd if=install60.fs of=/dev/rsdXc bs=1M; sync
You should now be able to boot the installer from your USB drive.
@@ -79,18 +83,22 @@ Prepare the USB drive (in GNU+Linux)
If you downloaded your ISO on a GNU+Linux system, here is how to create
the bootable OpenBSD USB drive:
-Connect the USB drive. Check dmesg:\
+Connect the USB drive. Check dmesg:
+
$ dmesg
-Check lsblk to confirm which drive it is:\
+Check lsblk to confirm which drive it is:
+
$ lsblk
Check that it wasn't automatically mounted. If it was, unmount it. For
-example:\
+example:
+
$ sudo umount /dev/sdX*
# umount /dev/sdX*
dmesg told you what device it is. Overwrite the drive, writing your
-distro ISO to it with dd. For example:\
+distro ISO to it with dd. For example:
+
$ sudo dd if=install60.fs of=/dev/sdX bs=8M; sync
# dd if=install60.fs of=/dev/sdX bs=8M; sync
@@ -170,9 +178,12 @@ On your OpenBSD root partition, create the **/grub** directory and add
the file **libreboot\_grub.cfg** to it. Inside the
**libreboot\_grub.cfg** add these lines:
-**default=0 timeout=3 menuentry "OpenBSD" {\
-    kopenbsd -r sd0a (ahci0,openbsd1)/bsd\
-}\
+**default=0 timeout=3 menuentry "OpenBSD" {
+
+    kopenbsd -r sd0a (ahci0,openbsd1)/bsd
+
+}
+
**
The next time you boot, you'll see the old Grub menu for a few seconds,
@@ -203,8 +214,10 @@ numbers may differ. Use TAB completion.
-Copyright © 2016 Scott Bonds <scott@ggr.com>\
-Copyright © 2016 Leah Rowe <info@minifree.org>\
+Copyright © 2016 Scott Bonds <scott@ggr.com>
+
+Copyright © 2016 Leah Rowe <info@minifree.org>
+
Permission is granted to copy, distribute and/or modify this document
under the terms of the Creative Commons Attribution-ShareAlike 4.0
International license or any later version published by Creative