Wednesday, June 3, 2015

Create bootable USB Flash drive using DISKPART

Create bootable USB using DISKPART for OS installation
Prepare: PC run windows 7, USB with capacity >= 4GB, media windows (DVD, ISO file)
1)   Insert the media windows DVD in a drive (or mount the ISO) and make note of the drive letter.  In my case it is drive H:

2) Put the USB in the computer and make note of the drive letter. In my case it is I: and 7.25GB
3) Go to Start > type cmd > right-click cmd.exe > select Run as Administrator
4) Run DISKPART to prepare the disk for the OS install {question mark “?” below should be replaced with the disk number of the USB drive you are using}
diskpart
list disk
select disk ?
clean
create partition primary
select partition 1
format fs=ntfs quick label=”Win8.1-Pro-x64”
active
exit
You should still be in the command prompt window
5) Now we need to copy the boot sector.  You should still be in the command prompt window
C:\Windows\system32>H:
H:\>cd boot
H:\boot>bootsect  /nt60 I:
H:\boot>exit
6) Copy all source from DVD to USB


0 comments:

Post a Comment