libreboot-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libreboot-dev] [PATCH] grub.cfg: Search in lvm/matrix-root and lvm/matr


From: Jookia
Subject: [Libreboot-dev] [PATCH] grub.cfg: Search in lvm/matrix-root and lvm/matrix-boot.
Date: Thu, 4 Feb 2016 09:45:49 +0000

---
 resources/grub/config/menuentries/common.cfg | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/resources/grub/config/menuentries/common.cfg 
b/resources/grub/config/menuentries/common.cfg
index 63f57ac..5a416e8 100644
--- a/resources/grub/config/menuentries/common.cfg
+++ b/resources/grub/config/menuentries/common.cfg
@@ -47,6 +47,9 @@ menuentry 'Load Operating System (incl. fully encrypted 
disks)  [o]' --hotkey='o
                        switch_to_grub_config "${d},${j}"
                done
        done
+       for l in lvm/matrix-root lvm/matrix-boot; do
+               switch_to_grub_config ${l}
+       done
 
        # prompt user for passphrase if LUKS header is found but try using 
external keyfiles first
        search -n -f /keyfile --set=kf --hint usb0, --hint usb1,
@@ -61,6 +64,9 @@ menuentry 'Load Operating System (incl. fully encrypted 
disks)  [o]' --hotkey='o
        for j in 1 2 3 4 5 6 7 8 9; do
                switch_to_grub_config "crypto0,${j}"
        done
+       for l in lvm/matrix-root lvm/matrix-boot; do
+               switch_to_grub_config ${l}
+       done
 
        # 3. Last resort, if none of the above succeeds, all you have is GRUB's 
shell
        set root=ahci0,1
-- 
2.7.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]