Multi-Partitioned USB ThumbDrive

35,910

13

19

Posted

Introduction: Multi-Partitioned USB ThumbDrive

I am a devoted Linux user, and only use Windows when I have too, and avoid Mac at all costs. I came up with this moderately easy-ish hack, to stop Windows users from reading, or even seeing, the contents of part of my thumbdrive.

Its all based on partitions, and filesystems. Windows can only read NTFS, and FAT filesystems, whereas Linux can read NTFS, FAT, Ext2, Ext3 (and soon Ext4), and some others, but I'm not quite so up-to-speed on those.

Basically, we split the thumbdrive into two parts, one FAT (so anyone can read it) and the other Ext3 (so any linux user can read it.) Simple.

Step 1: Ingredients

These are the basic bit of software and hardware you will need:

Thumbdrive (AKA USB flash memory stick, jump-drive, pen-drive, etc) The bigger storage the better.

Puppy linux (a ~100M operating system) head to: http://www.puppylinux.org/ (I used version 4.1.1, but they are pretty similar.) on a live CD.. (I'll get to that later)
--OR--
An Ubuntu installation, with GParted Installed (this is slightly better)

A working computer with a writeable CD Drive (with power, screen, tasteful desktop background, keyboard mouse, etc..)

Step 2: Download and Install Puppy

This step can be skipped if you have GParted installed onto Ubuntu, or any other Linux distribution.

Once you have downloaded the Puppy Linux ISO file, and write it to a CD, there is an inbuilt ISO writer in Windows XP, so all you need to do is head to where you saved the ISO, and right click, and you should find 'write to CD' or something like that. Finish going through the ISO Wizards steps, inserting the blank CD on command, and so on..

Step 3: Start Up GParted

Put your Puppy linux CD into the CD tray, re-boot your PC and Puppy should start up, go through the set up, choosing your mouse type, keyboard layout and screen resolution.

Click 'Menu>System>GParted' (this may differ from version to version) a dialog window should pop up, asking which drive you want to edit, click the one with the make and version of your thumbdrive, then click OK.

A window should pop up, looking something like this: (without the numbers, and arrows)

Step 4: Start Partitioning!

My recommended order (use instructions below as guidelines)
I.Select device
II.Fomat it to Ext3
III.Click Apply, this may take some time..
IV.Click Resize/ Move
V.resize the Ext3 partition, the left-over size will be FAT32
VI.click 'Resize/ Move' in the dialog, to confirm the resize
VII.click the 'Unallocated', grey partition
VIII.Format that to FAT32, not FAT16
IX.Click Apply

Use dropdown (4) to select your device, make sure you have the right one

Use button (1) to resize the partition. If the partition won't resize, try formatting it to Ext3 first.

Click 'Partition>Format to>FileSystem' to change the filesystem type.

(3)May come in handy

(2) click to apply.

Step 5: Fin. Finis. Finish. Kaput.

Once that has finished, shut puppy down, remove the disk.

When you boot onto Windows, only the FAT32 partition will show up.
When you boot onto Linux, both will show up. Amazing.

Share

    Recommendations

    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest
    • Microcontroller Contest

      Microcontroller Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    19 Comments

    can i use partition software to do this on usb?

    i have a 16gb patriot XT with 3 partitions.. all three partitions are for OS installers fist partition is an AIO windows 7 64 & 32bit. partition 2 is Mac OSX SnowL, partition 3 is ubuntu netbook version (small). I love it that way its friggin awesome i use chameleon boot loader to pick which partition to boot with. easy as pie.

    Seesh! I wish I had a drive big enough for all that.. Mine's really old and only 1gb..

    got it on sale @ newegg.com cost me about $30 i think

     OMG im so like you mac is ****** ******* ****

    "avoid Mac at all costs" - awww thats just rough - Mac is a lot closer to Linux than Windows is...

    Nice instructable - cool idea

    Yeah, I know. I was a 'Windows-ie' but it costs far too much for me.. and Mac has to be installed onto an Apple computer, which would be a problem for me, as I don't buy computers, I build them..

    Mac is just to user-friendly.

    JavaNut

    Was going to be mean but I read your last comment.  As for building and not buying you minght wnt to check out OSX86 for info on how to install OSX on a PC.

    I have one of those in brown!!!! That drive is my baby!!

    Is it partitioned?
    --
    JavaNut