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 installed Ubuntu 12.04 as a dual boot with Windows 7 (64bit). Everything was fine yesterday, but when I am unable to boot Windows 7 after tried to boot. Windows couldn't fix it and neither did system restore.

Here's the pastebin of boot-repair.

share|improve this question

You have to run Boot repair for Windows, If you have an HP simply boot into your recovery partition and select start-up repair, if not you must insert your install disc and from there choose start-up repair.

share|improve this answer
Hi Thanks for getting back...I have a HP Pavillion desktop, but it did not come with a recovery disc. I don't know how to boot into the recovery partition and select start-up repair. – user94628 Oct 4 '12 at 22:18
When Grub opens you should have 2 windows loaders, one is the actual OS the other is the recovery tool, try running that, and as I said it will be "Startup repair." – Weylin Schreck Oct 5 '12 at 0:42
When I try the recovery tool and startup repair it still doesnt work it just tries fixing and says unable to do so and then sends me back to the boot manager screen where I have the choice of Win7 and Ubuntu. – user94628 Oct 5 '12 at 12:59
I did sudo update-grub and the grub.cfg files says: Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.2.0-31-generic Found initrd image: /boot/initrd.img-3.2.0-31-generic Found linux image: /boot/vmlinuz-3.2.0-29-generic Found initrd image: /boot/initrd.img-3.2.0-29-generic Found Windows 7 (loader) on /dev/sda1 Skipping Windows 7 (loader) on Wubi system Found Windows Recovery Environment (loader) on /dev/sda3 Skipping Windows Recovery Environment (loader) on Wubi system done Is there a problem with wubi? – user94628 Oct 5 '12 at 13:01

Try to repair Windows 7 booting either by creating Windows 7 Recovery CD/USB or downloading and burning a Windows 7 Installation USB/DVD (download links are given on page).

Once you have Windows running again you can reinstall Ubuntu GRUB/wubi.

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.