Disk Management和DISKPART不允许你删除可移动媒体上的分区。但你可以使用DISKPART的clean
命令来删除它并重新开始。以下是一系列对我有效的命令:
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ---------- ------- ------- --- ---
Disk 0 Online 40 GB 0 B
Disk 1 Online 7538 MB 0 B
DISKPART> select disk 1
Disk 1 is now the selected disk.
DISKPART> list part
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Primary 500 MB 1024 KB
DISKPART> clean
DiskPart succeeded in cleaning the disk.
DISKPART> create part primary size=500
DiskPart succeeded in creating the specified partition.
DISKPART> active
DiskPart marked the current partition as active.
DISKPART> format fs=fat quick
100 percent completed
DiskPart successfully formatted the volume.
DISKPART> assign
DiskPart successfully assigned the drive letter or mount point.
这将创建一个500MB的FAT分区作为磁盘上唯一的分区。