meefik / linuxdeploy

Install and run GNU/Linux on Android
https://meefik.github.io/linuxdeploy
GNU General Public License v3.0
5.12k stars 681 forks source link

linux.img already exist #722

Open Clockris opened 7 years ago

Clockris commented 7 years ago

Hi, there are many weeks that I am trying to install Kali on my Samsung Galaxy Tab S2 SM-T715 but even if I fixed many problems now I am blocked in this one:

[15:45:32] mkdir: can't create directory 'storage/emulated/legacy/linux.img': File exists [15:45:32] ## bootstrap/rootfs : do_install && do_configure [15:45:32] :: Installing bootstrap/rootfs ... [15:45:32] Checking installation path ... done [15:45:32] Making file system ... ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether storage/emulated/legacy/linux.img is mounted. [15:45:33] done [15:45:33] ## bootstrap/kalilinux : do_install && do_configure [15:45:33] :: Installing bootstrap/kalilinux ... [15:45:33] mkdir: can't create directory '/data/data/ru.meefik.linuxdeploy/env/storage/emulated/legacy/linux.img/': Not a directory

Have you any idea of the kind of problem?

SyntaxEdits commented 7 years ago

You may have made an image file but never installed it. Install a file manager onto your android system. Follow the path where the file was stored ('storage/emulated/legacy') and delete it. Reboot linux deploy after, then try to install again. If that doesn't work, change the location where Linux Deploy stores the image file by going into Properties > Image path and change it to your SD card if you stored it into external storage, or vise versa, depending where the image file was stored.

pzlingo commented 7 years ago

If you try several distributions you may want to have different profiles. On each profile you can modify the path and filename of your image-file, default is linux.img.