How to create a bootable usb to install Windows X
Firstly, insert your USB (WARNING: the following steps will erase ALL DATA on selected USB!!).
Open a cmd prompt and type “diskpart” to start the partitioning program:
[bash]list disk # <– to list the disks on the system
# Disk ### Status Size Free Dyn Gpt
# ——– ————- ——- ——- — —
# Disk 0 Online 931 GB 3072 KB
# Disk 1 Online 1944 MB 0 B
# Disk 2 Online 7498 MB 0 B <– this will be our selected disk
select disk 2
# Disk 2 is now the selected disk.
# DiskPart succeeded in cleaning the disk.
create primary partition
# DiskPart succeeded in creating the specified partition.
select partition 1
# Partition 1 is now the selected partition.
active # <– make the partition active
# DiskPart marked the current partition as active.
format fs=ntfs quick
assign # <– assign a letter to the drive
# DiskPart successfully assigned the drive letter or mount point.[/bash]
Your drive is now ready to copy a loaded iso DVD of your version of Windows.