View Full Version : [ubuntu] boot-repair not working

December 23rd, 2013, 01:56 PM
Bit of a novice...

Windows 7 with Ubuntu 12.04 worked fine until I needed to reinstall Windows 7 thanks to a trojan leaving large holes in it. Now it will not boot to Ubuntu.

Tried online advice - boot in to live version (USB) and running Boot-Repair but no luck.


Any advice gratefully received.


December 23rd, 2013, 03:48 PM
Your problem is that you installed Ubuntu using wubi, ie, the Ubuntu OS inside your original windows OS as a virtual disk, which now, having reinstalled windows, is probably gone for good.

If you didn't reformat the whole windows system when you reinstalled, which may not even be possible (I don't have windows so don't know about that) it is just possible that you may find a large file somewhere in the new windows called root.disk which you can mount in Ubuntu (live DVD if necessary) and retrieve any files you need.

See http://ubuntuforums.org/showthread.php?t=1564156 for more info on this and see if any other pages at the search facility here help:-

December 23rd, 2013, 05:18 PM
It looks like you created a 99GB partition as sdb3 for wubi. Only because you had a separate partition did wubi not get overwritten.

But better to have Ubuntu installed to a partition not as wubi. Wubi does have a limit of 30GB so you cannot even use the entire 99GB. the last supported version of wubi is 12.04. Wubi does not work with gpt partitioned drives which all new UEFI systems use.


From the developer of wubi:

Agostino: Wubi actually wasn’t designed to do long-term installations. The main aim was really to let people try out Ubuntu with confidence. Normally, users that start with Wubi tend to upgrade to a full installation to a dedicated partition at the next release cycle.

HOWTO: migrate wubi install to partition - bcbc
https://wiki.ubuntu.com/WubiGuide#How_do_I_migrate_to_a_real_partition.2C_ and.2BAC8-or_get_rid_of_Windows_entirely.3F

December 23rd, 2013, 06:01 PM
When you re-installed Win7 you lost the files needed to 'boot' Wubi-Ubuntu, as they were in the previous Win7 install. With Wubi you were NOT truly dual-booting, but running Ubuntu as a windows program from inside Windows.
I guess the 'trojan' was a blessing in disguise.
I think its time you moved on and away from WUBI. The quote in the above post says it all.

Install Ubuntu directly to it own partition, and I recommend that you do clean and fresh install.
If you have data to rescue from earlier Wubi-Ubuntu then you can do so easily using Ubuntu Live DVD/USB, ie, if you still have 'uncorrupted' wubi partition.

December 23rd, 2013, 07:27 PM
I think that Boot-Repair doesn't create a menu entry for Ubuntu in "Windows Boot Manager". You can take a tool called EasyBCD (http://neosmart.net/EasyBCD/) to do so. Here (http://media.cdn.ubuntu-de.org/wiki/attachments/01/45/EasyBCD-Setting.png) is a picture which entry is necessary. It is entry #2. Maybe "Drive" is "E:\" for your Windows system. Don't forget to select a timeout greater zero if you want to see this menu.

December 24th, 2013, 05:17 AM
Thanks everyone. I'll reinstall without wubi as suggested. I was just trying to get around this if possible, but no loss of data.

Thanks again