aboutsummaryrefslogtreecommitdiff
path: root/docs/gnulinux
diff options
context:
space:
mode:
Diffstat (limited to 'docs/gnulinux')
-rw-r--r--docs/gnulinux/configuring_parabola.md8
-rw-r--r--docs/gnulinux/encrypted_debian.md4
-rw-r--r--docs/gnulinux/encrypted_parabola.md20
-rw-r--r--docs/gnulinux/grub_boot_installer.md18
-rw-r--r--docs/gnulinux/grub_cbfs.md22
-rw-r--r--docs/gnulinux/index.md2
6 files changed, 37 insertions, 37 deletions
diff --git a/docs/gnulinux/configuring_parabola.md b/docs/gnulinux/configuring_parabola.md
index 0162aa0c..befe5b9a 100644
--- a/docs/gnulinux/configuring_parabola.md
+++ b/docs/gnulinux/configuring_parabola.md
@@ -306,7 +306,7 @@ Restart journald:\
\# **systemctl restart systemd-journald**
The wiki recommends that if the journal gets too large, you can also
-simply delete (rm -Rf) everything inside /var/log/journald/\* but
+simply delete (rm -Rf) everything inside /var/log/journald/* but
recommends backing it up. This shouldn't be necessary, since you
already set the size limit above and systemd will automatically start to
delete older records when the journal size reaches it's limit
@@ -591,7 +591,7 @@ I didn't want the following, so I removed them:\
\# **pacman -R lxmusic lxtask**
I also lazily installed all fonts:\
-\# **pacman -S \$(pacman -Ssq ttf-)**
+\# **pacman -S $(pacman -Ssq ttf-)**
And a mail client:\
\# **pacman -S icedove**
@@ -613,7 +613,7 @@ start lxde without lxdm. Read
<https://wiki.archlinux.org/index.php/Xinitrc>.
Open LXterminal:\
-\$ **cp /etc/skel/.xinitrc \~**\
+$ **cp /etc/skel/.xinitrc \~**\
Open .xinitrc and add the following plus a line break at the bottom of
the file.\
*\# Probably not needed. The same locale info that we set before\
@@ -624,7 +624,7 @@ export LANG=en\_GB.UTF-8\
\# Start lxde desktop\
exec startlxde\
* Now make sure that it is executable:\
-\$ **chmod +x .xinitrc**
+$ **chmod +x .xinitrc**
[Back to top of page.](#pagetop)
diff --git a/docs/gnulinux/encrypted_debian.md b/docs/gnulinux/encrypted_debian.md
index 499f4fbd..58644179 100644
--- a/docs/gnulinux/encrypted_debian.md
+++ b/docs/gnulinux/encrypted_debian.md
@@ -36,7 +36,7 @@ boot**
[This guide](grub_boot_installer.html) shows how to create a boot USB
drive with the Debian ISO image.
-**This guide is \*only\* for the GRUB payload. If you use the
+**This guide is *only* for the GRUB payload. If you use the
depthcharge payload, ignore this section entirely.**
Note: on some thinkpads, a faulty DVD drive can cause the cryptomount -a
@@ -203,7 +203,7 @@ If you didn't encrypt your home directory, then you can safely ignore
this section.
Immediately after logging in, do that:\
-\$ **sudo ecryptfs-unwrap-passphrase**
+$ **sudo ecryptfs-unwrap-passphrase**
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
diff --git a/docs/gnulinux/encrypted_parabola.md b/docs/gnulinux/encrypted_parabola.md
index 99be254a..0c4bfca7 100644
--- a/docs/gnulinux/encrypted_parabola.md
+++ b/docs/gnulinux/encrypted_parabola.md
@@ -17,7 +17,7 @@ volume. Not so with libreboot! Since GRUB is already included directly
as a payload, even /boot can be encrypted. This protects /boot from
tampering by someone with physical access to the system.
-**This guide is \*only\* for the GRUB payload. If you use the
+**This guide is *only* for the GRUB payload. If you use the
depthcharge payload, ignore this section entirely.**
This guide is intended for the Parabola distribution, but it should also
@@ -526,11 +526,11 @@ If flashrom complains about multiple flash chips detected, add a *-c*
option at the end, with the name of your chosen chip is quotes.\
You can check if everything is in there (*grub.cfg* and *grubtest.cfg*
would be really nice):\
-\$ **./cbfstool libreboot.rom print**\
+$ **./cbfstool libreboot.rom print**\
Extract grubtest.cfg:\
-\$ **./cbfstool libreboot.rom extract -n grubtest.cfg -f grubtest.cfg**\
+$ **./cbfstool libreboot.rom extract -n grubtest.cfg -f grubtest.cfg**\
And modify:\
-\$ **vi grubtest.cfg**
+$ **vi grubtest.cfg**
In grubtest.cfg, inside the 'Load Operating System' menu entry, change
the contents to:
@@ -559,9 +559,9 @@ hardening your GRUB configuration, for security purposes.
Save your changes in grubtest.cfg, then delete the unmodified config
from the ROM image:\
-\$ **./cbfstool libreboot.rom remove -n grubtest.cfg**\
+$ **./cbfstool libreboot.rom remove -n grubtest.cfg**\
and insert the modified grubtest.cfg:\
-\$ **./cbfstool libreboot.rom add -n grubtest.cfg -f grubtest.cfg -t
+$ **./cbfstool libreboot.rom add -n grubtest.cfg -f grubtest.cfg -t
raw**\
Now refer to <http://libreboot.org/docs/install/#flashrom>. Cd (up) to
@@ -584,7 +584,7 @@ LUKS passphrase and login as root/your user. All went well? Great!
If it does not work like you want it to, if you are unsure or sceptical
in any way, don't despair: you have been wise and did not brick your
device! Reboot and login the default way, and then modify your
-grubtest.cfg until you get it right! **Do \*not\* proceed past this
+grubtest.cfg until you get it right! **Do *not* proceed past this
point unless you are 100% sure that your new configuration is safe (or
desirable) to use.**
@@ -597,13 +597,13 @@ 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).
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
+$ **sed -e 's:(cbfsdisk)/grub.cfg:(cbfsdisk)/grubtest.cfg:g' -e
'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**\
+$ **./cbfstool libreboot.rom remove -n grub.cfg**\
Add the modified version that you just made:\
-\$ **./cbfstool libreboot.rom add -n grub.cfg -f grub.cfg -t raw**\
+$ **./cbfstool libreboot.rom add -n grub.cfg -f grub.cfg -t raw**\
Now you have a modified ROM. Once more, refer to
<http://libreboot.org/docs/install/#flashrom>. Cd to the libreboot\_util
diff --git a/docs/gnulinux/grub_boot_installer.md b/docs/gnulinux/grub_boot_installer.md
index 5f34a6ab..64fe7d1a 100644
--- a/docs/gnulinux/grub_boot_installer.md
+++ b/docs/gnulinux/grub_boot_installer.md
@@ -31,18 +31,18 @@ If you downloaded your ISO on an existing GNU+Linux system, here is how
to create the bootable GNU+Linux USB drive:
Connect the USB drive. Check dmesg:\
-**\$ dmesg**\
+**$ dmesg**\
Check lsblk to confirm which drive it is:\
-**\$ lsblk**
+**$ lsblk**
Check that it wasn't automatically mounted. If it was, unmount it. For
example:\
-**\$ sudo umount /dev/sdX\***\
-**\# 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=gnulinux.iso of=/dev/sdX bs=8M; sync**\
+**$ sudo dd if=gnulinux.iso of=/dev/sdX bs=8M; sync**\
**\# dd if=gnulinux.iso of=/dev/sdX bs=8M; sync**
You should now be able to boot the installer from your USB drive.
@@ -74,17 +74,17 @@ If you downloaded your ISO on a LibertyBSD or OpenBSD system, here is
how to create the bootable GNU+Linux 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**
+**$ 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
OpenBSD installer to it with dd. For example:\
-**\$ doas dd if=gnulinux.iso of=/dev/rsdXc bs=1M; sync**\
+**$ doas dd if=gnulinux.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.
diff --git a/docs/gnulinux/grub_cbfs.md b/docs/gnulinux/grub_cbfs.md
index 43857984..692f89e6 100644
--- a/docs/gnulinux/grub_cbfs.md
+++ b/docs/gnulinux/grub_cbfs.md
@@ -24,7 +24,7 @@ the libreboot GRUB payload will automatically search for.
Here is an excellent writeup about CBFS (coreboot filesystem):
<http://lennartb.home.xs4all.nl/coreboot/col5.html>.
-**This guide is \*only\* for the GRUB payload. If you use the
+**This guide is *only* for the GRUB payload. If you use the
depthcharge payload, ignore this section entirely.**
[Back to previous index](./)
@@ -141,7 +141,7 @@ image file is named *libreboot.rom*, so please make sure to adapt.
ROM images are included pre-compiled in libreboot. You can also dump
your current firmware, using flashrom:\
-\$ **sudo flashrom -p internal -r libreboot.rom**\
+$ **sudo flashrom -p internal -r libreboot.rom**\
\# **flashrom -p internal -r libreboot.rom**\
If you are told to specify the chip, add the option **-c {your chip}**
to the command, for example:\
@@ -155,7 +155,7 @@ Extract grubtest.cfg from the ROM image {#extract_testconfig}
---------------------------------------
You can check the contents of the ROM image, inside CBFS:\
-**\$ cd \.../libreboot\_util/cbfstool** **\$ ./cbfstool libreboot.rom
+**$ cd \.../libreboot\_util/cbfstool** **$ ./cbfstool libreboot.rom
print**
The files *grub.cfg* and *grubtest.cfg* should be present. grub.cfg is
@@ -164,7 +164,7 @@ this tutorial, you will first modify and test *grubtest.cfg*. This is to
reduce the possibility of bricking your device, so DO NOT SKIP THIS!
Extract grubtest.cfg from the ROM image:\
-**\$ ./cbfstool libreboot.rom extract -n grubtest.cfg -f grubtest.cfg**
+**$ ./cbfstool libreboot.rom extract -n grubtest.cfg -f grubtest.cfg**
Modify the grubtest.cfg accordingly.
@@ -177,10 +177,10 @@ Re-insert the modified grubtest.cfg into the ROM image {#reinsert_modified_testc
Once your grubtest.cfg is modified and saved, delete the unmodified
config from the ROM image:\
-**\$ ./cbfstool libreboot.rom remove -n grubtest.cfg**
+**$ ./cbfstool libreboot.rom remove -n grubtest.cfg**
Next, insert the modified version:\
-**\$ ./cbfstool libreboot.rom add -n grubtest.cfg -f grubtest.cfg -t
+**$ ./cbfstool libreboot.rom add -n grubtest.cfg -f grubtest.cfg -t
raw**
[Back to top of page.](#pagetop)
@@ -193,7 +193,7 @@ Testing
**Now you have a modified ROM. Refer back to
[../install/\#flashrom](../install/#flashrom) for information on how to
flash it.\
-\$ **cd /libreboot\_util** \# **./flash update libreboot.rom**\
+$ **cd /libreboot\_util** \# **./flash update libreboot.rom**\
Ocassionally, coreboot changes the name of a given board. If flashrom
complains about a board mismatch, but you are sure that you chose the
correct ROM image, then run this alternative command:\
@@ -207,7 +207,7 @@ works, then your config is safe and you can continue below.
**If it does not work like you want it to, if you are unsure or
sceptical in any way, then re-do the steps above until you get it right!
-Do \*not\* proceed past this point unless you are 100% sure that your
+Do *not* proceed past this point unless you are 100% sure that your
new configuration is safe (or desirable) to use.**
[Back to top of page.](#pagetop)
@@ -225,15 +225,15 @@ grubtest.cfg. This is so that the main config still links (in the menu)
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
+$ **sed -e 's:(cbfsdisk)/grub.cfg:(cbfsdisk)/grubtest.cfg:g' -e
'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**
+**$ ./cbfstool libreboot.rom remove -n grub.cfg**
Add the modified version that you just made:\
-**\$ ./cbfstool libreboot.rom add -n grub.cfg -f grub.cfg -t raw**
+**$ ./cbfstool libreboot.rom add -n grub.cfg -f grub.cfg -t raw**
**Now you have a modified ROM. Again, refer back to
[../install/\#flashrom](../install/#flashrom) for information on how to
diff --git a/docs/gnulinux/index.md b/docs/gnulinux/index.md
index b423bfbb..00d66a1f 100644
--- a/docs/gnulinux/index.md
+++ b/docs/gnulinux/index.md
@@ -5,7 +5,7 @@ GNU+Linux distributions
This section relates to dealing with GNU+Linux distributions: preparing
bootable USB drives, changing the default GRUB menu and so on.
-**This section is only for the \*GRUB\* payload. For depthcharge,
+**This section is only for the *GRUB* payload. For depthcharge,
instructions have yet to be written.**
[Back to previous index](../).