summaryrefslogtreecommitdiff
path: root/misc/arch/etc/grub.d/42_vtcol
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2021-11-25 20:38:04 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2021-11-25 22:29:23 +0100
commite943f3a8c967d95cb9d57367a57db78e79972d74 (patch)
tree14279be1921d2549ebba4644ee3d30e80c7ff38a /misc/arch/etc/grub.d/42_vtcol
parentd6e8a37767644b50001e14ebbab594e799a94db7 (diff)
downloadvtcol-e943f3a8c967d95cb9d57367a57db78e79972d74.tar.gz
move archlinux stuff to subdir
Diffstat (limited to 'misc/arch/etc/grub.d/42_vtcol')
-rwxr-xr-xmisc/arch/etc/grub.d/42_vtcol47
1 files changed, 47 insertions, 0 deletions
diff --git a/misc/arch/etc/grub.d/42_vtcol b/misc/arch/etc/grub.d/42_vtcol
new file mode 100755
index 0000000..cb570ed
--- /dev/null
+++ b/misc/arch/etc/grub.d/42_vtcol
@@ -0,0 +1,47 @@
+#!/bin/sh
+exec tail -n +3 $0
+###############################################################################
+# Copyright 2017--2017 Philipp Gesang
+# Example grub menu entries for loading a vtcol-enabled ramdisk
+###############################################################################
+#
+# See grub-mkconfig(8) for details.
+#
+# This file will require adaptation depending on the local setup. It is
+# advisable that you only use this file for guidance and derive your own
+# configuration from the examples under ``/etc/grub.d/``. Especially the
+# encryption and LVM setup vary greatly with respect to the system
+# configuration. (The actual UUIDs have been replaced by some fresh ones
+# retrieved via /proc/sys/kernel/random/uuid.) YMMV.
+#
+# Always double-check the kernel and initrd lines!
+#
+
+menuentry "linux: initramfs with solarized theme" {
+ echo "Booting initramfs with solarized theme ..."
+ load_video
+ set gfxpayload=keep
+ insmod gzio
+ insmod part_gpt
+ insmod ext2
+ set root="hd0,gpt2"
+ echo "Booting the kernel ..."
+ linux /vmlinuz-linux root=UUID=0d59f480-9149-42ef-bb0d-4dfb66bcfc76 rw cryptdevice=/dev/sda3:secret quiet
+ echo "Loading the initramfs ..."
+ initrd /initramfs-linux-vtcol.img
+}
+
+menuentry "linux: initramfs with solarized theme / fallback" {
+ echo "Booting initramfs with solarized theme ..."
+ load_video
+ set gfxpayload=keep
+ insmod gzio
+ insmod part_gpt
+ insmod ext2
+ set root="hd0,gpt2"
+ echo "Booting the kernel ..."
+ linux /vmlinuz-linux root=UUID=0d59f480-9149-42ef-bb0d-4dfb66bcfc76 rw cryptdevice=/dev/sda3:secret quiet
+ echo "Booting initramfs with solarized theme ..."
+ initrd /initramfs-linux-vtcol-fallback.img
+}
+