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

Could not allocate block in ext2 filesystem #111

Open
flug opened this issue Dec 29, 2022 · 1 comment
Open

Could not allocate block in ext2 filesystem #111

flug opened this issue Dec 29, 2022 · 1 comment

Comments

@flug
Copy link

flug commented Dec 29, 2022

I'm trying to compile an "automative os" version, the command make ramdisk systemimage vendorimage ends up crashing with this error:

__populate_fs: Unable to allocate a block in the ext2 filesystem when writing the "webview.apk" file.
e2fsdroid: Unable to allocate a block in an ext2 file system when creating a file system.

The build is done via a docker image based on Ubuntu, at the beginning I had started this same build on my OS (Linux manjaro) and I had the same error. I don't quite understand how I could solve this problem? Is it due to my partition on my pc which is in ext4 which makes ext2 not work?

@alsutton
Copy link

alsutton commented Feb 1, 2023

From what I've seen, this usually happens when you've added things to the build which can not fit into the size allocated for one of the partitions (usually system.img or vendor.img). If you have added anything, try removing it, and seeing if the build finishes.

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

2 participants