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.

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?

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 at 17:51

2 Answers 2

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

https://help.ubuntu.com/community/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 - pastebin.ubuntu.com/1290132 –  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

 
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.