diff options
author | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2017-03-17 22:44:31 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2017-03-17 22:44:31 -0700 |
commit | 60926e9fc770fc1f310306447220cb3740382b00 (patch) | |
tree | 1a1276b32fcc5388165bd42b685c0d9e83380a7b /docs/gnulinux | |
parent | 8022472fef91c59975f4e6d57097081729f87903 (diff) | |
download | librebootfr-60926e9fc770fc1f310306447220cb3740382b00.tar.gz librebootfr-60926e9fc770fc1f310306447220cb3740382b00.zip |
Let markdown handle <> gracefully
Diffstat (limited to 'docs/gnulinux')
-rw-r--r-- | docs/gnulinux/configuring_parabola.md | 6 | ||||
-rw-r--r-- | docs/gnulinux/encrypted_debian.md | 14 | ||||
-rw-r--r-- | docs/gnulinux/encrypted_parabola.md | 30 | ||||
-rw-r--r-- | docs/gnulinux/grub_boot_installer.md | 18 | ||||
-rw-r--r-- | docs/gnulinux/grub_cbfs.md | 6 | ||||
-rw-r--r-- | docs/gnulinux/grub_hardening.md | 6 | ||||
-rw-r--r-- | docs/gnulinux/index.md | 2 |
7 files changed, 41 insertions, 41 deletions
diff --git a/docs/gnulinux/configuring_parabola.md b/docs/gnulinux/configuring_parabola.md index ca7e5417..0162aa0c 100644 --- a/docs/gnulinux/configuring_parabola.md +++ b/docs/gnulinux/configuring_parabola.md @@ -512,7 +512,7 @@ Mostly you will rely on a display manager, but in case you ever want to start X without one:\ \# **pacman -S xorg-xinit** -<optional>\ +<optional>\ Arch wiki recommends installing these, for testing that X works:\ \# **pacman -S xorg-twm xorg-xclock xterm**\ Refer to <https://wiki.archlinux.org/index.php/Xinitrc>. and test X:\ @@ -521,7 +521,7 @@ start X without one:\ session.\ Uninstall them (clutter. eww): \# **pacman -S xorg-xinit xorg-twm xorg-xclock xterm**\ -</optional> +</optional> [Back to top of page.](#pagetop) @@ -737,7 +737,7 @@ theme, in *lxappearance*. -Copyright © 2014, 2015 Leah Rowe <info@minifree.org>\ +Copyright © 2014, 2015 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 diff --git a/docs/gnulinux/encrypted_debian.md b/docs/gnulinux/encrypted_debian.md index 99c3fc47..499f4fbd 100644 --- a/docs/gnulinux/encrypted_debian.md +++ b/docs/gnulinux/encrypted_debian.md @@ -187,12 +187,12 @@ At this point, you will have finished the installation. At your GRUB payload, press C to get to the command line. Do that:\ -grub> **cryptomount -a**\ -grub> **set root='lvm/matrix-rootvol'**\ -grub> **linux /vmlinuz root=/dev/mapper/matrix-rootvol +grub> **cryptomount -a**\ +grub> **set root='lvm/matrix-rootvol'**\ +grub> **linux /vmlinuz root=/dev/mapper/matrix-rootvol cryptdevice=/dev/mapper/matrix-rootvol:root**\ -grub> **initrd /initrd.img**\ -grub> **boot** +grub> **initrd /initrd.img**\ +grub> **boot** @@ -208,7 +208,7 @@ Immediately after logging in, do that:\ This will be needed in the future if you ever need to recover your home directory from another system, so write it down and keep the note somewhere secret. Ideally, you should memorize it and then burn the note -(or not even write it down, and memorize it still)> +(or not even write it down, and memorize it still)> @@ -328,7 +328,7 @@ problems. Removing that worked around the issue. -Copyright © 2014, 2015, 2016 Leah Rowe <info@minifree.org>\ +Copyright © 2014, 2015, 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 diff --git a/docs/gnulinux/encrypted_parabola.md b/docs/gnulinux/encrypted_parabola.md index c743459f..99be254a 100644 --- a/docs/gnulinux/encrypted_parabola.md +++ b/docs/gnulinux/encrypted_parabola.md @@ -85,7 +85,7 @@ header. showed me how to do this. It recommends doing the first 3MiB. Now, that guide is recommending putting zero there. I'm going to use urandom. Do this:\ -\# **head -c 3145728 /dev/urandom > /dev/sda; sync**\ +\# **head -c 3145728 /dev/urandom > /dev/sda; sync**\ (Wiping the LUKS header is important, since it has hashed passphrases and so on. It's 'secure', but 'potentially' a risk). @@ -266,7 +266,7 @@ again)\ In my case I did the steps in the next paragraph, and followed the steps in this paragraph again. -<troubleshooting>\ +<troubleshooting>\ The following is based on 'Verification of package signatures' in the Parabola install guide.\ Check there first to see if steps differ by now.\ @@ -281,7 +281,7 @@ key and, therefore, you should do:\ To be honest, you should do the above anyway. Parabola has a lot of maintainers, and a lot of keys. Really!\ If you get an error mentioning dirmngr, do:\ - \# **dirmngr </dev/null**\ + \# **dirmngr </dev/null**\ Also, it says that if the clock is set incorrectly then you have to manually set the correct time\ (if keys are listed as expired because of it):\ @@ -297,7 +297,7 @@ Specifically, I had this error:\ I rm -Rf'd the file and then pacman worked. I'm told that the following would have also made it work:\ \# **pacman -Sf licenses**\ -</troubleshooting>\ +</troubleshooting>\ I also like to install other packages (base-devel, compilers and so on) and wpa\_supplicant/dialog/iw/wpa\_actiond are needed for wireless after @@ -313,7 +313,7 @@ Configure the system Generate an fstab - UUIDs are used because they have certain advantages (see <https://wiki.parabola.nu/Fstab#Identifying_filesystems>. If you prefer labels instead, replace the -U option with -L):\ -\# **genfstab -U -p /mnt >> /mnt/etc/fstab**\ +\# **genfstab -U -p /mnt >> /mnt/etc/fstab**\ Check the created file:\ \# **cat /mnt/etc/fstab**\ (If there are any errors, edit the file. Do **NOT** run the genfstab @@ -342,7 +342,7 @@ Locale:\ Uncomment your needed localisations. For example en\_GB.UTF-8 (UTF-8 is highly recommended over other options).\ \# **locale-gen**\ -\# **echo LANG=en\_GB.UTF-8 > /etc/locale.conf**\ +\# **echo LANG=en\_GB.UTF-8 > /etc/locale.conf**\ \# **export LANG=en\_GB.UTF-8** Console font and keymap:\ @@ -361,7 +361,7 @@ Hardware clock:\ Hostname: Write your hostname to /etc/hostname. For example, if your hostname is parabola:\ -\# **echo parabola > /etc/hostname**\ +\# **echo parabola > /etc/hostname**\ Add the same hostname to /etc/hosts:\ \# **vi /etc/hosts**\ @@ -477,12 +477,12 @@ Initially you will have to boot manually. Press C to get to the GRUB command line. The underlined parts are optional (using those 2 underlines will boot lts kernel instead of normal). -grub> **cryptomount -a**\ -grub> **set root='lvm/matrix-root'**\ -grub> **linux /boot/vmlinuz-linux-libre-lts root=/dev/matrix/root +grub> **cryptomount -a**\ +grub> **set root='lvm/matrix-root'**\ +grub> **linux /boot/vmlinuz-linux-libre-lts root=/dev/matrix/root cryptdevice=/dev/sda1:root**\ -grub> **initrd /boot/initramfs-linux-libre-lts.img**\ -grub> **boot**\ +grub> **initrd /boot/initramfs-linux-libre-lts.img**\ +grub> **boot**\ You could also make it load /boot/vmlinuz-linux-libre-grsec and /boot/initramfs-linux-libre-grsec.img @@ -598,7 +598,7 @@ this guide again in the future (modifying the already modified config). Inside libreboot\_util/cbfstool/{armv7l i686 x86\_64}, we can do this with the following command:\ \$ **sed -e 's:(cbfsdisk)/grub.cfg:(cbfsdisk)/grubtest.cfg:g' -e -'s:Switch to grub.cfg:Switch to grubtest.cfg:g' < grubtest.cfg > +'s:Switch to grub.cfg:Switch to grubtest.cfg:g' < grubtest.cfg > grub.cfg**\ Delete the grub.cfg that remained inside the ROM:\ \$ **./cbfstool libreboot.rom remove -n grub.cfg**\ @@ -755,8 +755,8 @@ problems. Removing that worked around the issue. -Copyright © 2014, 2015, 2016 Leah Rowe <info@minifree.org>\ -Copyright © 2015 Jeroen Quint <jezza@diplomail.ch>\ +Copyright © 2014, 2015, 2016 Leah Rowe <info@minifree.org>\ +Copyright © 2015 Jeroen Quint <jezza@diplomail.ch>\ 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/gnulinux/grub_boot_installer.md b/docs/gnulinux/grub_boot_installer.md index c62ac863..5f34a6ab 100644 --- a/docs/gnulinux/grub_boot_installer.md +++ b/docs/gnulinux/grub_boot_installer.md @@ -148,13 +148,13 @@ distribution it is that you are trying to install.* If the ISOLINUX parser or *Search for GRUB configuration* options won't work, then press C in GRUB to access the command line.\ -grub> **ls**\ +grub> **ls**\ Get the device from above output, eg (usb0). Example:\ -grub> **cat (usb0)/isolinux/isolinux.cfg**\ +grub> **cat (usb0)/isolinux/isolinux.cfg**\ Either this will show the ISOLINUX menuentries for that ISO, or link to other .cfg files, for example /isolinux/foo.cfg.\ If it did that, then you do:\ -grub> **cat (usb0)/isolinux/foo.cfg**\ +grub> **cat (usb0)/isolinux/foo.cfg**\ And so on, until you find the correct menuentries for ISOLINUX. **The file */isolinux/foo.cfg* is a fictional example. Do not actually use this example, unless you actually have that file, if it is @@ -175,10 +175,10 @@ Now look at the ISOLINUX menuentry. It'll look like:\ append PARAMETERS initrd=/path/to/initrd MAYBE\_MORE\_PARAMETERS\ ** GRUB works the same way, but in it's own way. Example GRUB commands:\ -grub> **set root='usb0'**\ -grub> **linux /path/to/kernel PARAMETERS MAYBE\_MORE\_PARAMETERS**\ -grub> **initrd /path/to/initrd**\ -grub> **boot**\ +grub> **set root='usb0'**\ +grub> **linux /path/to/kernel PARAMETERS MAYBE\_MORE\_PARAMETERS**\ +grub> **initrd /path/to/initrd**\ +grub> **boot**\ Note: *usb0* may be incorrect. Check the output of the *ls* command in GRUB, to see a list of USB devices/partitions. Of course this will vary from distro to distro. If you did all of that correctly, then it should @@ -232,8 +232,8 @@ debian-installer (text mode) net install method. -Copyright © 2014, 2015, 2016 Leah Rowe <info@minifree.org>\ -Copyright © 2016 Scott Bonds <scott@ggr.com>\ +Copyright © 2014, 2015, 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/gnulinux/grub_cbfs.md b/docs/gnulinux/grub_cbfs.md index e5b6a9b0..43857984 100644 --- a/docs/gnulinux/grub_cbfs.md +++ b/docs/gnulinux/grub_cbfs.md @@ -226,7 +226,7 @@ to grubtest.cfg, so that you don't have to manually switch to it, in case you ever want to follow this guide again in the future (modifying the already modified config). From /libreboot\_util/cbfstool, do:\ \$ **sed -e 's:(cbfsdisk)/grub.cfg:(cbfsdisk)/grubtest.cfg:g' -e -'s:Switch to grub.cfg:Switch to grubtest.cfg:g' < grubtest.cfg > +'s:Switch to grub.cfg:Switch to grubtest.cfg:g' < grubtest.cfg > grub.cfg**\ Delete the grub.cfg that remained inside the ROM:\ @@ -244,8 +244,8 @@ boot up with your new configuration.** -Copyright © 2014, 2015 Leah Rowe <info@minifree.org>\ -Copyright © 2015 Jeroen Quint <jezza@diplomail.ch>\ +Copyright © 2014, 2015 Leah Rowe <info@minifree.org>\ +Copyright © 2015 Jeroen Quint <jezza@diplomail.ch>\ 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/gnulinux/grub_hardening.md b/docs/gnulinux/grub_hardening.md index 78cd86a2..26de1399 100644 --- a/docs/gnulinux/grub_hardening.md +++ b/docs/gnulinux/grub_hardening.md @@ -57,7 +57,7 @@ signature checking can be disabled through the interactive console: This is good in that it allows you to occasionally boot unsigned liveCDs and such. You may think of supplying signatures on an usb key, but the signature checking code currently looks for -</path/to/filename>.sig when verifying </path/to/filename> +</path/to/filename>.sig when verifying </path/to/filename> and as such it is not possible to supply signatures in an alternate location. @@ -79,7 +79,7 @@ remember and easier to crack. Diceware passphrases are harder to crack because of far higher entropy (there are many words available to use, but only about 50 commonly used symbols in pass*words*). -\--> +\--> The GRUB password can be entered in two ways: - plaintext @@ -188,7 +188,7 @@ What remains now is to include the modifications into the image (rom): -Copyright © 2017 Fedja Beader <fedja@protonmail.ch>\ +Copyright © 2017 Fedja Beader <fedja@protonmail.ch>\ 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/gnulinux/index.md b/docs/gnulinux/index.md index 65fbfccd..b423bfbb 100644 --- a/docs/gnulinux/index.md +++ b/docs/gnulinux/index.md @@ -25,7 +25,7 @@ instructions have yet to be written.** -Copyright © 2014, 2015 Leah Rowe <info@minifree.org>\ +Copyright © 2014, 2015 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 |