aboutsummaryrefslogtreecommitdiff
path: root/docs/bsd/freebsd.md
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-17 23:15:09 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-17 23:15:09 -0700
commit1eb5130a1c70a7238548d977e9c6f371c007eed7 (patch)
treeee28aa07cbb52f25b5f468f59ec8d9587edff739 /docs/bsd/freebsd.md
parentb62dbec1e23f03ae944b51fc4b510dc56ed9b83e (diff)
downloadlibrebootfr-1eb5130a1c70a7238548d977e9c6f371c007eed7.tar.gz
librebootfr-1eb5130a1c70a7238548d977e9c6f371c007eed7.zip
It wasn't me, I swear!
Diffstat (limited to 'docs/bsd/freebsd.md')
-rw-r--r--docs/bsd/freebsd.md30
1 files changed, 20 insertions, 10 deletions
diff --git a/docs/bsd/freebsd.md b/docs/bsd/freebsd.md
index a2691704..f6b8f76a 100644
--- a/docs/bsd/freebsd.md
+++ b/docs/bsd/freebsd.md
@@ -61,17 +61,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 FreeBSD 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
-FreeBSD installer to it with dd. For example:\
+FreeBSD installer to it with dd. For example:
+
$ doas dd if=freebsd.img of=/dev/rsdXc bs=1M; sync
You should now be able to boot the installer from your USB drive.
@@ -84,18 +88,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 FreeBSD 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=freebsd.img of=/dev/sdX bs=8M; sync
# dd if=freebsd.img of=/dev/sdX bs=8M; sync
@@ -165,8 +173,10 @@ numbers may differ. Use TAB completion.
-Copyright © 2016 Leah Rowe <info@minifree.org>\
-Copyright © 2016 Scott Bonds <scott@ggr.com>\
+Copyright © 2016 Leah Rowe <info@minifree.org>
+
+Copyright © 2016 Scott Bonds <scott@ggr.com>
+
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