How to create a bootable USB flash drive to install Windows 8

How to create a bootable USB flash drive to install Windows 8


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.
Of course, since I haven't used an optical drive in years, I didn't have a blank DVD and I didn't want to wait until the morning to buy some. But I did have a USB flash drive and so I decided to create a bootable USB flash drive to install Windows 8.
To create a bootable USB flash drive the easy way, you can download the Windows 7 USB/DVD download tool from the Microsoft Store. If you feel adventurous and are comfortable with command line tools, below are the step-by-step instructions for installing Windows 8 Developer Preview from a USB flash drive. But be warned, if you are not comfortable with command line tools, downloading the Windows 7 USB/DVD download tool is a much better option and will save you the effort of reading the remainder of this blog.

Instructions (using the command line)

At a high level, the steps are:
  1. Mount the Windows 8 Developer Preview ISO image on your computer
  2. Format a USB flash drive
  3. Copy the Windows 8 files onto the USB flash drive
  4. Make the USB flash drive bootable
  5. Install Windows 8 from the bootable flash drive

 

Step 1: Mount the Windows 8 Developer Preview ISO image on your computer

The first step is to mount the ISO image on your computer. Since Windows 7 doesn’t have the capability to mount an ISO image, you’ll have to use a 3rd party tool.
  1. Download the Windows Developer Preview ISO image (choose one of the three available)
  2. Using your favorite ISO image software, mount the ISO image on your computer
To check that the ISO image mounted successfully, you should be able to browse the Windows 8 files, as shown below.
windows8_files_screen_shot

Step 2: Format a USB flash drive

In case you’re wondering how big of a USB flash drive you need, an 8GB drive is perfect since it can accommodate any of the three available ISO images. Here are the steps to format a USB flash drive.
  1. Insert a USB flash drive into your computer
  2. 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
  3. DISKPART> list disk                                 /* shows list of active disks */
  4. DISKPART> select disk #                         /* # is the number for your USB flash drive */
  5. DISKPART> clean                                     /* deletes any existing partitions on the USB flash drive */
  6. DISKPART> create partition primary     /* create a primary partition on the USB flash drive */
  7. DISKPART> select partition 1                 /* select the newly created partition */
  8. DISKPART> active                                    /* make the new partition active */
  9. DISKPART> format FS=NTFS                 /* format the USB drive with NTFS file system */
  10. DISKPART> assign                                   /* assign a volume and drive letter to the USB drive */
  11. 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:\.

Step 3: 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.
  1. 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
  2. Type bootsect /nt60 E:                              /* where E: is the drive assigned to the USB flash drive */
You should see the following confirmation after bootsec.exe completes:
bootsect_screen_shot

Step 4: 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

Step 5: Install Windows 8 from the bootable flash drive

Finally, follow these instructions to install Windows 8 on your computer.
  1. Remove your USB flash drive from your "source" computer and insert it into the "target" computer where you want to install Windows 8
  2. On the computer where you are installing Windows 8, press the power button to turn on the computer
  3. During boot up, select the USB flash drive to boot from (if you don't see the USB flash drive as an option, you may have to adjust your BIOS settings)
  4. Follow the instructions to install Windows 8 Developer Preview
Here is a screen shot from the boot manager on my computer showing the USB flash drive as an option.
boot_manager_screen_shot
I installed Windows 8 Developer Preview on a vanilla Dell Inspiron 15R laptop which unfortunately doesn't have touch (or any other sensors for that matter).
windows8_on_dell_screen_shot
The personalization steps in Windows 8 Developer Preview are really quick.

windows8_personalize_screen_shot
And here is the final screenshot of my shiny new Windows 8 installation!
windows8_start_menu_screen_shot

Comments

Popular posts from this blog

How to install Ubuntu

How to run Ms-dos , windows 95, 98, xp , 8.1 on android without root and pc