Friday, 23 March 2012

How to make a bootable USB pendrive


Requirements:
  • USB flash drive (minimum 4GB)
  • Windows 7 or vista installation files
Follow the below steps to create bootable windows 7/vista USB drive using which you can install windows 7/vista easily.

1.      Plug-in your USB flash drive and move all the contents from USB drive to a safe location on your system.

2.      Open command prompt with admin rights. Use any of the below methods to open command prompt.

  • Type in start menu cmd and enter selected CMD file.
  • Go to start menu > all programs > accessories, click on command prompt.
3.      You can to know about the USB drive a little bit. Type in the following commands in the command prompt.
First type DISKPART and hit enter to see the below message.


Next type LIST DISK command and nite down the Disk number (like: Disk 1) of your USB flash drive. In the below screenshot my flash drive no is Disk 1.

4.      Next type all the below commands one by one. Here I assume that your drive no is “Disk 1”. If you have disk 2 as your USB flash drive then use disk 2. Refer the above step to confirm it.

Se below are the commands you need to type and execute one by one:

SELECT DISK 1

CLEAN

CREATE PARTITION PRIMARY

SELECT PARTITION 1

ACTIVE

FORMAT FS=NTFS

(formate process may take few seconds)

ASSIGN

EXIT

Don’t close the command prompt as we need to execute one more command at next step. Just minimize it.

5.     Next insert your Windows7/Vista DVD into the optical drive and check the drive letter of the DVD drive. In this guide I will assume that your DVD drive letter is “D” and USB drive letter is “H” (open my computer to know about it).

6.      Maximize the minimized Command Prompt in the 4th step.Type  the following command now:

D: CD BOOT and hit enter where “D” is your DVD drive letter.

CD BOOT and hit enter to see the below message.
7.       
      Type another command given below to update the USB drive with BOOTMGR compatible code.

BOOTSECT.EXE /NT60 H:


Where “H” is your USB drive letter. Once you enter the above command you will see the below message.

8.      Copy your Windows 7/Vista DVD contents to the USB flash drive.

9.     Your USB drive is ready to boot and install Windows 7/Vista. Only thing you need to change the boot priority the BIOS to USB from the HDD or CD ROM Drive. I won’t explain it as it’s just the matter the changing the boot priority or enabling the USB boot option in the BIOS.

Note: If you are not able to boot after following this guide means you haven’t set the BIOS priority to USB. If you got any problem in following this guide feel free to ask questions by leaving comment.

No comments: