How to Create a casper-rw persistent or writable persistence file from Windows: Written for convenience, here is a simple Casper-RW Creator tool. This software should enable its user to quickly and easily create a casper persistent image from within Windows. By simply appending the “persistent” boot parameter, the file created by this tool can be used to save or store changes. You can then restore those changes on subsequent boots.
Also known as an overlay image, this file works as a companion to your Ubuntu Live Bootable USB. Allowing the Live system to act similar to a full installation.
PDL Casper-RW Persistent File Creator
Ubuntu based distributions starting from 20.04 onward require both the volume label and file to be named writable. Whereas, 19.10 and lower use casper-rw for the volume label and file name.
How to Create a casper-rw file with Casper-RW Creator
Download and launch the Casper-RW Creator
Note: The persistent file will be stored at the root of the drive. However, you can move it around later to fit your needs.
Proceed to create a persistent file using the following easy steps;
- First, select your Flash Drive from the drop down
- Then choose which filename to create. casper-rw or writable
- Using the slider, set the size of the file. Then click Create
Booting and using a persistent overlay image
Booting with Persistence enabled: Depending on how you created your Ubuntu, Xubuntu, Kubuntu or other Bootable USB flash drive, you may need to append the persistent boot parameter to your boot menu. To do this, at the Boot Menu, press F6. Then press ESC and add the word persistent to the boot string. Finally, press Enter to boot.
Persistent overlay usage: Though a persistent overlay image works fine for saving and restoring most things. I.E. personalized settings, application settings, saved files, and customizations. However, it does not serve to completely replace a full USB installation. When using a persistent overlay you will need to avoid complete system upgrades. Parts of the system including the kernel, remain compressed and outside of the overlay image. If you try to upgrade, the compressed kernel cannot be modified, resulting in an unbootable system.