diff options
author | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2017-03-17 23:15:09 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2017-03-17 23:15:09 -0700 |
commit | 1eb5130a1c70a7238548d977e9c6f371c007eed7 (patch) | |
tree | ee28aa07cbb52f25b5f468f59ec8d9587edff739 /docs/bsd | |
parent | b62dbec1e23f03ae944b51fc4b510dc56ed9b83e (diff) | |
download | librebootfr-1eb5130a1c70a7238548d977e9c6f371c007eed7.tar.gz librebootfr-1eb5130a1c70a7238548d977e9c6f371c007eed7.zip |
It wasn't me, I swear!
Diffstat (limited to 'docs/bsd')
-rw-r--r-- | docs/bsd/freebsd.md | 30 | ||||
-rw-r--r-- | docs/bsd/index.md | 3 | ||||
-rw-r--r-- | docs/bsd/netbsd.md | 39 | ||||
-rw-r--r-- | docs/bsd/openbsd.md | 39 |
4 files changed, 74 insertions, 37 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 diff --git a/docs/bsd/index.md b/docs/bsd/index.md index e82c4117..af8858bf 100644 --- a/docs/bsd/index.md +++ b/docs/bsd/index.md @@ -17,7 +17,8 @@ instructions have yet to be written.** -Copyright © 2016 Scott Bonds <scott@ggr.com>\ +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 diff --git a/docs/bsd/netbsd.md b/docs/bsd/netbsd.md index 7f4dcd7c..4f276317 100644 --- a/docs/bsd/netbsd.md +++ b/docs/bsd/netbsd.md @@ -57,17 +57,21 @@ Prepare the USB drive (in LibertyBSD or NetBSD) 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:\ +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 -NetBSD installer to it with dd. For example:\ +NetBSD installer to it with dd. For example: + $ doas netbsd.iso of=/dev/rsdXc bs=1M; sync You should now be able to boot the installer from your USB drive. @@ -80,18 +84,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 NetBSD 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=netbsd.iso of=/dev/sdX bs=8M; sync @@ -149,9 +157,12 @@ On your NetBSD 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 "NetBSD" {\ - knetbsd -r wd0a (ahci0,netbsd1)/netbsd\ -}\ +**default=0 timeout=3 menuentry "NetBSD" { + + knetbsd -r wd0a (ahci0,netbsd1)/netbsd + +} + ** The next time you boot, you'll see the old Grub menu for a few seconds, @@ -182,8 +193,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 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 |