Tell me more ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Background

I am trying to install Ubuntu onto my Acer Iconia A500 using VNC and this application called Complete Linux Installer. My tablet is rooted and I have found several sources saying they have achieved this on their tablet. It is Ubuntu 12.04, but since this is about doing this on the Android OS, it is off-topic on Ask Ubuntu.

Script

The script I am trying to run is as follows:

$ cd /sdcard/ubuntu $ su
# sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img

This is what it returns:

$ cd /sdcard/ubuntu $ su
# sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img
[: not found
dirname: not found
[[: not found
[: not found
[: not found
[: not found
[: not found
Checking loop device... [: not found
MISSING
Creating loop device... /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh: /system/xbin/busybox: not found
[: not found
FAILED
Error: Unable to create loop device!

Question

How am I able to install this correctly? I have ubuntu.img and ubuntu.img.md5 in a folder named ubuntu in /mnt/sdcard which is the root of the system.

What is the [: part of [: not found? Is it just the script text?

share|improve this question
1  
Missing busybox? Busybox has the [ symlinked to err.. busybox, can you tell me where you got the script from? It might need to be "slightly altered" to work within Android? – t0mm13b Dec 30 '12 at 1:31
It's from within the app. It can be altered, but is supposed to work straight off the bat. I have never installed busybox. Thanks :) – Mochan Dec 30 '12 at 2:24
Is it possible to see the script ? Thanks in advance. – air-dex Dec 30 '12 at 3:33
I don't think so... I'll edit it into the question if I can get hold of it – Mochan Dec 30 '12 at 7:43

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.