aboutsummaryrefslogtreecommitdiff
path: root/resources/grub
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2018-05-27 16:50:09 +0200
committerFedja Beader <fedja@protonmail.ch>2018-05-27 16:50:09 +0200
commit030a9f52bfc97d73670223da8813f80fa0f8f129 (patch)
tree17c3da4620163d5c53b1727ab23e24538d92cca5 /resources/grub
parent57b6b6f65110bb8a4f78ea88c6fb309eeecc7faf (diff)
downloadlibrebootfr-030a9f52bfc97d73670223da8813f80fa0f8f129.tar.gz
librebootfr-030a9f52bfc97d73670223da8813f80fa0f8f129.zip
Give USB storage devices priority over S?ATA ones.
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 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