aboutsummaryrefslogtreecommitdiff
path: root/resources/grub/config
diff options
context:
space:
mode:
authorLeah Woods <info@minifree.org>2016-05-21 07:35:43 +0100
committerLeah Woods <info@minifree.org>2016-05-21 07:35:43 +0100
commit75368c760d9190442d81ab9091ea08a469609061 (patch)
treefdb26a9664ddfe6d083cc4b2c6fdfff5eafc2df2 /resources/grub/config
parent2df038d5f1a841d82ca9bd4123e516fd514921f2 (diff)
downloadlibrebootfr-75368c760d9190442d81ab9091ea08a469609061.tar.gz
librebootfr-75368c760d9190442d81ab9091ea08a469609061.zip
grub.cfg: also do ata devices for encryption (for ga-g41m-es2l)
Diffstat (limited to 'resources/grub/config')
-rw-r--r--resources/grub/config/menuentries/common.cfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/grub/config/menuentries/common.cfg b/resources/grub/config/menuentries/common.cfg
index 103d0972..ef76021f 100644
--- a/resources/grub/config/menuentries/common.cfg
+++ b/resources/grub/config/menuentries/common.cfg
@@ -63,13 +63,15 @@ 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 ${lvm}; do
+ for dev in ahci0 ata0 ${lvm}; do
cryptomount "(${dev})"
done
# 3) encrypted devices/partitions
for i in 0 1; do
for part in 1 2 3 4 5; do
- cryptomount "(ahci${i},${part})"
+ for type in ahci ata; do
+ cryptomount "(${type}${i},${part})"
+ done
done
done