From 75368c760d9190442d81ab9091ea08a469609061 Mon Sep 17 00:00:00 2001 From: Leah Woods Date: Sat, 21 May 2016 07:35:43 +0100 Subject: grub.cfg: also do ata devices for encryption (for ga-g41m-es2l) --- resources/grub/config/menuentries/common.cfg | 6 ++++-- 1 file changed, 4 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 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 -- cgit v1.2.3-70-g09d2