I am looking for a way to make a Live USB with Persistence that can be run headless (i.e. by a bash script, therefor with no GUI interaction), either from Mac OS or Ubuntu.
I need this to be able to program multiple USB drives easily for my students.
I managed to make a Live USB from Mac, either by using UNetbootin (even if I did not manage to make the persistence work) or by using the dd command. However, I did not manage to make it persistent without the use of a GUI tool.
Do you guys know how I could do that ?
Thanks !