aboutsummaryrefslogtreecommitdiff
path: root/docs/bsd/freebsd.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/bsd/freebsd.md')
-rw-r--r--docs/bsd/freebsd.md21
1 files changed, 14 insertions, 7 deletions
diff --git a/docs/bsd/freebsd.md b/docs/bsd/freebsd.md
index 31d9df17..50923d26 100644
--- a/docs/bsd/freebsd.md
+++ b/docs/bsd/freebsd.md
@@ -63,15 +63,18 @@ 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.
@@ -85,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