Using Windows 10, you can partition a USB flash drive into multiple partitions. The process is not difficult, you simply follow some easy steps. This tutorial will partition the drive so that your device is assigned multiple drive letters when connected to the computer.
This partition process is not done at the USB controller level; or said another way, done at the hardware level. This USB partition process, for a lack of better terms, is done at the software level. What does this mean for you? It means the partitions can be wiped off the drive and full capacity of the USB flash drive can be restored.
When a USB stick is partitioned at the controller level, or at the hardware level, there is no way to reverse the partition. The multi-partition drive is permanent. At the end of this tutorial is the solution for a hardware based partition solution.
So letâ€™s get started.
How to partition a USB flash drive in Windows 10:
Connect the USB flash drive to your Windows 10 machine. Be sure there is nothing valuable on the USB as this process will remove all content from the drive.
Right Click the Windows icon and select Disk Management.
The Disk Management window will appear with all the connected devices. Select your USB flash drive by clicking one time. By selecting your flash drive, it will allow Windows to apply the partition to that device.
For those into home-brew programming projects, its easy to make a microcontroller spit out some Morse code with the post shown below. What makes [pavlinâ€™s] take on this project interesting is that it resides on a tiny USB board with an ARM processor. The design for the board is available with single-sided artwork suitable for production using simple methods like toner transfer.
The STM device has a built-in USB bootloader. It can also act as a serial port, which makes the project very simple and a bit more flexible. The only external parts are a speaker and an opt-oisolator.
The program provides a command line interface over the serial port that you can use to program the message and set other options like speed and the delay between messages.
Sometimes you will connect a USB to the PC and get an error message saying the drive has a GPT Protective Partition and you cannot format the drive. Here is the fix to resolve the issue:
First, what is a GPT USB stick? The GUID Partition Table (GPT) is the successor to the Master Boot Record. The MBR was created by IBM back in the early 90s. The problem with MBR is the limitation to partition table sizes which is 2 Terabytes.
Since there are no 2T USB flash drives (at the time of this post), there is no need to use GPT as your partition table.
Removing the GPT Protected Partition can be accomplished through the Windows Diskpart program.
Determine the Disk Number for the USB GPT-protected drive. To do this, perform the following:
Right-click on (My) Computer.
Select Disk Management (listed under Storage).
Look for the drive that is identified as GPT and note the Disk number (such as Disk 1).
Now, open a Command Window. From the command prompt, type diskpart and press Enter.
The diskpart prompt will open.
From the diskpart prompt, type list disk and press Enter. A list of disks will appear in a text format. You will return to the diskpart prompt.
From the diskpart prompt, type select disk disknumber (in this example from the screen shot above, you would type select disk 1)and press Enter. A message appears saying that the disk is selected. You will return to the diskpart prompt.
From the diskpart prompt, type clean and press Enter. At this point the drive’s partition and signature a removed. You will return to the diskpart prompt.
From the diskpart prompt, type exit and press Enter. Type exit once more to close the Command Window.
There are two ways to make a USB stick read only. One way is a universal solution and is 100% permanent, the other way is PC specific and a good deterrent. When we say 100% permanent, this means the USB stick is read only (write protected) on all computers, whether it be a Mac, PC, Linux, etc type computer, the USB is read only and the status cannot be changed. The other method flags a USB device to be read only in relationship to the PC it is connected to so that whenever that USB stick is connected to that computer, it makes the USB read only and blocks all write commands to the device.
Most times an IT manager or content owner wants the USB stick to be read only so the files cannot be deleted or formatted off the drive. Another reason for making a USB read only is for the original files to remain the same and blocks the ability for files to be changed or manipulated. Finally, it’s smart to have USBs read only so that virus’ don’t jump onto the drive and possibly spread to other computers.
Let us start with the less permanent way because it’s easier to do and doesn’t require any specific hardware. You will need a Windows7 machine or higher. The Windows7 machine will have DiskPart utility which allows us to perform all sorts of cool things to flash drives, like setting write protection.
Connect the USB to your Windows computer.
To begin, go to your Windows Start and in the Search Field type â€œcmdâ€
This will run your Command prompt.
Next, you will want to get to the C root of the Command prompt and if you are signed in as a user you can simply type cd\ this will get you back to the root of the C drive.
Type LIST DISK
Now you will need to find the USB stick connected to your PC. Most likely it’s DISK 1
When a USB stick is connected to a PC the Windows operating system enumerates the device.Â In simple terms, this means Windows will check to see what type of device was just connected, a HID device, Mass Storage Devicet etc, it will also check the speed of the device.
During the enumeration process some registry entries are made into the Windows registry…this is where a hacker could get into your system and take control.Â This is the update Microsoft issues earlier this week to fix the security flaw.
Since the vulnerability is triggered during USB enumeration, no user intervention is required. In fact, the vulnerability can be triggered when the workstation is locked or when no user is logged in, making this an unauthenticated elevation of privilege for an attacker with casual physical access to the machine. Other software that enables low-level pass-through of USB device enumeration may open additional avenues of exploitation that do not require direct physical access to the system.
So be sure to update your PC with the update notification comes through – it’s in your best interest.
Full Microsoft article
The Alesis IO Dock is a great product for iPad musicians â€“ this small hack makes it even greater. It overcomes one limitation of the IO Dock: You canâ€™t simply hook it to a USB hub. So I decided to build in an additional hub â€“ which allows me to hook up additional class-compliant interfaces like my M-Audio Axiom master keyboard, and power them via the hub.
Yes, it works. No, it hasnâ€™t been thoroughly tested yet. So try at your own risk.
Full Tutorial (nice)