aboutsummaryrefslogtreecommitdiff
path: root/docs/gnulinux
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-17 23:50:52 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-17 23:50:52 -0700
commitdd3a800d82e0b9a4f1a785d61fd17fa202cb0e2c (patch)
tree091cb7de98272ff37354fb4ebcd5a47b9e7180a1 /docs/gnulinux
parent14ac959780ab3dc09559a17d4c12b7fd3705be6f (diff)
downloadlibrebootfr-dd3a800d82e0b9a4f1a785d61fd17fa202cb0e2c.tar.gz
librebootfr-dd3a800d82e0b9a4f1a785d61fd17fa202cb0e2c.zip
I can escape good
Diffstat (limited to 'docs/gnulinux')
-rw-r--r--docs/gnulinux/configuring_parabola.md2
-rw-r--r--docs/gnulinux/encrypted_parabola.md10
-rw-r--r--docs/gnulinux/grub_boot_installer.md16
-rw-r--r--docs/gnulinux/grub_cbfs.md14
4 files changed, 21 insertions, 21 deletions
diff --git a/docs/gnulinux/configuring_parabola.md b/docs/gnulinux/configuring_parabola.md
index 0612cd7d..918e98aa 100644
--- a/docs/gnulinux/configuring_parabola.md
+++ b/docs/gnulinux/configuring_parabola.md
@@ -638,7 +638,7 @@ start lxde without lxdm. Read
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.
diff --git a/docs/gnulinux/encrypted_parabola.md b/docs/gnulinux/encrypted_parabola.md
index 005def8c..20b7e02e 100644
--- a/docs/gnulinux/encrypted_parabola.md
+++ b/docs/gnulinux/encrypted_parabola.md
@@ -572,10 +572,10 @@ 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**
@@ -608,7 +608,7 @@ 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
@@ -656,10 +656,10 @@ 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 edd25715..8821f1ef 100644
--- a/docs/gnulinux/grub_boot_installer.md
+++ b/docs/gnulinux/grub_boot_installer.md
@@ -26,21 +26,21 @@ 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*
+ $ 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.
@@ -71,20 +71,20 @@ 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 14f0ef5b..e51912f0 100644
--- a/docs/gnulinux/grub_cbfs.md
+++ b/docs/gnulinux/grub_cbfs.md
@@ -130,7 +130,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:
@@ -144,7 +144,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
@@ -154,7 +154,7 @@ 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.
@@ -166,7 +166,7 @@ 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:
@@ -182,7 +182,7 @@ Testing
[../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:
@@ -220,11 +220,11 @@ 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