Running Ubuntu on Android.

If you have an (rooted and have busybox installed!) Android device which is fast enough to run Ubuntu you can give it a try.
It works quite well on my Samsung Galaxy s Plus. It has an 1.4ghz ARMv7 processor, which is fast enough to run it, but I think it should be any slower.
(OW men, I wish I had a Galaxy Note, (quadcore 2ghz…)
The second requirement is, you have to have at least an SD card larger than 4gb for optimal use of Ubuntu.
The third requirement is some knowledge of shell scripting. If you’re not at least a little bit familiar with scripting, you’d better not try it.

Steps to follow:

1.Download the following files:

http://sourceforge.net/projects/linuxonandroid/files/Ubuntu/ubuntuV5-image.zip/download
(for the large image, 3.5gb) The smaller one can be downloaded here: http://sourceforge.net/projects/linuxonandroid/files/Ubuntu/ubuntuV5-sm-image.zip/download
I’m not sure, but I think it’s about 400mb)

Install a terminal emulator in android: https://market.android.com/details?id=jackpal.androidterm&feature=search_result#?t=W251bGwsMSwxLDEsImphY2twYWwuYW5kcm9pZHRlcm0iXQ..
and install a decent VNC viewer on your device: https://market.android.com/details?id=android.androidVNC&feature=search_result#?t=W251bGwsMSwxLDEsImFuZHJvaWQuYW5kcm9pZFZOQyJd

2.Unzip the first two files on your SD card, preferrably on the SD card in <sdcardlocation>/ubuntu You should then have an .img file and an .sh file in the directory.
3.Install the terminal emulator and the vnc viewer.
4.It might not work in the first time, but run the script by the following commands:
-CD to the directory where the files are located
-su
-sh ubuntu.sh
-analyze the errors and correct them. But never fear 🙂 The errors are mostly caused by wrong directorynames in the script. Correct them, if it is possible. And be sure that you have busybox installed: http://bit.ly/yskMBB

-Eventually, you should get some questions about screen resolutions. If so, your Ubuntu is close to getting started.
-connect via VNC from the android device (or PC, ofcourse) to the ipaddress. Port 5900 will do.
Note that Ubuntu will not keep running in the background. It stops running when you exit the terminal where you ran the ubuntu.sh script.
Everytime you run ubuntu.sh, you will be able to connect to Ubuntu via vnc. Pretty cool eh?

Ow, the last thing I need to mention is, that when you have logged into your fresh new Ubuntu machine via VNC, you might get some problems that if you press the d key on your keyboard, the Ubuntu desktop will show, if you press d again, then the windows pop up. Go to System, Preferences, Keyboard shortcuts, Look under Window Management and find “Hide all normal windows and set focus to the desktop”. Press <BACKSPACE> on this option and this nasty keyboard shortcut is gone.
Maybe you do not have the same problem, but I did.


Advertisements