summaryrefslogtreecommitdiff
path: root/share/config/templates/bootless/custom.cfg
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-07-02 18:29:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-07-02 18:29:19 -0300
commitf1c55982006fa5e2a8706f7460a4cd16e9f767d3 (patch)
tree5c5eb1ad54e5205473f246aea525d60bb282c41a /share/config/templates/bootless/custom.cfg
parenta249af014901cbe1d2ac02913d90595e1b1a8a7a (diff)
downloadhydra-f1c55982006fa5e2a8706f7460a4cd16e9f767d3.tar.gz
hydra-f1c55982006fa5e2a8706f7460a4cd16e9f767d3.tar.bz2
Bootless: FDE support
Diffstat (limited to 'share/config/templates/bootless/custom.cfg')
-rw-r--r--share/config/templates/bootless/custom.cfg29
1 files changed, 29 insertions, 0 deletions
diff --git a/share/config/templates/bootless/custom.cfg b/share/config/templates/bootless/custom.cfg
new file mode 100644
index 0000000..5eaf786
--- /dev/null
+++ b/share/config/templates/bootless/custom.cfg
@@ -0,0 +1,29 @@
+#
+# Menu appearance
+#
+set menu_color_normal=white/blue
+set menu_color_highlight=yellow/red
+
+#
+# Example: imagens stored in the USB stick: just put your images under custom/debian/images.
+#
+menuentry 'Example: Darkstar' {
+ set version=3.16.0-4
+ set source=/dev/mapper/vg-root
+ set target=root
+
+ echo 'Loading AMD64 Debian Desktop (Jessie)...'
+ linux /boot/custom/debian/vmlinuz-${version}-amd64 root=/dev/mapper/root cryptopts=target=${target},source=${source} ro quiet apparmor=1 security=apparmor
+ echo 'Loading initial ramdisk ...'
+ initrd /boot/custom/debian/initrd.img-${version}-amd64
+}
+
+#
+# Example: Full Disk Encryption: images are loaded from encrypted partition.
+#
+menuentry 'Example: Darkstar FDE' {
+ set machine=darkstar
+ set version=3.16.0-4
+
+ bootfde ${machine} ${version}
+}