From 29610c6f3b1b1e78ae7cec11b41368fe9d76c6ed Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 17 Mar 2017 23:04:16 -0700 Subject: Begin descent from weird command line syntax --- docs/bsd/netbsd.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'docs/bsd/netbsd.md') 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! -- cgit v1.2.3-70-g09d2