aboutsummaryrefslogtreecommitdiff
path: root/docs/bsd/netbsd.md
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-17 23:04:16 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-17 23:04:16 -0700
commit29610c6f3b1b1e78ae7cec11b41368fe9d76c6ed (patch)
tree18a7c799c326e9a0a732703f0250b91687033b62 /docs/bsd/netbsd.md
parent556205fc197ee1ef0f77ed382ac9f9ec57068ccf (diff)
downloadlibrebootfr-29610c6f3b1b1e78ae7cec11b41368fe9d76c6ed.tar.gz
librebootfr-29610c6f3b1b1e78ae7cec11b41368fe9d76c6ed.zip
Begin descent from weird command line syntax
Diffstat (limited to 'docs/bsd/netbsd.md')
-rw-r--r--docs/bsd/netbsd.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/bsd/netbsd.md b/docs/bsd/netbsd.md
index 821d7fb9..92204878 100644
--- a/docs/bsd/netbsd.md
+++ b/docs/bsd/netbsd.md
@@ -58,17 +58,17 @@ If you downloaded your ISO on a LibertyBSD or NetBSD system, here is how
to create the bootable NetBSD USB drive:
Connect the USB drive. Check dmesg:\
-**$ dmesg | tail**\
+ $ dmesg | tail
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:\
-**$ doas umount /dev/sd3i**\
+ $ doas umount /dev/sd3i
dmesg told you what device it is. Overwrite the drive, writing the
NetBSD installer to it with dd. For example:\
-**$ doas netbsd.iso of=/dev/rsdXc bs=1M; sync**\
+ $ doas netbsd.iso of=/dev/rsdXc bs=1M; sync
You should now be able to boot the installer from your USB drive.
Continue reading, for information about how to do that.
@@ -81,18 +81,18 @@ If you downloaded your ISO on a GNU+Linux system, here is how to create
the bootable NetBSD USB drive:
Connect the USB drive. Check dmesg:\
-**$ dmesg**\
+ $ dmesg
Check lsblk to confirm which drive it is:\
**$ lsblk**
Check that it wasn't automatically mounted. If it was, unmount it. For
example:\
-**$ sudo umount /dev/sdX***\
+ $ 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:\
-**$ sudo dd if=install60.fs of=/dev/sdX bs=8M; sync**\
+ $ sudo dd if=install60.fs of=/dev/sdX bs=8M; sync
**\# dd if=netbsd.iso of=/dev/sdX bs=8M; sync**
You should now be able to boot the installer from your USB drive.
@@ -107,7 +107,7 @@ Installing NetBSD without full disk encryption
You might have to use an external USB keyboard during the installation.
Press C to access the GRUB terminal.
-grub> **knetbsd -r sd0a (usb0,netbsd1)/netbsd**\
+grub> knetbsd -r sd0a (usb0,netbsd1)/netbsd
grub> **boot**
It will start booting into the NetBSD installer. Follow the normal
@@ -129,7 +129,7 @@ Booting
Press C in GRUB to access the command line:
-grub> **knetbsd -r wd0a (ahci0,netbsd1)/netbsd**\
+grub> knetbsd -r wd0a (ahci0,netbsd1)/netbsd
grub> **boot**
NetBSD will start booting. Yay!