I'm considering doing the following thing:
I'd like to get a new USB flash drive that's fast.
Install a fully encrypted debian to it with only boot unencrypted, so that I can then use it to boot a computer with it and work on it, saving all the documents to it too.
I'd like to also have a swap partition on the drive, since I don't want to swap to an unencrypted swap partition on the host computer. Now obviously swapping will decrease the life of the flash drive.
What's the best way to minimize damage to it.
Some time ago there was talk about formatting a CF card, with leaving a part of it, i.e. 200 MB for a big one un mkfsed, as this would reduce the wear on the card. Would this be advisable here?
Also, will having a separate swap partition limit the wear just to these parts of the flash?
Probably not, since I want to install debian: create a 100 MB /boot (ext3) as primary partition, and make the rest of the hard drive one huge partition which has "Use as:" set to "physical volume for encryption".
Any thoughts on how to best go about this?
Also, since ext3 uses heavy journaling it's usually advised to set up flash drives as ext2, on the other hand, when the whole huge partition will be encrypted, maybe preventing data loss via using ext3 would be desirable?
Can anyone comment on this?
Thanks.
Later.