If we have to install an Operating System in a system (Windows/ Linux) hen we need a Bootable USB OR Disc with your preferred Operating System Image setup. Here we will see with a Bootable USB.
How to Create a Bootable Pen drive using CMD (command-prompt)? | Indiantechnoera |
A bootable USB is a disk that is used to boot up a system for the installation of an Operating System.
A USB can be made bootable using a command-line only for systems that have Windows(7/8/8.1/10) operating system. Linux Distributions can’t be used to create a bootable USB device without using third-party tools. Early versions of Windows i.e. before Windows 7, can’t be used for making a USB bootable.
In this blog, we will see that how can we make Bootable to a USB by CMD.
Create a Bootable USB Using CMD
Steps to Create a Bootable USB Using CMD
Step 1: Run command-prompt in Administrator mode.
There are two ways to do the same:
a.) Search for CMD in the Start menu, right-click on the command prompt, and click on Run as Administrator.
b.) Open Task Manager, go to File->Run new task, search for cmd, and press enter.
Boot-USB-using-CMD-001
Step 2: Connect the USB device to the computer that is to be made bootable.
Step 3: Type the command ‘diskpart’ in CMD and then press Enter.
Step 4: Type the command ‘list disk’
[It displays a list of all the available storage devices on your system. ]
Step 5: To choose the disk, type the command ‘select disk 1’ and press Enter.
Select the disk that is your pen drive. Generally, it is marked as Disk 1, it might vary from system to system. Make sure not to select any other available disk as it will get formatted.
Step 6: Type the ‘clean’ command. To make a Pendrive bootable, there is a need to format it to clean the existing data.
Step 7: Type the command ‘create partition primary and press Enter.
[This will make the disk primary and ready to be made bootable. ]
Step 8: Type the command ‘select partition 1’ and press enter.
[To choose the partition created as primary.]
Step 9: Type ‘format=fs NTFS’ and press Enter.
[It is needed to format it as NTFS because Windows uses the NTFS file system for storage.]
Step 10: Type the command ‘active’ and press Enter.
[This will mark the primary bootable partition as Active.]
Step 11: Type the command ‘exit’ to exit DISKPART and press Enter.
Now USB has been booted, close the command prompt window.
Step 12: Now copy all the data from the OS(Windows/Linux/etc.) installation disk to your USB drive that is just been made bootable.
Now, this Pen drive can be used to install the desired Operating System on any computer.
Commands
diskpart
list disk
select disk 1
clean
create partition primary
select partition 1
format=fs NTFS
active
exit
Key: Boot drive, make bootable pen drive, how to boot pen drive, how to boot drive, booting, iso booting