Home » Questions » Computers [ Ask a new question ]

How do you partition a USB Thumb / Flash Drive?

How do you partition a USB Thumb / Flash Drive?

Out of the box, Windows will not allow you to partition a USB Thumb / Flash Drive. How can you do this?

Asked by: Guest | Views: 289
Total answers/comments: 4
bert [Entry]

"The problem

Contrary to Linux, Windows cannot partition or properly use a partitioned (USB Flash Drive) UFD; that is, if you plug a partitioned UFD, only the first partition will be visible.

The solution

The solution should address two problems: partitioning and make partitions visible.
As for the first, an option is to use Linux, perhaps a live distro specifically targeted to imaging and partitioning, like Clonezilla. There are also free Windows tools like Bootice.

The second task is to make all (not only the first one) usable in Windows. A discouraged option is to use tools flipping the removable media bit, as they can damage incompatible sticks.

A better way is to install a filter. A program similar to a drive, adding extra functionality to them. In our case making an UFD appear as fixed drive. See for example Karyonix diskmod.sys discussed on reboot.pro.

Side effects and alternative uses

Since Windows can see only the first UFD partition without a filter, one can make some Linux files invisible to a Windows user, by storing them on a partition other than the first.

A special case is a pen Linux distro. If you want to use the pen for storing documents too and you don't want in Windows to make Linux OS files visible, simply do not install the Linux on the first partition."
bert [Entry]

"You can use Windows cmd.exe: run it as administrator and use console utility diskpart.exe to partition the drive.
Manual: http://ss64.com/nt/diskpart.html"
"You can use Windows cmd.exe: run it as administrator and use console utility diskpart.exe to partition the drive.
Manual: http://ss64.com/nt/diskpart.html"
bert [Entry]

"One way to do this is using a tool called BootIt. this tool removed the removable bit on the thumb / flash drive and allows you to partition the drive.

I'm sure there are better ways to do this, but this is the only one I can think of."
bert [Entry]

Another answer: Put one or more virtual hard drive (VHD) files on the drive and mount them if you need a different file system. In Windows, the Disk Management tool has the ability to attach VHD files as physical disks, so that a VHD file can be accessed just like a physical disk.