Featured Resource:

line

Newsletter

Email Address:


line

Ask the Expert

Have a question for our resident expert? Email your questions to Bob or post in the Forum.

« iSCSI Initiator | Main | Vista Application Compatibility: FrontPage 2003 »

Preapring Windows PE to Boot from a USB Thumb Drive

These steps will take you through preparing a USB ram drive (thumb drive, pen drive, or how ever you care to refer to it) so that you may use it to boot your Windows PE image without the need of a hard drive (or bootable CD/DVD). These steps assume you have already generated your Windows PE folder structure where you would typically burn it to an ISO image. For preparing your WinPE image, please see Working with Windows PE Images.

1) Run diskpart from command prompt running as administrator (right click the command prompt icon and choose "Run As Administrator")
2) Type the command: list disk to see the available disks and note the one that represents your USB thumb drive
3) Select the disk: select disk # where # is the disk you determined in the above step
4) Now that the proper disk is selected, prepare it with the clean command by typing clean
5) Now create a partition on the clean drive by typing: create partition primary
6) Select the new partition by typing: select partition 1
7) Set the partition as active by typing: active
8) Format the partition as FAT32 by typing: format fs=fat32
9) Assign the new partition by typing: assign
10) Type exit to quit diskpart

Now you are ready to copy the files. The location from which you want to copy the files is the folder created which would normally serve as the contents of your ISO file. For example: c:\images\winpe\iso

Typically this file will contain three folders and a file: directories: boot, EFI, and source. file: bootmgr. Simply copy these files to the prepared USB thumb drive root and you are ready to go!

With the RAM drive inserted, you will either need to go into the computer's BIOS settings at boot up and arrange the boot order to place the USB drive above the system hard drive. Alternatively most systems have a "Boot Menu" keystroke such as F12 which will let you choose the device to which you want to boot.

Comments

I've been using my flash drive this way for a while and if you do any kind of administrative work on PC's it's a must have. You can still put your other files, portable apps, etc on the drive, and it boots so much faster than from a CD/DVD!

When I run list disk, it doesn't see my thumb drive. Perhaps it's because I'm using XP?

My guess would be it is your PC. Try getting into the BIOS setup menu and see if there is a place you can enable it to be seen there.

Post a comment

(All comments are approved by site leader before appearing here. Thanks for commenting!)

Library Resources

line
line

Bob Kelly's Bio:

Bob Kelly is the founder of AppDeploy.com — a resource focused on desktop management products and practices. He is author of the Start to Finish Guide to Scripting with KiXtart and The Definitive Guide to Windows Desktop Administration. He is also president and co-founder of iTripoli, Inc. who provide AdminScriptEditor.com, home to an integrated suite of scripting tools and a shared library of scripts and language help. Not enough? For more on Bob click here.