USB bootable with Diskpart

DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
——– ———- ——- ——- — —
Disk 0 Online 279 GB 88 GB
Disk 1 Online 190 GB 5780 KB
Disk 2 Online 233 GB 673 KB *
Disk 3 No Media 0 B 0 B
Disk 4 No Media 0 B 0 B
Disk 5 Online 3914 MB 0 B

Once the disk is known, select the disk and run the rest of the displayed commands (change “disk 5” to the number of your disk):

DISKPART> select disk 5
Disk 5 is now the selected disk.
DiskPart succeeded in cleaning the disk.
DISKPART> create partition primary
DiskPart succeeded in creating the specified partition.
DISKPART> select partition 1
Partition 1 is now the selected partition.
DISKPART> active
DiskPart marked the current partition as active.
DISKPART> format fs=fat32 quick
DISKPART> format fs=NTFS quick
100 percent completed
DiskPart successfully formatted the volume.
DISKPART> assign
DiskPart successfully assigned the drive letter or mount point.
Leaving DiskPart…

This entry was posted in Information Technology and tagged , . Bookmark the permalink.

Comments are closed.