Take the 2-minute tour ×
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 :) –  Grace 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 –  Grace Dec 30 '12 at 7:43

1 Answer 1

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.

share|improve this answer
2  
This is rather vague. How would busybox help exactly? How would the OP use it to solve the problem? (As a side note, please don't sign your posts) –  eldarerathis Sep 19 '13 at 13:57

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.