Hello friends her we are going to discuss how to create bootable USB drive using command prompt in windows. Earlier I had shared how to create bootable drive using Power ISO. Power ISO is a easy to use utility for such purposes but it can be used only if you have got this software installed on your system. But here we are going to discuss a method which can be used without installing any software just by opening command prompt. So lets begin with steps:-
Step 1:- Open command prompt as an administrator and for this just press windows button search for "cmd" and right click on command prompt to select run as administrator. This will ask you for administrator permission where you will ofcource click 'yes'.
Step 2:- Now command prompt is open for you where you have to type 'diskpart'. Now wait a while and then type 'list disk'. It will show you list of all disks present on your system. Probably you will see info as
Disk 0 for hard drive and,
Disk 1 for your USB Flash Drive with its total capacity.
Step 3:- Since we are going to work on to create bootable USB drive, we will work with Disk 1.
So lets begin with next step Type 'select disk 1' in the same windows and hit Enter. Then you will get a message ‘Disk 1
is now the selected disk’. That means, any further operation that you do will affect your disk 1 directly.
Step 4:- Type 'clean' and hit Enter to remove all of the data in the USB drive. 'Clean' command will format your bootable drive.Now you will get a message like ‘Diskpart succeeded in cleaning the disk’.
Step 5:- Type 'create partition primary' and hit Enter. You will get a message like Diskpart succeeded in creating the specified partition. Now type 'select partition 1' and hit Enter. It will choose partition 1 for setting up it as an active partition.
Step 6:- Now type 'active' and hit Enter. It will activate the current partition. Then type 'format fs=ntfs quick' and hit Enter. This command will format your current partition as NTFS file system quickly.
Step 7:- Now type 'exit' and hit Enter. Exit command will close the Diskpart program. But don't close the command prompt Window.
Also Read:-
*How to remove write protection from Pendrives.
Step 2:- Now command prompt is open for you where you have to type 'diskpart'. Now wait a while and then type 'list disk'. It will show you list of all disks present on your system. Probably you will see info as
Disk 0 for hard drive and,
Disk 1 for your USB Flash Drive with its total capacity.
Step 3:- Since we are going to work on to create bootable USB drive, we will work with Disk 1.
So lets begin with next step Type 'select disk 1' in the same windows and hit Enter. Then you will get a message ‘Disk 1
is now the selected disk’. That means, any further operation that you do will affect your disk 1 directly.
Step 4:- Type 'clean' and hit Enter to remove all of the data in the USB drive. 'Clean' command will format your bootable drive.Now you will get a message like ‘Diskpart succeeded in cleaning the disk’.
Step 5:- Type 'create partition primary' and hit Enter. You will get a message like Diskpart succeeded in creating the specified partition. Now type 'select partition 1' and hit Enter. It will choose partition 1 for setting up it as an active partition.
Step 6:- Now type 'active' and hit Enter. It will activate the current partition. Then type 'format fs=ntfs quick' and hit Enter. This command will format your current partition as NTFS file system quickly.
Step 7:- Now type 'exit' and hit Enter. Exit command will close the Diskpart program. But don't close the command prompt Window.
Also Read:-
*How to remove write protection from Pendrives.
Step 8:- Now open another command prompt window with administrator power and then type the drive letter of the DVD installer (dvd containing the OS) say in this case it's E then type E: and press enter. This will change the active directory of command prompt o the DVD.
Step 9:- Type cd boot and hit Enter. Now the active directory is changed to E:\boot> Type bootsect /nt60 g: and hit Enter. It will create the boot sector on G: drive (G in mine case is USB Flash
drive).
Step 10:- Type exit and hit Enter to close the Command Prompt. It's all done with the command prompt.
Step 11:- Now it's time to copy the installation files to the USB Drive. You can just visit the directory of ISO file or installation disc and copy all the files to the USB Drive.
Now it's all set with creating bootable USB drive using command prompt.
Step 9:- Type cd boot and hit Enter. Now the active directory is changed to E:\boot> Type bootsect /nt60 g: and hit Enter. It will create the boot sector on G: drive (G in mine case is USB Flash
drive).
Step 10:- Type exit and hit Enter to close the Command Prompt. It's all done with the command prompt.
Step 11:- Now it's time to copy the installation files to the USB Drive. You can just visit the directory of ISO file or installation disc and copy all the files to the USB Drive.
Now it's all set with creating bootable USB drive using command prompt.
COMMENTS