How to Make a Partition Bootable With DiskPart

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
How to Make a Partition Bootable With DiskPart
Image Credit: DragonImages/iStock/Getty Images

Even if a partition contains bootable data, your computer might sometimes fail to detect it as a suitable bootable partition. This is usually due to the fact that, to be recognized by your computer as a bootable partition, a partition does not only need to contain a bootable environment, it also needs to be specifically marked as an active system partition. You can add that active marker to a hard drive partition by using Diskpart, a command-line disk management application that is built into Windows.

Advertisement

Step 1

Open the Windows Start screen and type "cmd." Right-click on the "Command-Line Prompt" shortcut and select "Run as administrator."

Video of the Day

Step 2

Type "diskpart" and press the "Return" key. Diskpart will now launch. While Diskpart is active, the traditional command-line prompt will be replaced by a Diskpart prompt, indicating that any command you enter will be processed by that application.

Advertisement

Step 3

Enter "list disk" and press the "Return" key. Note the number assigned to the drive which contains the partition you wish to make bootable. You can find that number in the first column.

Step 4

Type "select disk X", replacing "X" with the number assigned to the relevant drive. Press the "Enter" key.

Advertisement

Step 5

Enter "list partition" and press the "Return" key. Note the number assigned to the partition you want to make bootable.

Advertisement

Step 6

Type "select partition X", replacing "X" with the number of the partition you want to select. Press the "Enter" key.

Advertisement

Step 7

Enter "active" and press the "Return" key to instruct Diskpart to mark that partition as an active, bootable partition.

Step 8

Type "exit," followed by the "Return" key, to exit Diskpart. Close the Command-Line Prompt window.

Video of the Day

Advertisement

Advertisement

references