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 ubuntu installed inside Windows 7 using Wubi.

Yesterday, I tried installing Ubuntu using GRUB but it seem that GRUB was corrupted. To recover, I fixed the MBR using the Windows 7 CD.

Now Windows 7 is booting from GRUB menu, but when I select Ubuntu the system reboots.

How can I fix the problem of booting into Ubuntu? I can see the Ubuntu installed in the Windows 7?

share|improve this question
    
If you have found an answer suitable of accepting, please do so immediately. –  Mochan Dec 26 '12 at 11:38
add comment

2 Answers

Cant you use the recover function of Windows to go back in time? If I remember correctly, it's under System Tools.

share|improve this answer
    
That doesn't sound like a good idea - it (hopefully) won't mess with the hard drive's boot sector. –  loevborg Jun 17 '11 at 13:21
add comment

One way would be to use EasyBCD, a free tool which is like Grub editor for the Windows Boot Manager.

The steps involved would be :

  • Install EasyBCD
  • Add an entry for Ubuntu (Wubi) using EasyBCD
  • Open a command prompt Win+R -> cmd and then type bcdedit
  • Note the entry (device-id) for Ubuntu that you just made
  • Run bcdedit /set {device_id} partition=X: (This is if your Ubuntu wubi was installed somewhere other than C:\)
  • Run bcedit /set {device_id} path \your_ubuntu_path\winboot\wubildr.mbr and substitute the correct path to wubuildr.mbr on your system

Source: How To Restore the Wubi Ubuntu Bootloader via How To Geek

share|improve this answer
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.