Making pendrive bootable with windows 7 and 8

Posted by Kill3r On Thursday 12 July 2012 0 comments
1. Plug in your USB Flash Drive
2. Open a command prompt as administrator (Right click on Start > All Programs > Accessories > Command Prompt and select “Run as administrator”
3. Find the drive number of your USB Drive by typing the following into the Command Prompt window:
      diskpart
      list disk
      The number of your USB drive will listed. You’ll need this for the next step.  I’ll assume that the USB flash drive is disk 1.
4. Format the drive by typing the next instructions into the same window. Replace the number “1” with the number of your disk below.
      select disk 1
      clean
      create partition primary
      select partition 1
      active
      format fs=NTFS quick
      assign
      exit
     

Step 2: Make the Drive Bootable
Next we’ll use the bootsect utility that comes on the Vista or Windows 7 disk to make the flash drive bootable.  In the same command window that you were using in Step 1:

1. Insert your Windows Vista / 7 DVD into your drive.
2. Change directory windows 7 boot directory where bootsect lives:
      d:
      cd 8pro32bit
      cd boot

3. Use bootsect to set the USB as a bootable NTFS drive prepared for a Vista/7 image. I’m assuming that your USB flash drive has been labeled disk G:\ by the computer:
      bootsect /nt60 g:
4. close the command prompt

Step 3: Copy the window 7 files to the USB drive

0 comments:

Post a Comment