Home > Android > Ubuntu on Samsung Galaxy S (Android)

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.

Share
  1. dan542
    July 13th, 2011 at 08:23 | #1

    @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.

  2. JoeDrD
    October 19th, 2011 at 13:40 | #2

    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

  3. admin
    October 24th, 2011 at 04:18 | #3

    @JoeDrD
    It should probably work on the SGS vibrant as well.

  4. LeandroMattioli
    October 26th, 2011 at 02:11 | #4

    That’s really nice! Thanks!!

  5. November 1st, 2011 at 03:08 | #5

    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

  6. maximelian
    January 8th, 2012 at 15:42 | #6

    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?

  7. geek
    January 30th, 2012 at 23:13 | #7

    Hey can you pls reupload you files? Since megaupload got busted it wont work!
    I recommend you: http://www.multiupload.ch/

Comment pages
1 2 349
  1. August 19th, 2010 at 14:34 | #1
  2. August 23rd, 2010 at 14:54 | #2
  3. February 14th, 2011 at 09:17 | #3
  4. August 25th, 2011 at 06:43 | #4