diff --git a/etc/bootloader/grub b/etc/bootloader/grub index ebd503c..c6c228c 100644 --- a/etc/bootloader/grub +++ b/etc/bootloader/grub @@ -29,7 +29,7 @@ config() { if ! [ "${KEY_LANG}" == "en" ]; then if [ "${EFI}" == "1" ]; then VGUUID=$(vgdisplay |grep UUID|awk '{print $3}') - LVUUID=$(lvdisplay ${TARGETNAME_UNDERSCORE}-root |grep UUID|awk '{print $3}') + LVUUID=$(lvdisplay "/dev/mapper/${TARGETNAME_UNDERSCORE}-root" |grep UUID|awk '{print $3}') rl=$(basename $(readlink "${TARGET_PHY_ID}-part${TARGET_PART}")) TMP=$(lsblk -o NAME,UUID -l|grep "${rl}" | awk '{print $2}') CRYPTUUID=${TMP//-/}