DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Prep USB key to be bootable using diskpart : Vista/W7  (Read 6,375 times)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • Coding Snacks
Prep USB key to be bootable using diskpart : Vista/W7
« on: March 01, 2011, 11:06 PM »
Here's a pretty succinct article how to prep a USB key boot disk using diskpart:
http://www.techsupportalert.com/content/create-bootable-usb-key-thumb-drive-windows-vista7-command-line.htm

For wiping a drive and creating a single partition diskpart can be a lot faster than using a general purpose formatting program Gui.

The article shows the diskpart prep sequence.  The remaining step is to put a bootable image on.  Once the USB key is prepped it's usually a matter of xcopying the bootable files on with the correct switches.

The diskpart prep is very fast.  The time consuming task is the format.  I recommend using the standard format rather than quick esp. if the USB key is being changed from FAT32 to NTFS or vice versa.  Better to have the entire capacity written in the format to avoid stuff grinding to a halt when you actually use it.

I mentioned this sequence a few times.  Looking though Gizmo's site today I noticed this article. I was happy to see it didn't omit the clean step in the sequence.




Original address: https://www.donationcoder.com/forum/index.php?topic=25918.0