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?
[
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?