Ok - I've been wanting to up the size of the ubuntu.img - and here's what I found on how to built it -
http://androlinux.com/android-ubuntu-development/how-to-build-chroot-arm-ubuntu-images-for-android/
Guess I'm going to pop open a virtual machine on a spare PC, install a sandboxed Ubuntu, see if I can decompose ubuntu.img (so as to retain the changes I have), then simply re-assemble into a larger ubuntu.img file.
If anyone's done this and has any tricks to share, please lay 'em on me!
Otherwise, I'll keep you all posted - sure wish I'd found this yesterday when I had the time to goof off more!
PS - Left questions at the dev's site asking for tips.
Do it from your phone
Code:
adb reboot
adb shell busybox df -h /dev/block/mmcblk1p1 <-----[make sure you have enough free space]
adb shell
cd /sdcard/ubuntu
mv ubuntu.img oldubuntu.img
dd if=/dev/zero of=ubuntu.img bs=1024000 count=XXXX <-----[XXXX is the size in MB you want]
mke2fs ubuntu.img <------[answer "y" if it ask if you want to proceed]
losetup /dev/block/loop1 ubuntu.img
losetup /dev/block/loop2 oldubuntu.img
mkdir ubuntu
mkdir oldubuntu
mount -t ext2 /dev/block/loop1 ubuntu
mount -t ext2 /dev/block/loop2 oldubuntu
cp -a oldubuntu/* ubuntu
umount ubuntu
umount oldubuntu
reboot
Now check and make sure you can access ubuntu
If so then you can delete oldubuntu.img