Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have VirtualBox-4.1 installed in Ubuntu 10.04 with a .vdi running Xubuntu 12.04. Recently, a Grub update for Xubuntu 12.04 to Grub2.x, broke it with the following explanation:

error: ELF header smaller than expected
grub rescue> _

Is there an easy fix for this? I could reinstall, but I tweaked Xubuntu 12.04 to my liking, and don't want to re-install a new .vdi. Unfortunately, I didn't make a snapshot of it.

Google results, have been over my head.

share|improve this question
I never used a VB, so I don't really know if this will work, but have tou tried seimply reinstalling GRUB to mbr?… – dadexix86 Nov 4 '12 at 14:33

My first try in situations like this would be Boot-Repair. You can run it off of a (virtual) LiveCD.

share|improve this answer
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Eliah Kagan Dec 27 '12 at 22:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.