lildebi icon indicating copy to clipboard operation
lildebi copied to clipboard

Impossible to make a image file > of 2000MB!

Open DarbyCrash opened this issue 10 years ago • 5 comments

Hi! Thanks for this beautiful application. With Linux Deploy I can make image file of 4095 MB, with Lil' Debi I can't. I have this error: mke2fs: lseek: Value too large for defined data type.

DarbyCrash avatar Jan 07 '15 21:01 DarbyCrash

As we discussed in IRC, busybox is compiled without CONFIG_LFS aka "Large File Support" so that is probably the cause of this. Busybox's config says "Build with Large File Support (for accessing files > 2 GB)"

This also looks important since enabling CONFIG_LFS breaks the build for me: https://github.com/tias/android-busybox-ndk/commit/8b7ac46d071fd1c43f581dbd5ab9db71a5911aec

eighthave avatar Jan 07 '15 23:01 eighthave

Hi mate! I have solved this issue. The problem is mke2fs. I've compiled it on my phone using Little Debian's Wheezy. After i have copyed binary in lil deby's app_bin folder. Now i have a image file of 4095MB!!! Thanks for this wonderful application!

DarbyCrash avatar Jan 08 '15 00:01 DarbyCrash

Ok, that's good news that we've nailed down the cause of this issue. I'm reopening this issue until it is fixed in a Lil' Debi release. Ideally this would be done by getting CONFIG_LFS working with busybox. Building mke2fs from the Debian source would add a lot more complexity to the whole build, so that would be a second choice of solutions to include.

eighthave avatar Jan 08 '15 10:01 eighthave

Before i used the project from Sven-Ola successfully. http://sven-ola.dyndns.org/repo/debian-kit-en.html

But now i installed Cynogenmod 11 and his script is not working any more. :-( https://jira.cyanogenmod.org/browse/CYAN-6348 The last thing i found out is that his ash scripting does not work any more. I am not the shell scripting expert to understand what he is doing there in detail.

But my hope is to get it flying again with lildebi? Sven-Ola did support to mount a separate partition instead of an image file. Is it not possible to do the same here?

karstengit avatar Mar 21 '15 15:03 karstengit

@DarbyCrash: What i want to say is that i successfully used an partition with 4 GB running Debian. This works very well because you are working direct with a partition instead of mounting a file. Of course the partition can be much bigger like 16 GB if you have a big flash card.

karstengit avatar Mar 21 '15 16:03 karstengit