diff -Naur grub-2.00/util/grub-mkconfig.in grub-2.00-blkid/util/grub-mkconfig.in --- grub-2.00/util/grub-mkconfig.in 2012-04-05 19:41:07.000000000 +0200 +++ grub-2.00-blkid/util/grub-mkconfig.in 2016-10-13 11:31:33.714174779 +0200 @@ -131,6 +131,14 @@ # Device containing our userland. Typically used for root= parameter. GRUB_DEVICE="`${grub_probe} --target=device /`" GRUB_DEVICE_UUID="`${grub_probe} --device ${GRUB_DEVICE} --target=fs_uuid 2> /dev/null`" || true +# workaround unknown partion types +if [ x"${GRUB_DEVICE_UUID}" = x ] +then + if [ -x `type -P blkid` ] + then + GRUB_DEVICE_UUID="`blkid -s UUID -o value ${GRUB_DEVICE} 2> /dev/null`" || true + fi +fi # Device containing our /boot partition. Usually the same as GRUB_DEVICE. GRUB_DEVICE_BOOT="`${grub_probe} --target=device /boot`"