Comment 62 for bug 736743

Oscar Rivera (oscarivera9) wrote :

With a btrfs install, I started getting the grub screen with the error message:

'sparse file not allowed.
press any key to continue'

I tried the temporary "fix" by Colin on comment #10 which temporarily fixed the problem. After a few successfull boots without any error messages, I then began to get a different error message:

'recordfail...
press any key to continue'

I then tried what's suggested in bug 669481
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/669481
Unfortunately the problem was still there.
For now, everything is working ok. What I've done is follow the advice on comment #10 from this bug, but I've also removed the #s from /etc/grub.d/00_header where it says:

function recordfail {
   set recordfail=1
   if [ -n "\${have_grubenv}" ]; then if [ -z "\${boot_once}" ]; then save_env recordfail; fi; fi
}

Everything is working fine now.