From 57b6b6f65110bb8a4f78ea88c6fb309eeecc7faf Mon Sep 17 00:00:00 2001
From: Fedja Beader <fedja@protonmail.ch>
Date: Sun, 27 May 2018 16:43:04 +0200
Subject: 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.

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

(limited to 'resources/grub/config/menuentries')

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})"
-- 
cgit v1.2.3-70-g09d2