The Ultimate Guide to Creating a Bootable Pendrive Using CMD: Step-by-Step Tutorial


 If you’re looking to create Bootable Pen drive, using the Command Prompt (CMD) ,we’ll guide you through the process to ensure your bootable pen drive is ready for action.

Step 1: Prepare Your Pendrive

Before you start, make sure your pendrive is properly connected to your computer. Back up any important data on the pendrive, as the process will erase all existing data in pendrive.

Step 2: Open Command Prompt

  1. Press Windows + R to open the Run dialog box.
  2. Type cmd and press Enter. This will open the Command Prompt window.

Step 3: Access Diskpart Utility

  1. In the Command Prompt, type diskpart and press Enter. This will open the Diskpart utility, which allows you to manage your disks.

Step 4: List and Select the Pendrive

  1. Type list disk and press Enter. This command will display all the disks connected to your computer. Identify your pendrive based on its size.
  2. Type select disk X (replace X with the number corresponding to your pendrive) and press Enter.

Step 5: Clean and Format the Pendrive

  1. Type clean and press Enter. This will remove all partitions and data from the pendrive.
  2. Type create partition primary and press Enter to create a new primary partition.
  3. Type select partition 1 and press Enter.
  4. Type active and press Enter to mark the partition as active.
  5. Type format fs=fat32 quick and press Enter to quickly format the partition as FAT32.

Step 6: Assign a Drive Letter

  1. Type assign and press Enter. This will automatically assign a drive letter to your pendrive.

Step 7: Copy the Boot Files

  1. Exit Diskpart by typing exit and pressing Enter.
  2. Navigate to the location where your bootable files are stored. Use the cd command to change directories. For example, cd C:\path\to\bootable\files.
  3. Copy the boot files to the pendrive. Type xcopy *.* X:\ /s /e /f (replace X with your pendrive’s drive letter) and press Enter.

Step 8: Test Your Bootable Pendrive

To ensure everything is working correctly, restart your computer and enter the BIOS/UEFI settings (usually by pressing F2, F12, Del, or Esc during startup). Set your pendrive as the primary boot device and save the changes. Your computer should boot from the pendrive, allowing you to test its functionality.


Post a Comment

Previous Post Next Post