If you want to install, update, repair or dual boot your desktop or laptop computer. And you don’t know how to go about it or which software to use. Here are some easy steps on how to create a bootable USB drive using Command prompt(CMD) for your installation or update.
Steps to creating a bootable USB drive.
Assuming that you already have your windows computer on and a 4GB USB flash drive or bigger inserted into your computers USB port.
- Open the command prompt as an administrator by using windows key + x then selecting command prompt(Admin) or by simply typing CMD in the search bar.
- In the command prompt type diskpart and press enter key. To enter into the disk part of your hardware.
- Within the new line that opens in the command prompt, type list disk and hit enter key to display all the disks on the computer and in this section take note of your USB flash drive number or letter as this is useful for the next step.
- Type select disk X and press enter key to select your USB flash drive, where X is your USB flash drive number or letter.
- At the command prompt, type clean and hit enter key to delete everything within the flash drive.
- In order to create a primary partition on your USB flash drive, type create partition primary and hit enter key.
- Type select partition 1 and press enter key to select the primary partition that you just created earlier on.
- Now to format the partition that you have just created, you have two options depending on the type of operating system that you want to install, repair or dual boot. For windows use format fs=ntfs quick and hit enter key while for Ubuntu or Linux use format fs=fat32 quick and hit enter key.
- Type active and press enter key to activate the settings.
- Lastly type exit and then click enter key to exit the disk part.
Adding a system image for your operating system.
Now that you are done with creating the bootable flash drive. It’s time to add a system image for your operating system. Create an empty folder and give it the name of your operating system or name it something else apart from new folder. By the way, naming depends on your choice. Extract the files of your operating system from an ISO format into an empty folder that you created earlier on. Once the files are done extracting, copy or cut the extracted files and paste them into the bootable flash you created. When the files are done being transferred, eject the USB flash drive. And once you plug back the USB flash drive you will be able to see the OS image come up.
Fortunately you can use the same procedure to recover your hard drive or USB flash drive but not necessary the information within it. If you are afraid that you can damage or destroy your flash drive or computer at large, please feel free to use free software programs such as Rufus or Universal USB Installer. Generally this method stated above is much faster than compared to some software programs. For questions and contributions use the comment section below.