Saturday, 22 September 2012

Make A Windows Bootable Usb

1) First you need to type some codes in the command prompt of ANY windows 8 or 7 or xp. Enter your usb and the dvd (if you have an image file, mount it to your virtual drive using daemon tools.)



Here are the ways:

  • Go to Start, type cmd. Right click and click "Run as administrator".



Click yes, and it will open the command prompt

  • type "diskpart" (without the quotes "" )!!!

  • then type "list disk" (the list disk command will list all the disks in you have)

  • type "select disk #" (# is the disk no of the usb you have plugged in, you can get the number by checking your disk size. Mine's 0 for example)



  • then type "clean" ( it will clean the usb , but will not format it, so if you leave it like this , your usb wont work afterwise until you do the following command or format it)

  • type "create partition primary" (it will create the partition)

  • type "select partition 1"

  • type "active"

  • type "format fs=ntfs quick" (you can change the "ntfs" to any format you like, for eg "fat32". Quick is for quick format.)

  • type "exit"! cause its done!

  • then Copy the Windows files INSIDE the dvd to the pen drive.

(REMEMBER, don't copy the drive, but the files inside, otherwise it wont work!)

- Now, just in case you have to copy the boot sector (though you might not need it, so you can skip this step if you want to experiment and want to take a little risk. I did not need this step.)

2) In the command prompt window type the following (type after the ">" since its already written, for example "g:" in the 1st step):

replace "e" with your Usb's drive letter. In the picture above its e.

replace "G" with your dvd/virtual dive letter. see the above picture.

  • C:\Windows\system32>g:

  • G:\>cd boot

  • G:\boot>bootsect /nt60 e:

Target volumes will be updated with BOOTMGR compatible bootcode.
Bootcode was successfully updated on all targeted volumes.

  • G:\boot>exit

Now you have a working bootable usb!
                                           << Share On Facebook >>
                                    

No comments:

Post a Comment