Ubuntu on Samsung Galaxy S (Android)
In my previous post I showed you how to create an chroot environment for the arm and run it on your Ubuntu. But it’s much nicer to see it work on a real device or on an Android device like Samsun Galaxy S GT-I9000.
To run Ubuntu on Android/Samsung you need to create an img file using my post, you can also use two of my start and stop scripts from here start stop.
I have also created an img for those that don’t want to or can’t create one: Download
Step 1:
Lets begin by preparing our device by create an folder on android, connect your phone to your computer and do:
sudo adb shell cd /sdcard mkdir ubuntu exit
Step 2:
Now you can upload the img file and if you like you can also upload my start and stop scripts.
sudo adb push ubuntu.img /sdcard/ubuntu sudo adb push startA_ubuntu.sh /sdcard/ubuntu sudo adb push stopA_ubuntu.sh /sdcard/ubuntu
Step 3:
Now that you have done all the prep work you can use your ubuntu by doing:
su cd /sdcard/ubuntu sh startA_ubuntu.sh ubuntu.img
Step 4:
To exit just run:
exit sh stopA_ubuntu.sh
That’s it, no more no less
Oh I have also created two movies, first one shows how to setup and the second one is the prove it works on galaxy S. Have fun watching.
@Unimaginative No, in order to use android graphics drivers etc. you need to run ubuntu set up as vnc server in chroot and connect by vnc client. That’s why he entered localhost into AndroidVNC.
Great work dude!… its awesome… Your scrips will run in the SGS vibrant 4G? cuz i really want to use ubuntu in my phone…
What are the minimum requirements to run ubuntu?
memory
sdC. space
thnx
@JoeDrD
It should probably work on the SGS vibrant as well.
That’s really nice! Thanks!!
Hi,
I used the above ubuntu image and script files. but it is throwing error as “segmentation fault chroot /data/local/mnt /bin/bash”. I am using samsung galaxy fit (GT-S5670) and Gingerbread OS, I need your help to resolve this
Ty man. It is so cool using ubuntu on Galaxy S. I have one big question : virtual ubuntu have only about 100 Mb free space, so how I can resize it to lets say 1Gb?
Hey can you pls reupload you files? Since megaupload got busted it wont work!
I recommend you: http://www.multiupload.ch/