Here's a step by step guide to create a Windows 7 bootable USB drive.
Things needed : A pen drive (atleast 4 gigs), Windows 7 disc
- Attach the pendrive
- Run the command prompt (as Administrator)
- Type "diskpart"
This starts the diskpart utility and you will get the DISKPART> prompt
- Type "list disk"
This displays the list of all disks connected to your system
- Type "select disk <enter_disk_no_here>"
Replace <enter_disk_no_here> by the disk no. of your pendrive as shown in the list. Make sure it is the right disk by verifying its size and read its appropriate number as you might risk nuking your drives. Note that all data on the drive is lost so backup any important data on the drive before proceeding.
- Type "clean"
This will clean any partition off the drive. This means the drive is now kaput and we can proceed to make a new partition.
- Type "create partition primary"
Creates a new primary partition on the pen drive
-Type "active"
Marks the newly created partition as active
- Type "format fs=ntfs quick"
Performs a quick format of the partition into the NTFS file system.
- Type "assign"
Assigns a new drive-letter to the drive. Note this drive-letter. Lets say it is J:
- Type "exit"
Quit the diskpart utility and you are back to the command prompt. Make sure you run the command prompt as an Administrator if you have not already.
- Pop in your Windows 7 disc. Lets say its drive-letter is D:
- Type "d:"
- Type "cd boot"
- Type "bootsect /nt60 j:"
Installs a new bootsector in the pendrive. Note that the drive-letter j: is as assigned in the previous steps.
- Copy the entire contents of the Windows 7 disc to the root of the pen drive. i.e. from D:\ to J:\
Thats it, you can now use your pen drive to boot your system and install windows.
Things needed : A pen drive (atleast 4 gigs), Windows 7 disc
- Attach the pendrive
- Run the command prompt (as Administrator)
- Type "diskpart"
This starts the diskpart utility and you will get the DISKPART> prompt
- Type "list disk"
This displays the list of all disks connected to your system
- Type "select disk <enter_disk_no_here>"
Replace <enter_disk_no_here> by the disk no. of your pendrive as shown in the list. Make sure it is the right disk by verifying its size and read its appropriate number as you might risk nuking your drives. Note that all data on the drive is lost so backup any important data on the drive before proceeding.
- Type "clean"
This will clean any partition off the drive. This means the drive is now kaput and we can proceed to make a new partition.
- Type "create partition primary"
Creates a new primary partition on the pen drive
-Type "active"
Marks the newly created partition as active
- Type "format fs=ntfs quick"
Performs a quick format of the partition into the NTFS file system.
- Type "assign"
Assigns a new drive-letter to the drive. Note this drive-letter. Lets say it is J:
- Type "exit"
Quit the diskpart utility and you are back to the command prompt. Make sure you run the command prompt as an Administrator if you have not already.
- Pop in your Windows 7 disc. Lets say its drive-letter is D:
- Type "d:"
- Type "cd boot"
- Type "bootsect /nt60 j:"
Installs a new bootsector in the pendrive. Note that the drive-letter j: is as assigned in the previous steps.
- Copy the entire contents of the Windows 7 disc to the root of the pen drive. i.e. from D:\ to J:\
Thats it, you can now use your pen drive to boot your system and install windows.