Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to create EXT4 FS! #891

Closed
notorand-it opened this issue Dec 22, 2017 · 5 comments
Closed

Fails to create EXT4 FS! #891

notorand-it opened this issue Dec 22, 2017 · 5 comments

Comments

@notorand-it
Copy link

I am trying to install ArchLinux AARM64 on a 4GB disk image.
The process fails because of some incompatibility with mke2fs:

+ /system/xbin/mke2fs -qF -O ^has_journal -t ext4 /sdcard/Linux/arch.img
/system/xbin/mke2fs: invalid option -- t
BusyBox v1.27.2-meefik (2017-08-24 10:35:24 MSK) multi-call binary.

Usage: mke2fs [-Fn] [-b BLK_SIZE] [-i INODE_RATIO] [-I INODE_SIZE] [-m RESERVED_PERCENT] [-L LABEL] BLOCKDEV [KBYTES]

	-b BLK_SIZE	Block size, bytes
	-F		Force
	-i RATIO	Max number of files is filesystem_size / RATIO
	-I BYTES	Inode size (min 128)
	-L LBL		Volume label
	-m PERCENT	Percent of blocks to reserve for admin
	-n		Dry run
+ is_ok fail done

I'll also try to attach the complete log file.

@notorand-it
Copy link
Author

log.txt

BusyBox is v1.27.2-meefik.
LinuxDeploy v2.0.4-228

@notorand-it
Copy link
Author

On a 2gb image it works. I suspect an underlying fs issue (fat?).

@TCerbz
Copy link

TCerbz commented Dec 23, 2017

In FAT or FAT32 the maximum file size limit is 4GB, try using 3900 MB

@meefik
Copy link
Owner

meefik commented Dec 23, 2017

Fixed in version 2.0.5

@notorand-it
Copy link
Author

The limit on FAT is 2GB, not 4.
So you cannot create any disk image larger than 2GB until you convert you storage file system to EXT*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants