Vista-kb3 Create bootable USB disk with diskpart and WAIK

From JBKB

Jump to: navigation, search

Microsoft Vista/Diskpart
Microsoft Vista/Diskpart

Version: 1.0.3
Difficult level: 4/5
Status: Tested and works fine

Requirements

This KB assume you have a USB disk by choice and Windows AIK already installed on your Vista machine.

Diskpart operations

Start CMD in elevated administrator mode:

Type in the following (all in bold):

diskpart
This starts the application diskpart.

Image:V-kb3-diskpart1.jpg

list disk
This to verify which ID your flash disk got

select disk 1
where 1 is the Disk ID you verified with list disk
sel disk 1 works as well, now you have selected your flash disk

clean

Warning: This will delete all data you previously had on the flash disk


create partition primary
create par primary works as well, this creates a partition

select partition 1
sel par 1 works as well to select the primary partition

active
act works as well and this active the partition.

format fs=fat32
Format the flash disk with filesystem FAT32.

Image:V-kb3-diskpart2.jpg


assign
assign a letter for the flash disk

exit
exit the diskpart application

Image:V-kb3-diskpart3.jpg

Boot image

In CMD navigate to your PETools folder (default: C:\Program Files\Windows AIK\Tools\PETools>)
here run:

Copype.cmd x86 c:\winpe_x86
where x86 is your processor architecture and c:\winpe_x86 is your destination folder.

Image:V-kb3-WAIK1.jpg

then run the following:
xcopy c:\winpe_x86\iso\*.* /s /e /f g:\
where g:\ is the drive letter for the flash disk.

Image:V-kb3-WAIK2.jpg

Now you have a USB disk/key that is bootable with winPE 2.0

89 Rating: 2.9/5 (19 votes cast)