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
- Press
Windows + R
to open the Run dialog box. - Type
cmd
and press Enter. This will open the Command Prompt window.
Step 3: Access Diskpart Utility
- 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
- Type
list disk
and press Enter. This command will display all the disks connected to your computer. Identify your pendrive based on its size. - Type
select disk X
(replaceX
with the number corresponding to your pendrive) and press Enter.
Step 5: Clean and Format the Pendrive
- Type
clean
and press Enter. This will remove all partitions and data from the pendrive. - Type
create partition primary
and press Enter to create a new primary partition. - Type
select partition 1
and press Enter. - Type
active
and press Enter to mark the partition as active. - Type
format fs=fat32 quick
and press Enter to quickly format the partition as FAT32.
Step 6: Assign a Drive Letter
- Type
assign
and press Enter. This will automatically assign a drive letter to your pendrive.
Step 7: Copy the Boot Files
- Exit Diskpart by typing
exit
and pressing Enter. - 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
. - Copy the boot files to the pendrive. Type
xcopy *.* X:\ /s /e /f
(replaceX
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