PDA

View Full Version : [wubi] installing onto removable USB drive



SinusPi
November 10th, 2011, 05:03 PM
Situation: laptop has a dead Windows XP HDD. The drive was removed and connected via USB to my desktop PC running Windows 7. I need to install Ubuntu onto the USB-connected drive, which has to return to the laptop it was removed from and boot there.

WUBI seems to only set up boot options in the current Windows system I'm running; I don't want that, as it would break my desktop boot setup. I need to be able to specify that WUBI installs Ubuntu onto the removable drive (already possible, of course) AND that it set up booting on THAT drive and its XP booting mechanism, not my current desktop Windows 7 setup.

Under good ol' DOS this would be simply "sys E:"...

Any ideas?

mohamedtoma73
November 10th, 2011, 06:32 PM
please read this thread (http://ubuntuforums.org/showthread.php?t=1650699&page=3)

SinusPi
November 10th, 2011, 08:56 PM
I thought of that already, but I'd definitely rather not reboot and modify BIOS settings on the desktop machine - it's my work PC and I have a rather strict rule NOT to modify anything crucial that could destabilize my work environment.

So, any way to force an MBR update on a designated drive, without rebooting to the installer?

Or, alternatively: that drive IS a Windows XP bootable; I could put something in its boot.ini, and it would probably work if worded right.

mohamedtoma73
November 12th, 2011, 10:24 AM
try putting this entry in boot.ini of the usb-connected drive
c:\wubildr.mbr="ubuntu"
then save the changes in boot.ini
then install ubuntu by wubi inside the usb-connected drive using your pc windows 7.
after completing the install and before reboot move wubildr and wubildr.mbr from the c drive of your pc to the root of usb-connected drive.use easybcd to remove the entry ubuntu from your pc boot screen
then reconnect your usb-connected drive to the laptop it came from
boot and choose ubuntu from the boot screen .if it boot the ubuntu will complete installation in the laptop environment and will install its hardware.

mick222
November 12th, 2011, 10:30 AM
What do you mean dead xp hdd . Is xp working on the disk if not wubi wont work,

SinusPi
November 12th, 2011, 02:19 PM
try putting this entry in boot.ini of the usb-connected drive
c:\wubildr.mbr="ubuntu"
..........


Yup, that's what I did, but it didn't work.

Then, on a hunch, I dug into the partition table of the drive. Hello, main partition wasn't even active. I have no idea how that happened - but I activated it... and then everything started working; booted, got asked to run either Windows or (new) Ubuntu...

As usual, problem was not where I thought it to be.

Thank you for your help, though - it'll surely come in handy some other time.

mohamedtoma73
November 12th, 2011, 05:30 PM
the problem is solved

Rubi1200
November 12th, 2011, 05:40 PM
Problem solved?

Then please mark the thread as such by using the Thread Tools near the top of the page.

And good work by the way figuring out the solution :)