aboutsummaryrefslogtreecommitdiff
path: root/docs/gnulinux
diff options
context:
space:
mode:
authorAndrew Robbins <andrew@libreboot.org>2019-12-27 01:12:10 +0000
committerGogs <gogitservice@gmail.com>2019-12-27 01:12:10 +0000
commit732ef671f2e72a63afa6b42d208f71bd6aeed621 (patch)
tree8a699c04ee9b48f96054e6b7e014afb40a0f3c81 /docs/gnulinux
parent64444d29d28a8be7d988a2841636a91a953d8825 (diff)
parent2ebf2cc929f7be2796b4c0e02d97f3e3dc82174f (diff)
downloadlibrebootfr-732ef671f2e72a63afa6b42d208f71bd6aeed621.tar.gz
librebootfr-732ef671f2e72a63afa6b42d208f71bd6aeed621.zip
Merge branch 'leftoverslashes' of swiftgeek/libreboot into master
Diffstat (limited to 'docs/gnulinux')
-rw-r--r--docs/gnulinux/encrypted_debian.md26
1 files changed, 13 insertions, 13 deletions
diff --git a/docs/gnulinux/encrypted_debian.md b/docs/gnulinux/encrypted_debian.md
index 23b4503f..eb8093cf 100644
--- a/docs/gnulinux/encrypted_debian.md
+++ b/docs/gnulinux/encrypted_debian.md
@@ -199,29 +199,29 @@ 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)>
-Modify grub.cfg (CBFS)
+Generate distro's grub.cfg
======================
Now you need to set it up so that the system will automatically boot,
without having to type a bunch of commands.
-Modify your grub.cfg (in the firmware) [using this
-tutorial](grub_cbfs.md); just change the default menu entry 'Load
-Operating System' to say this inside:
+Install grub-coreboot if not already installed:
- cryptomount -a
- set root='lvm/matrix-rootvol'
- linux /vmlinuz root=/dev/mapper/matrix-rootvol cryptdevice=/dev/mapper/matrix-rootvol:root
- initrd /initrd.img
-
-Without specifying a device, the *-a* parameter tries to unlock all
-detected LUKS volumes. You can also specify -u UUID or -a (device).
+ # apt-get install grub-coreboot
+
+Modify or add following lines to /etc/default/grub
+
+ GRUB_CMDLINE_LINUX="cryptdevice=/dev/mapper/matrix-rootvol:root"
+ GRUB_ENABLE_CRYPTODISK=y
+
+Copy fonts/backgrounds to /boot/grub and
+generate grub.cfg using following command:
+
+ # grub-install --target=i386-coreboot
[Refer to this guide](grub_hardening.md) for further guidance on
hardening your GRUB configuration, for security purposes.
-Flash the modified ROM using [this tutorial](../install/#flashrom).
-
Troubleshooting
===============