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.

It's an odd issue, i installed Ubuntu 11.04 trough Wubi yesterday,it actually worked unlike the last time i tried to when it didn't boot at all.

But there is one thing that bugs me, see, i have 2 HDD's ,a 320GB one with Windows 7, and the other, a 500GB HDD with Ubuntu 10.10.

I have partitioned the 500GB HDD, and contains a NTFS partition, and a EXT4 plus the Swap partitions.

The 320GB is not partitioned, as it only has Windows 7.

Since i installed Wubi on Windows 7, when i have my Ubuntu drive connected, Wubi won't boot the installation, giving me a "no wubdir" error.

However, if i phisically unplug the Ubuntu drive, then Wubi boots just fine.

So, how is the Ubuntu drive interfering with Wubi, to the extent of Wubi not even working when the drive is plugged?.

share|improve this question
    
so.. no one experimenting this? –  Uri Herrera Apr 20 '11 at 1:15

2 Answers 2

up vote 3 down vote accepted

Wubi uses grub4dos to boot (wubildr.mbr). The version of grub4dos is from around 2007 which is before ext4 was released. In any event, wubildr.mbr will hang whenever it encounters an ext4 partition. The way it works is to search each partition (in BIOS order) for the file /wubildr (i.e. wubildr in the root of the partition). If it gets to the ext4 partition before it finds /wubildr, it will hang. So the solution is to copy /wubildr from your 320GB drive to the ntfs partitions on the 500GB drive, assuming it falls before the ext4 one - if not, the only way would be to add an entry to your other Ubuntu so that you can boot the Wubi install from there.

share|improve this answer
1  
I do want to get round to fixing this. The code differences in grub4dos are not that large, so it should be feasible; but in any case what I actually want to do is switch to grub2's ntldr-img extras module, which is based on grub4dos but is somewhere that the GRUB team can maintain it. To do that I need to go through the differences between grub4dos and ntldr-img and resolve them all. I plan to do that for Oneiric. –  Colin Watson Apr 24 '11 at 19:12

you should be carefully to follow the instruction, where you download with Wubi, and download to complete, so you can where click and user, etcc, then done, click reboot with restart, then boost windows 7 and ubuntu, then click ubuntu, just leave waiting until appear ubuntu desktop, that's all.

share|improve this answer
    
if i understand you what you said, Wubi installs fine, and i can boot to it, ,but i can only do this by unpluggin, phisically my other HDD.If the drive is plugged to the PC wubi won't boot –  Uri Herrera Apr 17 '11 at 8:08

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.