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

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 -

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?

share|improve this question
the LDM situation that grub was complaining about made me uninstall Ubuntu altogether ! – Floyd Pink 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. – Floyd Pink 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.

share|improve this answer
The boot-info script result linked to from the question is from an unsuccessful run of boot-repair - – Floyd Pink Oct 19 '12 at 20:16

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.

share|improve this answer

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.