Reset Partition Layout of an USB Stick

After installing a bootable Linux system on an USB stick, the stick contains multiple partitions, which make it a pain to reformat it into something “normal” again. Windows provides a solution thought:

Important: Whatever you do, be sure to select the right partition!

c:\> diskpart

DISKPART> list disks

  N° disque  Statut         Taille   Libre    Dyn  GPT
  ---------  -------------  -------  -------  ---  ---
  Disque 0    En ligne        953 G octets      0 octets
  Disque 1    En ligne        111 G octets      0 octets
  Disque 2    En ligne        139 G octets      0 octets
  Disque 3    En ligne       5589 G octets   500 G octets        *
  Disque 4    En ligne         14 G octets      0 octets

DISKPART> select disk 4            ( <-- be sure to select the USB stick, otherwise.... groosse catastofe!)

Le disque 4 est maintenant le disque sélectionné.

DISKPART> clean all                ( <-- performs a LOW LEVEL format of the stick, takes some time)

Now you use a tool like YUMI with the empty partition or format the drive using “diskpart” like this:

create partition primary
select partition 1
format    (or: format quick) (or: format fs=ntfs)

In case you get an “Access Denied” at the FORMAT command, it’s possible that some other command still is executing in the background. You can open the “DiskManager” (diskmgmt.msc) as Administrator to get an overview of this operations in progress.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.