Install genext2fs by entering the following commands in the terminal:
sudo apt update sudo apt install genext2fs
Description:
ext2 filesystem generator for embedded systems
genext2fs is meant to generate an ext2 filesystem as a normal (non-root) user. It doesn't require you to mount the image file to copy files on it. It doesn't even require you to be the superuser to make device nodes.
Version: 1.4.1-4build2
Section: universe/admin