User Tools

Site Tools


windows:diskpart_cleanusb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
windows:diskpart_cleanusb [2021/08/11 18:57] admintomiwindows:diskpart_cleanusb [2021/08/11 19:01] (current) admintomi
Line 7: Line 7:
    - **DISKPART> automount disable **  (Disables automount of disks)    - **DISKPART> automount disable **  (Disables automount of disks)
   - Insert USB disk   - Insert USB disk
-  - Find and select correct disk, failure in this step may end you deleting your harddrive. Disk size is way to identify correct disk \\ +  - Find and select correct disk, failure in this step may end you deleting your harddrive. Disk size is way to identify correct disk \\  \\ **DISKPART> list disk ** \\  \\ **Disk ### Status Size Free Dyn Gpt** \\ **——– ————————— —** \\ **Disk 0 Online 931 GB 2048 KB *** \\ **Disk 1 Online 7452 GB 1024 KB *** \\ **Disk 2 Online 1907 GB 0 B *** \\ **Disk 3 Online 14 GB 2861 MB** \\  \\ **DISKPART> select disk 3** \\  \\ **DISKPART> list disk** \\  \\ **Disk ### Status Size Free Dyn Gpt** \\ **——– ————————— —** \\ **Disk 0 Online 931 GB 2048 KB *** \\ **Disk 1 Online 7452 GB 1024 KB *** \\ **Disk 2 Online 1907 GB 0 B *** \\ *** Disk 3 Online 14 GB 2861 MB** \\  \\ 
- +  - Then wipe the selected disk \\  \\ **DISKPART> clean** 
-**DISKPART> list disk \\  \\ Disk ### Status Size Free Dyn Gpt \\ -------- ------------- ------- ------- --- --- \\ Disk 0 Online 931 GB 2048 KB * \\ Disk 1 Online 7452 GB 1024 KB * \\ Disk 2 Online 1907 GB 0 B * \\ Disk 3 Online 14 GB 2861 MB** +  - I think sometimes clean does not clean partition table fully, causing errors later on. Try to get around this changing partition table \\  \\ **DISKPART> convert gpt** \\  \\ **DiskPart successfully converted the selected disk to GPT format.** 
- +  - Create partition \\  \\ **DISKPART> create part pri** \\  \\ **DiskPart succeeded in creating the specified partition.** 
-**DISKPART> select disk 3** +  - Format partition \\  \\ **DISKPART> format fs=fat32 quick** \\  \\ **100 percent completed** 
- +  - Close diskpart, remove drive and plug it in again
-**DISKPART> list disk \\  \\ Disk ### Status Size Free Dyn Gpt \\ -------- ------------- ------- ------- --- --- \\ Disk 0 Online 931 GB 2048 KB * \\ Disk 1 Online 7452 GB 1024 KB * \\ Disk 2 Online 1907 GB 0 B * \\ * Disk 3 Online 14 GB 2861 MB** +
-  - +
- +
-Then wipe the selected disk +
- +
-**DISKPART> clean** +
-  - +
- +
-I think sometimes clean does not clean partition table fully, causing errors later on. Try to get around this changing partition table +
- +
-**DISKPART> convert gpt \\  \\ DiskPart successfully converted the selected disk to GPT format.** +
-  - +
- +
-Create partition +
- +
-**DISKPART> create part pri \\  \\ DiskPart succeeded in creating the specified partition.** +
-  - +
- +
-Format partition +
- +
-**DISKPART> format fs=fat32 quick \\  \\ 100 percent completed** +
-  - +
- +
-Close diskpart, remove drive and plug it in again+
  
  
windows/diskpart_cleanusb.1628697430.txt.gz · Last modified: 2021/08/11 18:57 by admintomi