--- 10_archlinux 2014-01-31 20:09:16.799805057 +0100 +++ /etc/grub.d/10_archlinux 2014-01-31 20:10:03.744877294 +0100 @@ -67,9 +67,10 @@ BOOT_PART_HINTS_STRING="$(${grub_probe} --target="hints_string" "/boot" 2>/dev/null)" BOOT_PART_FS="$(${grub_probe} --target="fs" "/boot" 2>/dev/null)" -ROOT_PART_FS_UUID="$(${grub_probe} --target="fs_uuid" "/" 2>/dev/null)" +ROOT_PART_FS_UUID="$(${grub_probe} --target="fs_uuid" "/" 2>/dev/null || true)" ROOT_PART_HINTS_STRING="$(${grub_probe} --target="hints_string" "/" 2>/dev/null)" -ROOT_PART_FS="$(${grub_probe} --target="fs" "/" 2>/dev/null)" +ROOT_PART_FS="$(${grub_probe} --target="fs" "/" 2>/dev/null || true)" + if [[ "${ROOT_PART_FS_UUID}" == "${BOOT_PART_FS_UUID}" ]]; then SUBDIR="/boot" @@ -175,4 +176,3 @@ fi done -