Updated r2u 2.0 beta is here -
http://distro.ibiblio.org/refracta/file ... a02.tar.gzMerged patch-live-initrd_402-1. As before, you can just unpack the tarball and run the script inside as root. You need to have refracta2usb installed already or else install the deps manually. It won't do anything with the existing r2u installation.
Tested with live-usb jessie-sysv, dzz's sample refracta64 (or whatever we're calling it) and refracta_7.8-amd64 (wheezy).
read-write media works
swap did not wo... oops. I just checked, and the only swap partitions I had were on the fourth hard drive that got pulled out a few months ago. I'll bet it works just fine.
Encrypted, persistent loopback file works.
Encrypted, persistent partition hasn't been written yet. I have to reorganize the whole mkpersist section.
I didn't get to try rebuilding the initrd on the fly for encryption. Have to find (or make) an iso that hasn't already had the initrd rebuilt for that.
If you run one of the Create functions first, and then run Patch-Initrd, you'll need to Rescan. $usb_mountpoint doesn't get unmounted at the end of the create tasks. At the moment, I can't recall why I did it that way (it was several months ago.) Maybe it's so the device didn't get unmounted and remounted unnecessarily if you follow up with making a persistent volume, when you'd need to access the boot files and menu.
I only tested the script running in wheezy, but everything except the patch-initrd part has been tested in jessie.