Ubuntu – Malformed file warning on boot


About 1/3 of the time that I boot my laptop, I get an error message that says

Error: Malformed file.
Press any key to continue...

I press a key, and then my computer boots up and I can't discern any negative effects.

It's kind of disconcerting, and does delay the boot process.

How do I resolve this error and ensure my system is stable?

Best Answer

It is a bug in Grub, see Launchpad bug #1311247 - error: malformed file, press any key to continue. The upstream bug report is at bug #42134: loadenv.c – check_blocklists – algorithm for block overlap check is wrong. There does not seem to be a reliable workaround - you will just have to wait for it to be fixed.

Related Question