Create a Bootable Pendrive By CMD [MBR + GPT]

This article is about how to create a bootable pendrive by using CMD (MBR and GPT). If you have just set-up your new PC build or updating your old PC to a more original Windows version, you may require a bootable Pendrive, which has got the Windows Operating System on it. Here’s you can find out the way how to create a bootable pendrive.

A USB boot is a procedure in which PC hardware can be enabled to understand all important system booting info and files instead of a hard disk or a CD drive. how to Fix Windows C Drive Full No Reason.

How does USB Boot work?

USB Boot works the same way as a floppy disk was earlier used to boot a computer up. It’s commonly used to repair, recover, or install an operating system from scratch. To perform a USB boot, firstly, you would have to create a bootable USB device.

It can be done using your PC or other 3rd party utilities. Then the software will copy all Operating system files and boot the sequence into the USB drive or pen drive to enable the USB boot. To create a bootable USB, you would require a USB drive/pen drive with a minimum of 8 GB.

The Pendrive first requires to be completely formatted before the procedure.

Create a bootable pendrive

In this article you will know about how to Create a Bootable Pendrive. So lets start;

Formatting the USB Drive – Using diskpart

1. First, you’ve to run cmd (Command Prompt) as an Administrator. It is an essential step because you are going to edit disks that require admin privileges. There are several methods to open a command prompt with admin rights

  1. First, press Windows + X and select Command Prompt (Admin).
  2. Open start menu, search cmd, right-click, and tap run as administrator.
  3. Open task manager, tap on File> New Task, tick on Create this task with Administrator privileges, type cmd, and hit Enter.

2. Connect your USB drive to your PC.

3. Type “diskpart” and hit enter. It will open the windows in-built disk part utility, which is used to manage the storage on your PC. Now you’ve to wait until the DiskPart service begins working.

4. In the new separate window, type “list disk” then press Enter. It’ll display all the active disks present on your PC. Here, you’ll see several disks.

5. Select the apt one to depend on the size of the disk. In this case, Type “select disk 2” in the same window and press Enter. You’ll now get a prompt “Disk 2 is now the selected disk” means any commands will now operate on Disk 2 directly.

ALSO READ:  12 Best Ukulele Apps For Android And iOS

6. Now, type “clean” and press Enter to remove all of the data present in your USB drive. This command will entirely format your USB drive. Now, you’ll get a quick, “Diskpart succeeded in cleaning the disk.”

7. To change the disk to MBR, type “convert mbr,” or else for GPT, type “convert gpt.” Use the recommendations below listed:

  1. For Windows 7 or earlier: Prefer MBR
  2. For Windows 8 or later: Prefer GPT
  3. For any other OS: Refer to the official guidelines.

Note: The latest devices support UEFI non-CSM; although, if you are running it on an older device, then your great bet will be to use MBR.

From here there are two methods to create a Bootable Pendrive i.e the easiest way and the advance way. Read article on how to Recover Accidentally Deleted Recovery Partition in Windows 10/11.

How to Create MBR Bootable USB Drive – The Easiest Way

8. Type “Create partition primary” and press Enter. You’ll now get a prompt, “DiskPart succeeded in creating the specified partition.”

9. Type “select partition 1” then press Enter. It will choose partition 1 for setting it up as an active partition.

10. Now, type “active” and press Enter. It will enable the current partition for you to work on.

11. Now you’ve to type “format fs=ntfs quick” and press Enter. This command will eventually format your current partition as an NTFS file system.

12. To exit, just type “exit” then press Enter. The command will shut the DiskPart utility but not the CMD window.

13. Now that you’ve successfully formatted your USB Drive, It’s time to copy the data from the ISO Image present on your computer or a DVD to your USB drive. By doing this will successfully turn your USB flash drive into a Bootable Windows USB drive. It is the easiest way to create a Bootable Pendrive.

 

How to Create GPT Bootable USB Drive – The Advanced Way

Follow the steps for advanced method to create a Bootable Pendrive;

8. Rather than a single partition to make an MBR bootable USB drive, here, you’ll need to create two partitions because natively without supplying the NTFS drivers, UEFI will not be able to use the NTFS partition. It can only recognize FAT32 natively.

  1. EFI Partition: “create partition primary size=64.”
  2. Data Partition: “create partition primary.”

9. Select the first partition using “select partition 1” and format it as a FAT32 file system using “format fs=fat32 quick”.

10. Select the second partition using “select partition 2” and format it as FAT32 file system using “format fs=ntfs quick.”

ALSO READ:  A Complete Review On Atomic Heart RTXGI Confirmed, Multiplayer Not Ruled Out for the Future

11. Download the latest NTFS EFI Drivers Link: https://github.com/pbatard/rufus/tree/master/res/uefi. Download the file named “uefi-ntfs.img”. Extract the content of the File using 7zip and copy it to the partition 1 (64MB).
OR
Download the latest NTFS EFI Drivers Link: https://efi.akeo.ie/downloads/efifs-latest/. You’ll see four folders there, namely “aa64”, “arm,” “ia32,” & “x64”. Download files from each folder, starting with ntfs. We have downloaded the below files:

  1. ntfs_x64.efi
  2. ntfs_ia32.efi
  3. ntfs_aa64.efi
  4. ntfs_arm.efi

 In the partition 1 (64 MB), make a folder named “EFI” on the 64MB partition and inside that folder create another folder named “Boot.” Copy the above-downloaded File in the folder.


12. To exit, just type “exit” and press the Enter button. This command will close the DiskPart utility but not the CMD window.

13. Then, copy all the content of the ISO image or DVD in partition 2. You currently have a GPT + UEFI (non-CSM) bootable USB drive this is how to create a bootable pendrive.

Create a bootable pendrive

Installing Windows

Also read article on how to Fix Windows 10 won’t Install or Download Updates Note: If you select the GPT option in step 7, then make sure that secure boot is disabled. Enable it when the installation of windows is finished.


You’ve successfully copied the file contents of DVD into the USB drive, and it is now bootable. To boot up a new PC, follow these steps:

  1. When your PC starts after powered on, some function key (Generally F8/F12) is used to go into boot device selection. Must sure to insert the USB drive before powering on the PC and select your drive.
  2. The other technique which was traditionally used is to change the boot device order from the BIOS menu. For this, you’ll have to go to bios settings and change the boot order. (See motherboard manufacturer website for more info.)

So, this is our article on how to create a Bootable Pendrive? Bootable USB drive for Windows is super favorable and appropriate as these days; we don’t opt for DVD and other options. And if your PC does not come with Windows preinstalled, or perhaps if you have set-up your system, setting up Windows should not be an issue if you’ve got the bootable USB drive ready.

We hope our instructions are very well stated and apparent enough for you to follow. But in case any issue persists, then do comment down below, and we will surely rectify it. Also read article on How to Fix Windows 10/11 Update Error 0x80080008

You May Also Like

Leave a Reply

Your email address will not be published. Required fields are marked *