From 5295ad8c7fbd869a94ec6ca831b8ba52eac9df43 Mon Sep 17 00:00:00 2001 From: teldra Date: Wed, 9 Feb 2022 14:09:46 +0100 Subject: [PATCH] progress --- etc/bootloader/grub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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//-/}