“..Like many folks, after watching the BUILD keynote this morning, I couldn't wait to get home and install Windows 8 Developer Preview on my laptop. The instructions for installing Windows 8 are simple enough. The only fly in the ointment is that installing Windows 8 requires a DVD to create an install package…”
So Mount the ISO first lest say it is mounted on I: drive
Here are the steps to format a USB flash drive.
- Insert a USB flash drive into your computer
- Start a Command Prompt as an Administrator and type diskpart. This starts the Disk Partition tool which you need to use to format the flash drive. Once you see the DISKPART command prompt, type in the following commands
- DISKPART> list disk /* shows list of active disks */
- DISKPART> select disk # /* # is the number for your USB flash drive */
- DISKPART> clean /* deletes any existing partitions on the USB flash drive */
- DISKPART> create partition primary /* create a primary partition on the USB flash drive */
- DISKPART> select partition 1 /* select the newly created partition */
- DISKPART> active /* make the new partition active */
- DISKPART> format /FS:NTFS /* format the USB drive with NTFS file system */
- DISKPART> assign /* assign a volume and drive letter to the USB drive */
- DISKPART> exit /* exit Disk Partition */
At this point, your USB flash drive should be showing up in Windows Explorer and have a drive letter assigned to it, e.g. F:\.
Make the USB flash drive bootable
We just need to make the USB flash drive bootable before copying the files. To do this, you can use the Boot Sector Registration Tool (bootsect.exe) which is located in the boot folder of the Windows 8 ISO image.
- Start a Command Prompt as an Administrator and CHDIR into the boot folder of the Windows 8 ISO image, e.g. I:\boot where I:\ is the drive where the ISO image is mounted
- Type bootsect /nt60 E: /* where E: is the drive assigned to the USB flash drive */
Step 3: Copy the Windows 8 files onto the USB flash drive
From a command line, use XCOPY to copy the Windows 8 files to the USB flash drive . In the example below, I:\ is the drive where the ISO image is mounted. F:\ is the USB flash drive.
XCOPY I:\*.* F:\ /E /F /H