我在安卓上运行ubuntu,出现以下错误
求解答是什么问题,以及解决方案我的运行过程如下:u0_a73@android:/$exportPATH=/data/local/bin:$PATH:.u0_a73@and...
求解答是什么问题,以及解决方案
我的运行过程如下:
u0_a73@android:/ $ export PATH=/data/local/bin:$PATH:.
u0_a73@android:/ $su
u0_a73@android:/ # cd sdcard/ubuntu
127|u0_a73@android:/sdcard/ubuntu # sh ubuntu.sh
Loop device exists
mount: mounting /dev/block/loop255 on /data/local/mnt failed: Invalid argument
mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or directory
mount: mounting proc on /data/local/mnt/proc failed: No such file or directory
mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory
mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory
net.ipv4.ip_forward = 1
ubuntu.sh[58]: can't create /data/local/mnt/etc/resolv.conf: No such file or directory
ubuntu.sh[59]: can't create /data/local/mnt/etc/resolv.conf: No such file or directory
ubuntu.sh[60]: can't create /data/local/mnt/etc/hosts: No such file or directory
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: No such device
chroot: can't execute '/root/init.sh': No such file or directory
Shutting down Ubuntu ARMfailed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: Invalid argument
u0_a73@android:/sdcard/ubuntu # 展开
我的运行过程如下:
u0_a73@android:/ $ export PATH=/data/local/bin:$PATH:.
u0_a73@android:/ $su
u0_a73@android:/ # cd sdcard/ubuntu
127|u0_a73@android:/sdcard/ubuntu # sh ubuntu.sh
Loop device exists
mount: mounting /dev/block/loop255 on /data/local/mnt failed: Invalid argument
mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or directory
mount: mounting proc on /data/local/mnt/proc failed: No such file or directory
mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory
mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory
net.ipv4.ip_forward = 1
ubuntu.sh[58]: can't create /data/local/mnt/etc/resolv.conf: No such file or directory
ubuntu.sh[59]: can't create /data/local/mnt/etc/resolv.conf: No such file or directory
ubuntu.sh[60]: can't create /data/local/mnt/etc/hosts: No such file or directory
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: No such device
chroot: can't execute '/root/init.sh': No such file or directory
Shutting down Ubuntu ARMfailed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: Invalid argument
u0_a73@android:/sdcard/ubuntu # 展开
4个回答
展开全部
这个是busybox出的。原文如下:
I am getting an error: "chroot: can't execute '/root/init.sh': Permission denied" on my android 4.4.x device, what should I do?
This error is becoming common on Samsung devices running android version 4.4.2, and can be expected to happen with some other devices, or newer versions of android. Although I haven't yet found the exact cause of the error, an effective workaround hasbeen found:
The error seems to be coming from something in the busybox executable installed by the Complete Linux Installer app; many have reported that using other versions of busybox removed this problem, and the following version (free download on Google Play) has been confirmed to work: BusyBox
After using that app to install an updated busybox binary, simply copy the new binary over the existing busybox binary at /data/data/com.zpwebsites.linuxonandroid/files/busybox
Finally, in a rooted terminal window, type chmod 0755 /data/data/com.zpwebsites.linuxonandroid/files/busybox(see the more detailed instructions in the How do I install the most up-to-date version of bootscript.sh on my device?section of this FAQ)
Now you should be able to start linux using your Complete Linux Installer app on your device.
I am getting an error: "chroot: can't execute '/root/init.sh': Permission denied" on my android 4.4.x device, what should I do?
This error is becoming common on Samsung devices running android version 4.4.2, and can be expected to happen with some other devices, or newer versions of android. Although I haven't yet found the exact cause of the error, an effective workaround hasbeen found:
The error seems to be coming from something in the busybox executable installed by the Complete Linux Installer app; many have reported that using other versions of busybox removed this problem, and the following version (free download on Google Play) has been confirmed to work: BusyBox
After using that app to install an updated busybox binary, simply copy the new binary over the existing busybox binary at /data/data/com.zpwebsites.linuxonandroid/files/busybox
Finally, in a rooted terminal window, type chmod 0755 /data/data/com.zpwebsites.linuxonandroid/files/busybox(see the more detailed instructions in the How do I install the most up-to-date version of bootscript.sh on my device?section of this FAQ)
Now you should be able to start linux using your Complete Linux Installer app on your device.
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
那你有没有看到你的cd /sdcard/ubuntu少了一条/吗
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
未获得权限
更多追问追答
追问
什么权限
什么权限
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |