This instruction is based on a Microsoft article, how to create a bootable USB flash drive. In this guide, you will learn how to create bootable USB flash drive, clean the USB drive completely, create partition, format the USB drive, and make it active.
At the end of this tutorial, you will be able to save iso image in your USB drive. Either you will use it as a portable OS, a Windows OS installer or Antivirus.
It is recommended to use USB 3.0 with minimum 4GB capacity for 32-bit iso image and 8GB for 64-bit iso image of operating system.
Create a bootable USB drive
- Plug the USB Flash drive into your computer’s USB port.
- Search CMD application in the search box, right click and run as administrator. Click Yes to allow the app.
- In Command Prompt window, type diskpart, and hit enter. You will notice diskpart utility tool is now running.
- Type list disk to show your number of drives running in your PC. It also shows you the disk status, size and partition type. Note down the disk number of your USB drive.
- Then type sel disk x, where x is the drive number (ex: sel disk 1) of your USB drive and press enter key.
- Next step is to clean the USB drive. Type clean, and press enter. This command deletes all data from the USB flash drive.
- (Type convert mbr if the current USB disk is GPT type)
- After that, we need to create partition. Type create partition primary, press enter key.
- Enter command list par to show partitions.
- Select the newly created partition by typing sel par 1, then press enter.
- then type active command, and press enter.
- To format the USB drive partition, type format fs=FAT32 quick, then press enter key.
- After formatting the drive, type assign command and press enter, this will automatically assign drive letter to your USB drive.
- Type exit command to close.
Your USB drive is now active and ready. Save your image in the root directory of the drive. Select your USB drive as the first priority in the boot sequence. Good luck