summaryrefslogtreecommitdiff
path: root/resources/grub/config
diff options
context:
space:
mode:
Diffstat (limited to 'resources/grub/config')
-rw-r--r--resources/grub/config/grub.cfg6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/grub/config/grub.cfg b/resources/grub/config/grub.cfg
index 7d889989..8a880f9a 100644
--- a/resources/grub/config/grub.cfg
+++ b/resources/grub/config/grub.cfg
@@ -97,9 +97,9 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [o]' --hotkey='o
# unnecessary decryption routines in the following order:
# 1) raw devices and MBR/GPT partitions
- search_grub usb
search_grub ahci
- search_grub ata
+ search_grub ata
+ search_grub usb
# 2) LVM and RAID which might be used accross multiple devices
unset lvmvol
for vol in bootvol rootvol; do
@@ -146,7 +146,7 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [o]' --hotkey='o
fi
set pager=0
echo -n "Attempting to cryptomount: "
- for dev in ${usbdev} ${ahcidev} ${atadev} ${lvmvol}; do # what about raid?
+ for dev in ${ahcidev} ${atadev} ${lvmvol} ${usbdev}; do # what about raid?
echo -n "${dev} "
if cryptomount "${dev}" ; then break ; fi
done