Forum Home
Press F1
 
Thread ID: 46989 2004-07-12 07:56:00 Is it possible to partition a USB Thumbdrive? Chilling_Silence (9) Press F1
Post ID Timestamp Content User
251699 2004-07-16 10:38:00 Alrighty,

Got USB Devices sorted. My thumbdrive is now partitioned:
64MB vfat primary partition
68MB ext2 256-bit AES-encrypted primary partition
But after all the FAT's, it works out at 61 and 62MB respectively.

Totally painless. Windows XP on the Family's PC picks up the vfat partition fine, and in the Disk Management thingy-whatsit (Right-Click on My Computer and choose Manage) it see's that there's an unknown partition. Of course its unknown because for starters its Ext2, secondly its 256-bit AES encrypted :-D

Anyways, Im very happy!

I followed:
www.tldp.org
Except I didnt have to patch util-linux :-)

Now... An encrypted /home partition is next on the list ;-)

*I wonder how much my Digital Camera would complain if I made it ext2 :p

Cheers


Chill.
Chilling_Silence (9)
251700 2004-07-17 01:49:00 Before you encrypt the /home directory, try doing it to a "temporary" test directory and make sure you have a floppy or a bootable CD which can access all the files on it (and any backups of it) without booting the running OS. It's possible to have encrpyted files which are protected from everyone Accidents happen. Especially when there are protection mechanisms. Keys on the same medium are one prime accident eaget to hap;pen.

The camera probably wouldn't complain. It might just stop working.
Graham L (2)
251701 2004-07-17 02:22:00 Hi, Thanks for the link in your posting. It saved me hours of frutration.

Alan
Alan Wise (4057)
251702 2004-07-17 02:24:00 I'll be doing this when I rebuild my Gentoo server.
Basically, its not going to go down, but when it does I want to know that the data is securely locked away. I'll be manually mounting /home by adding a line into /etc/conf.d/local.start

The / and /home partition will both be reiser4, and Im gonna have to sort out a lookback fs for /var of some sort because reiser4 dies when using Apache2 and mod_php apparently.

Basically if I lock myself out, I can boot the Love-LiveCDv2 which uses kernel-2.6.7-redeeman-r2 IIRC, and Ive grabbed kerenel config from /proc and it supports encryption :-)

Of course the camera wont work - It can only read FAT12.

I knew this, but just for the sake of it I formatted it FAT32 and it didnt read it :D

The world is my oyster....


Chill.
Chilling_Silence (9)
251703 2004-07-17 02:25:00 Hi Metla, Yes ! But it is not cool to hang the caddy round your neck and try to listen to your music tracks.
Alan
Alan Wise (4057)
1 2 3 4