I've learned from this post that it is possible to boot a live usb without persistence entirely into ram. This is done by adding the
toram boot parameter as explained in that post.
If we instead have a live usb with persistence enabled (i.e. through a casper read-write overlay filesystem on the usb or the like), is it still possible to fully boot into ram, allowing me to remove the usb drive? It seems that adding the
toram parameter only makes the read-only filesystem be copied to ram, but not the persistence overlay filesystem, resulting in I/O errors when removing the usb drive.