How to Make a Partition Bootable With DiskPart

Written by ruri ranbe
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Make a Partition Bootable With DiskPart
(Jupiterimages/Brand X Pictures/Getty Images)

DiskPart, a command-line utility included with the Windows operating system, can create, delete or extend a partition on a flash drive. After establishing a new partition, you can write boot files to the drive, allowing you to run the files from the partition at start-up. One of the most common ways to create a bootable partition is to load the Windows Vista or Windows 7 set-up files on the disk, but some third-party applications--like cloning or backup software--can load boot files on the flash drive as well.

Skill level:
Easy

Other People Are Reading

Things you need

  • USB flash drive
  • Windows DVD

Show MoreHide

Instructions

  1. 1

    Connect a USB flash drive to the computer. Click the "Start" button (the Windows logo) in the bottom left of your desktop.

  2. 2

    Click "All Programs." Click "Accessories." Right-click "Command Prompt" and choose "Run as administrator" from the contextual menu.

  3. 3

    Type "diskpart" into the Command Prompt and press "Enter" to run Microsoft DiskPart.

  4. 4

    Type "list disk" into the Command Prompt and press "Enter" to view the available drives connected to your computer.

  5. 5

    Use the storage space listed under "Size" to determine which disk label DiskPart assigned to your USB flash drive. Type "select disk #" into the Command Prompt. Replace "#" with the number assigned to the flash drive.

  6. 6

    Press "Enter" to select the flash drive. Type "list partition" into the Command Prompt. Press "Enter" to view the partitions on the drive.

  7. 7

    Type "select partition 1" into the Command Prompt. Press "Enter." Type "active" into the Command Prompt. Press "Enter" to mark the primary partition as active.

  8. 8

    Input "format fs=ntfs" into the Command Prompt. Press "Enter" to format the USB flash drive. Formatting the drive will erase the contents of the disk.

  9. 9

    Type "exit" to leave the DiskPart utility. Insert your Windows Vista or Windows 7 DVD into the disc drive.

  10. 10

    Input "<disc drive>:" into the Command Prompt. Replace "<disc drive>" with the letter assigned to your computer's optical drive. Press "Enter."

  11. 11

    Type "cd <disc drive>:\boot" into the Command Prompt. Press "Enter." Type "bootsect /nt60 <flash drive>:" into the Command Prompt. Replace "<flash drive>" with the letter assigned to your USB flash drive.

  12. 12

    Press "Enter" to make the primary partition on the USB flash drive bootable. Type "exit" to leave the Command Prompt.

  13. 13

    Right-click the "Start" button. Choose "Open Windows Explorer" from the contextual menu.

  14. 14

    Right-click the disc drive. Choose "Copy" from the contextual menu. Windows Explorer will duplicate the contents of the Windows Vista or Windows 7 DVD and transfer the files to the clipboard.

  15. 15

    Double-click the USB flash drive. Click "Edit." Click "Paste." Windows Explorer will transfer the contents stored in the clipboard to the flash drive.

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.