Showing posts with label wubi. Show all posts
Showing posts with label wubi. Show all posts

Wednesday, September 15, 2010

Wubi the Ubuntu "installer"

Story:
I used Wubi http://wubi-installer.org/ to install Ubuntu as a Windows application. And it was lovely and it worked and I played with it a little and then forgot about it.

But then last night I was trying to get Ruby (and Cucumber and a few other things) running, and it turned out that when I'd used Wubi I'd made a very small workspace available to myself- approx 2.7Gb. And I was about to run out of space from installing all of this crap.

So, a bit of googling later, I was here:
https://wiki.ubuntu.com/WubiGuide#How do I resize the virtual disks?

But, rancorbeast said, that seems inelegant.

After some more googling, this was found:
http://ubuntuforums.org/showthread.php?t=979658

But that too seemed inelegant and insufficient.

Rancorbeast thought of this solution:

Boot from a livedisk. Then,
quemu-img resize test.disk +1G
Then resize the file systems.
resize2fs -f test.disk
In order to enlarge itself without overriding what's currently in it, add "skip" parameter = entire size of it. seek = current size + addition.

And, using dd, things were done and win was had.

Never actually finished the solution, since it turned out that the liveboot disk was borken from the start and tossed irrelevant errors.

But it totally would have worked, and at some point I may even replicate it just to prove that it would totally work.

As of right now, the Wubi install is gone and the install from (a new, unfuckedup) disk is about to begin. Lucid Lynx incoming.

Rancorbeast swears that there will someday be blog posts futilepleasures.com/blog with the cool bug fixes that have been spewing from his fingers, but I'm not holding my breath.