I have my USB stick setup using Easy2Boot. It allows me to drop ISO files onto the USB drive and boot from there no config or tweaking needed.
I have been doing research on making it persistent. I have found that you can use a file or a partition called casper-rw.
It has info on how to use the file, but my question is. Can you have the casper-rw file directly in the root of the bootable ISO or does it need to go into a special folder on the ISO? For that matter can I even have the file in the ISO or do I need to have it directly on the USB drive?
Best Answer
ISO files cannot be mounted and then written to. ISO 9660 is a read-only file system.
So you'd need to situate a
casper-rw
file (it's a single file with a filesystem within too) in a location that's physically on the USB drive.Making a writable filesystem
The Pendrive Linux website shows some details on how to go about creating a
casper-rw
filesystem. The article is titled: Create a larger casper-rw loop file in Linux. NOTE: Acasper-rw
filesystem is just a regular filesystem that's been tucked inside a single file. In that example they're using a EXT3 filesystem within it.Example
Make the "casper-rw" image
Format it as EXT3
Mount it
Check it out