aboutsummaryrefslogtreecommitdiff
path: root/resources/grub
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2018-05-27 16:43:04 +0200
committerFedja Beader <fedja@protonmail.ch>2018-05-27 16:49:19 +0200
commit57b6b6f65110bb8a4f78ea88c6fb309eeecc7faf (patch)
tree073796a04dd5b2de893534522e44611cb56fb399 /resources/grub
parentdfe3e32e8861f4941328eca1363355f6514e7393 (diff)
downloadlibrebootfr-57b6b6f65110bb8a4f78ea88c6fb309eeecc7faf.tar.gz
librebootfr-57b6b6f65110bb8a4f78ea88c6fb309eeecc7faf.zip
Add ahci1 (ultrabay SATA on T400) and similarly ata1 (presumably ultrabay on T60?)
to FDE boot list and give them higher priority over HDD bay. Ditto for LUKS on partitions.
Diffstat (limited to 'resources/grub')
-rw-r--r--resources/grub/config/menuentries/common.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/grub/config/menuentries/common.cfg b/resources/grub/config/menuentries/common.cfg
index d65f86fb..02376c50 100644
--- a/resources/grub/config/menuentries/common.cfg
+++ b/resources/grub/config/menuentries/common.cfg
@@ -64,11 +64,11 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [o]' --hotkey='o
# on raw crypto devices as well as inside LVM volumes this time.
# The user will be prompted for a passphrase if a LUKS header was found.
- for dev in ahci0 ata0 usb0 ${lvm}; do
+ for dev in ahci1 ahci0 ata1 ata0 usb0 ${lvm}; do
cryptomount "(${dev})"
done
# 3) encrypted devices/partitions
- for i in 0 1; do
+ for i in 1 0; do
for part in 1 2 3 4 5; do
for type in ahci ata; do
cryptomount "(${type}${i},${part})"