OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

> Installing Debian To A Usb Flash Drive With A Swap Partition, How to minimize the damage
post Oct 16 2007, 11:04 AM
Post #1

Group: Members
Posts: 900
Joined: 22-May 04
Member No.: 3,385

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?


Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 21st June 2018 - 08:03 PM