meefik / linuxdeploy

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

No space left on device - How to use whole sd card for linux to use #725

Open Gacut opened 7 years ago

Gacut commented 7 years ago

I have a problem with this "No space left on device" problem for about 4 days.

I can't seem to figure out how to increase root partition of Kali Linux downloaded via Linux deploy app. Every single function of Linux is working like a charm but i can't install any of Kali Tools and even update because it says that i don't have an more space left while 29gb is still unused on sd card.

Can somone please guide me trough this and hel me get it working?

Anan5a commented 7 years ago

You just can't. Because the max file size is 4GB in fat32 fs . you could try directory installation but backup the current copy and conf. Also content of SD card because it'll format SD card for dir installation

Gacut commented 7 years ago

Isn't there any way to merge EXT2 partition to expand the space for installed tools?

pzlingo commented 7 years ago

I run into almost similar problem. I have enough space on SdCard.

When I specify a size lower than 8000Mb, creation of image-file is within seconds, and seems to raise it's size, but when reaching 2000Mb, df -U reports complete usage of disk, and same message appears "No space left on device". If I specify 8000Mb as img-size and ext4 as filesystem, creating of image-file takes 4-5 minutes and full space is reserved on SdCard. So I can use the whole 8000Mb of space, df -U reports correct values.