Power & Source of Big Ideas

Unclear to create eflasher images

Moderators: chensy, FATechsupport


I want to create my custom eflasher image based on FriendlyArm-Xenial for the NanoPi Neo Plus2 (H5 board). I'm not totally sure to create the folders file contents. My question is how to create a working rootfs.img file? I think the existing boot,img can be untouched. I would prefer to prepare a SD card with my modifications and create an image file of it to place it into eMMC.
The described make_ext4fs application from eflasher-build-tools does not run on my NanoPi platform and a i386 desktop Ubuntu that I've testet.
Can someone give me a short description of how to create this rootfs.img file from a starting point of a working SD card? I've seen that this is also not able to mount or to open with 7zip for example.

Thanks for any help.

I have the same problem.
When I lauch the command

Code: Select all

./make_ext4fs -s -l 2097152000 -a root -L /media/external/rootfs.img rootfs
I get this error back:

Code: Select all

-bash: ./make_ext4fs: cannot execute binary file: Exec format error


Who is online

In total there are 12 users online :: 0 registered, 0 hidden and 12 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 12 guests