[Q] Linux on Android A200 Iconia - Android Q&A, Help & Troubleshooting

Hey XDA, long time listener first time caller.
I have an A200 rooted stock and am trying to boot Debian (or any other distro) on it.
I am a seasoned android dev, but new to linux in general. (yes i am aware that android is linux)
i am using the complete linux installer apk and extracting with archidroid. My path is /sdcard/debian/debian.img
i use the boot widget included and the following is my terminal output. i have been unable to find a solution and was hoping someone here would have some suggestions
[email protected]:/ $
[email protected]:/ $ cd sdcard/debian
[email protected]:/ $ /sdcard/debian $ su
[email protected]:/ $ /mnt/sdcard/debian # sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh sdcard/debian/debian.img
/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[34]: dirname: not found
/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[56]: dirname: not found
/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[56]: dirname: not found
Checking loop device... FOUND
/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[122]: /data/data/com.zpwebsites.linuxonandroid/files/busybox: cannot execute - Permission denied **<could this be a perms issue?**
Error: Unable to attach image to loop device! (Image = /sdcard/debian/debian.img)
1|[email protected]:/mnt/sdcard/debian #
EDIT** answered my own question. had to chmod /data/datacom...../busybox to 755 *********

Related

[Q] Complete Linux Installer: dirname not found; Unable to mount the loop device

I could successfully install Ubuntu 13.10 via Complete Linux Installer under Android 4.4.2 (on a Nexus 5). If I reboot and then open Ubuntu 13.10, everything works fine. But if I close Ubuntu and open it again (without reboot), I get:
[email protected]:/ $
[email protected]:/ $ cd /sdcard/ubuntu
[email protected]:/sdcard/ubuntu $ su
sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img
sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img
[email protected]:/storage/emulated/legacy/ubuntu # sh /data/dcom.zpwebsites .linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img
/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[39]: dirname: not found
Checking loop device... FOUND
mount: mounting /dev/block/loop255 on /data/local/mnt failed: Device or resource busy
Error: Unable to mount the loop device!
1|[email protected]:/storage/emulated/legacy/ubuntu #
What is the problem?
Hear hear. Same issue Galaxy S5 g900r4. SELINUX is permissive(finally).

Problem with ubuntu

hi i tried to run ubuntu on my android tablet and it doesnt work
Heres the code from the terminal emulator
[email protected]:/ $
[email protected]:/ $ cd /sdcard/ubuntu
[email protected]:/sdcard/ubuntu $ su
/system/bin/sh: su: not found
127|[email protected]:/sdcard/ubuntu $ sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img
sh: /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh: Permission denied
127|[email protected]:/sdcard/ubuntu $
Click to expand...
Click to collapse
I assume you are rooted, maybe try asking for superuser permissions before changing directories to SD card. From what I see is the issue is not having elevated permissions
ComboTer said:
hi i tried to run ubuntu on my android tablet and it doesnt work
Heres the code from the terminal emulator
Click to expand...
Click to collapse
Code:
[email protected]:/sdcard/ubuntu $ su
/system/bin/sh: su: not found
do you rooted you device ?
it seems that the ' su ' command not found .
or do you allow the root access of terminal emulator ?

[Q] installing unbuntu error

Hi Guys and gals,
Ive run flashboot and unlocked the bootloader on my Z Ultra with no errors however...
when trying to install unbuntu with Complete linux installer I'm getting the the error below.
I get the same error with kali
Anybody seen this before?
[email protected]:/ $
[email protected]:/ $ cd /sdcard/ubuntu
[email protected]:/sdcard/ubuntu $ su
/system/bin/sh: su: not found
s.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img <
sh: /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh: Permission denied
127|[email protected]:/sdcard/ubuntu $
cheers
murf

[Q] My devices not support or what problem ubuntu 13.10 on complet linux install

[email protected]_T00J:/ $
[email protected]_T00J:/ $ cd /mnt/sdcard/ubuntu
[email protected]_T00J:/mnt/sdcard/ubuntu $ su
sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /mnt/sdcard/ubuntu/ubuntu.img
sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /mnt/sdcard/ubuntu/ubuntu.img
[email protected]_T00J:/storage/emulated/legacy/ubuntu # sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /mnt/sdcard/ubuntu/ubuntu.img
MD5 file found, use to check .img file? (y/n)
n
Checking loop device... FOUND
losetup: /dev/block/loop255: No such file or directory
Error: Unable to attach image to loop device! (Image = /mnt/sdcard/ubuntu/ubuntu.img)
1|[email protected]_T00J:/storage/emulated/legacy/ubuntu #
if you know this issue please help me thank for you time

./psneuter

HERO10RK:/ $ cd /data/local/tmp
HERO10RK:/data/local/tmp $ chmod 777 psneuter
HERO10RK:/data/local/tmp $ ./psneuter
Couldn't get workspace.
What's wrong ?
@polibacsi
Message shown simply means the ANDROID_PROPERTY_WORKSPACE environment variable - what gets set during Android's boot-up process - wasn't found / couldn't be read by psneuter.
Look inside here
You can test on existence / content of this variable running
Code:
adb devices
adb shell 'echo "$ANDROID_PROPERTY_WORKSPACE"'
Root Thompson HERO 10RX
Do I have a chance to install ubuntu on the Thompson ? Android 8.1.0 version. I cann,t root.

Categories

Resources