How can I successfully run this script on a emulated terminal on Android? 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?
You must install busybox on your device. And you need a kernel with loopdevice support. I use a 2.6.35.7 Kernel and I can run Debian. You may have a ARMv6 CPU Then Ubuntu doesn't work.