--- 00_header 2014-05-14 15:17:20.283887767 +0200 +++ /etc/grub.d/00_header 2014-05-14 15:20:28.397891158 +0200 @@ -106,18 +106,30 @@ function recordfail { set recordfail=1 EOF - FS="$(grub-probe --target=fs "${grubdir}")" - case "$FS" in - btrfs | cpiofs | newc | odc | romfs | squash4 | tarfs | zfs) - cat < /dev/null; then + cat < /dev/null; then + cat <