NOTE: This is partially based on a post from here…. Thanks Murphy!
OK, to do this you have to have a linux running on a computer… it could either be installed or you could be running off a live CD/USB…
1.If you haven’t installed Ubuntu on your Xoom, or if you want to start new, just re download the ubuntu package from my original post, or you are going to have to copy over your ubuntu.img from /sdcard/ubuntu/ on your Xoom. Place this somewhere easy to access on your machine.
2. Open your terminal and type in ‘su’ so you have root access.
3. Change the directory to where you put ubuntu.img … lets say I am using Ubuntu to do this and I have ubuntu.img on my desktop. So I would do this: cd /home/user/Desktop
4. Now you are going to create a blank .img file… so I am going to make mine 4GB, so for the file size (x) I would put 4000999999 for (x)…. if you want to make it 3.5GB, you could put 3500999999. Now you are goi
create an empty image file: (the 3500999999 refers to the size – this one is 3.5 GB, basically take the first 4 digits and thats how many megabytes the image will be)
dd if=/dev/zero of=ubuntu2.img seek=x bs=1 count=1 –Where x is the file size you want it to be. The installed ubuntu.img that I provided in the original install is about 2.5GB, so make sure it is more than that.
Your new image file is called ubuntu2.img
5. Now on your ubuntu machine (in the same terminal window):
mke2fs -F ubuntu2.img
Mount the two .img files (the empty one and the original)
mount -o loop ubuntu.img ubuntu
mount -o loop ubuntu2.img ubuntu2
Copy the contents of the original .img into the new:
cp -R -f * /home/user/Desktop/ubuntu2
Now you are going to unmount the folders.
(sometimes this doesn’t work… if it doesn’t, reboot your machine and try again)
Once that’s done
Back to your linux terminal:
As root (su):
Delete the 2 folders ubuntu and ubuntu2
rm -r -f ubuntu
rm -r -f ubuntu2
delete the original img:
rename the new img:
mv ubuntu2.img ubuntu.img
chmod a+x ubuntu.img
chmod 777 ubuntu.img
Then move the new ubuntu.img to the Xoom’s /sdcard/ubuntu (If it asks you, replace the old ubuntu.img)
Finally on your Xoom boot ubuntu shell as normal and at the localhost$ prompt do:
rm -r -f *
dpkg –configure -a (may take a few minutes, ignore the errors)
And there you go! More space on your Ubuntu install.
Now I am working on getting 10.10 to run on the Xoom well (And then 11.04, which has a touch optimized UI). I am also still working on iOS on the Xoom, but I am making fairly limited progress at the moment (Hey Saurik, want to help?)
I am also trying to find someone who will be getting an Acer Iconia tablet, or Asus Transformer (Both upcoming Android 3.0 honeycomb tablets with a Tegra 2 chip) who would be willing to test my Xoombuntu install on them… or some of you guys could pitch in to give me a early Festivus?