If you wrote an image directly to an USB drive it won't show correctly in file managers.
Source: http://www.passmark.com/forum/showthread.php?4508-Reclaim-disk-space-after-imaging-with-imageUSB
- Insert UFD.
- Launch imageUSB and select the appropriate UFD. (Be careful and select the correct drive!).
- Choose the Zero UFD option & Run.
- Drive MBR is now Zeroed. You will need to reinsert the drive for Windows to recognize it and prompt for formatting before you can use it again. A normal format will now recover the full capacity of the USB drive.
- Start a Command Prompt with Admin Permissions. (Start, Type "cmd", right click on command prompt in the list of programs, and select "Run as Administrator")
- Enter the command "diskpart"
- Enter the command "list disk", locate the disk number for your USB Drive
- Enter the command "select disk X", where X is the number of your disk from step 3.
- Enter the command "clean", this will remove any and all partition or volume formatting from the disk with focus.
- Done, type "exit" to quit diskpart.
- Now in back in Disk Management, you should be able to right click the drive and choose new simple volume and proceed with formatting.
dd count=1 bs=512 if=/dev/zero of=/dev/sdx && sync
sudo pacman -S dosfstools
cfdisk /dev/sdx
mkfs.vfat -F32 /dev/sdx1
dosfslabel /dev/sdx1 USB_STICK
Note that sdx1
is your USB drive. Look for it in lsblk
.