How to make bootable pendrive




process of bootable :

You can create a bootable USB pendrive using Command Prompt in Windows by using the built-in tool called diskpart along with the copy command to transfer the files. Here are the steps to create a bootable pendrive:

Warning: This process will erase all data on the USB pendrive, so make sure you have backed up any important data before proceeding.

Insert your USB pendrive: Plug in the USB pendrive into your computer.

Open Command Prompt as an administrator:

Search for "cmd" in the Windows search bar.

Right-click on "Command Prompt" and select "Run as administrator."

List the Disks: In Command Prompt, type the following command to list the available disks:

diskpart

Select the USB Pendrive: Identify your USB pendrive from the list of disks based on its size. Be very careful in this step to select the correct disk; selecting the wrong disk could result in data loss. Replace X with the disk number of your USB pendrive in the following command:

List disk  X

Clean the Disk: This command will remove all partitions and data from the selected disk:

Copy code:_

list disk

select disk X

Create a New Partition:

 

create partition primary

Select the New Partition:

 

Select partition 1

Activate the Partition:

 

active

Format the Partition as NTFS:

 

format fs=ntfs quick

Assign a Drive Letter:

 

assign


Exit diskpart:

exit

Copy Bootable Files: Copy the contents of your bootable ISO image or the extracted files to the USB pendrive. You can use the "xcopy" or "copy" command. For example

 

xcopy D:\*.* /s /e /f E:\xcopy D:\*.* /s /e /f E:\

 

Replace "D:*.*" with the source path of your bootable files and "E:" with the USB drive letter.

After copying the files, your USB pendrive should be bootable and ready to use. You can now use it to boot your computer or install an operating system.

Please be cautious when working with disk and partition operations in Command Prompt, as they can result in data loss if done incorrectly. Double-check that you've selected the correct drive before proceeding.

 

Post a Comment

0 Comments