diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 2d5fb5d..d74ed84 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -777,7 +777,7 @@ openLUKS() { fi if [ "${retval}" -ne 0 ]; then - REAL_LUKS=`blkid -t "${LUKS_DEVICE}" | cut -d ":" -f 1 2>/dev/null` + REAL_LUKS=`blkid -l -t "${LUKS_DEVICE}" | cut -d ":" -f 1 2>/dev/null` retval=$? fi diff --git a/defaults/linuxrc b/defaults/linuxrc index 17a2f47..6ce8349 100755 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -338,7 +338,7 @@ then fi if [ ${retval} -ne 0 ]; then - RESUME_DEV=`blkid -t "${REAL_RESUME}" | cut -d ":" -f 1 2>/dev/null` + RESUME_DEV=`blkid -l -t "${REAL_RESUME}" | cut -d ":" -f 1 2>/dev/null` retval=$? fi