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
Related
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 *********
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).
Hello I am using a rooted Trio Stealth Pro 9.7 and I am trying to get archlinux to work on my rooted tablet.
I have all apk's that I need installed but when I get to the terminal screen this is what I get.
Code:
[email protected]: / $
[email protected]: / $ cd /mnt/extsd/archlinux
[email protected]: /mnt/extsd/archlinux $ su
/system/bin/sh: sh: not found
127|[email protected]: /mnt/extsd/archlinux $ sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /mnt/extsd/archlinux/archlinux-SMALL.ext2.img
sh: /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh: Permission denied
127|[email protected]: /mnt/extsd/archlinux $
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 ?
[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