Dual boot HP desktop that had Windows 7 and Ubuntu 12.04 working fine until yesterday.

Upgraded to 12.10 and the grub install gave an error of not being able to write to the boot sector. It looks like the situation is similar to the one in this bug.

Here is the pastebin from an unsuccessful boot-repair - http://pastebin.ubuntu.com/1290132/

Not booting at all now and goes back to grub rescue all the time.

Can someone help so that the system shall start booting again?

  • the LDM situation that grub was complaining about made me uninstall Ubuntu altogether ! Oct 20 '12 at 18:42
  • @K.KPatel: With all due respect, if you look at the timestamps of both the questions your question is the duplicate of this one, sir. Jan 6 '14 at 17:51

boot from a live USB, install and run the software called boot-repair.


it should fix it automatically for you.


I've seen this a couple of times, when there is insufficient space before the boot partition for Grub to be installed. I just backed up this partition then deleted it, then recreated it with more space in front.

update-grub and grub-install 

needs to be executed to get it working again afterwards.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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