Menu

How to prepare USB drive?

2016-05-10
2016-09-24
  • Trevor Goldon

    Trevor Goldon - 2016-05-10

    Hello,

    I purchased a new 32GB USB Flash Drive I want to encrypt.
    I used diskpart to wipe the factory partition. Disk manangement shows the space as unallocated.
    When I try and select the device as a new non system device in VeraCrypt it says I need to remove all partitions first before I can continue (which I thought I had done?)
    What is the proper way to do this? I assume I need to get the drive show as not initialized in Windows first, but unsure how.

    Thanks for any help.

     
    • Emmette Goodrich

      I think this has to do with the way Windows initializes USB drives. Diskpart->Clean SAYS that it clears the first 1Mb on the drive, but I found that it only deleted the partition table from Sector 0, but left the MBR code. This is apparently what triggers VeraCrypt into thinking there are partitions on the disk...

      I zeroed the 1st sector using WinHex but there are other disk utilities out there which will allow you to do the same. Also Diskpart-Clean All will do the same thing, but it will take a LONG time...

      After zeroing the first sector, you should be able to select the device (something like "Removable Disk 1:") and encrypt it completely.

      Hope this helps (if you're still monitoring this thread)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.