From 75368c760d9190442d81ab9091ea08a469609061 Mon Sep 17 00:00:00 2001 From: Leah Woods Date: Sat, 21 May 2016 02:35:43 -0400 Subject: grub.cfg: also do ata devices for encryption (for ga-g41m-es2l) --- (limited to 'resources/grub') diff --git a/resources/grub/config/menuentries/common.cfg b/resources/grub/config/menuentries/common.cfg index 103d097..ef76021 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 v0.9.1