Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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? help.ubuntu.com/community/… –  dadexix86 Nov 4 '12 at 14:33
add comment

1 Answer 1

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

https://help.ubuntu.com/community/Boot-Repair

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
add comment

Your Answer

 
discard

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.