From 030a9f52bfc97d73670223da8813f80fa0f8f129 Mon Sep 17 00:00:00 2001 From: Fedja Beader Date: Sun, 27 May 2018 16:50:09 +0200 Subject: Give USB storage devices priority over S?ATA ones. --- resources/grub/config/menuentries/common.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/grub/config/menuentries/common.cfg b/resources/grub/config/menuentries/common.cfg index 02376c50..59e1e32e 100644 --- a/resources/grub/config/menuentries/common.cfg +++ b/resources/grub/config/menuentries/common.cfg @@ -64,13 +64,13 @@ 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 ahci1 ahci0 ata1 ata0 usb0 ${lvm}; do + for dev usb1 usb0 ahci1 ahci0 ata1 ata0 ${lvm}; do cryptomount "(${dev})" done # 3) encrypted devices/partitions for i in 1 0; do for part in 1 2 3 4 5; do - for type in ahci ata; do + for type in usb ahci ata; do cryptomount "(${type}${i},${part})" done done -- cgit v1.2.3-70-g09d2