In today’s article we are going to see how to create a boot partition using DiskPart in Windows in an extremely simple way and in a few steps.
DiskPart is a command utility that allows us to manage our disks using, precisely, commands. It is a slightly advanced way to create a bootable partition with DiskPart in Windows and manage all our disks.
At the same time, we have the possibility of doing a few things that we will not be able to do in the Disk Manager, such as transforming a basic disk into a dynamic one, deleting all the information on any disk, managing partitions to create, delete and modify them, reassign, change letter etc.
In a nutshell, we can format partitions in AOMEI Partition Assistant and do many things that we can’t do from disk management. That is why it is very important that you learn to use it, even if it is in a basic way. Although you also have the option to copy or duplicate partitions with AOMEI Partition Assistant Pro.
How to use DiskPart to create a bootable drive
DiskParte is a utility which we must execute from the command prompt window. It is included in the operating system and we can create, delete or extend any partition.
After creating a partition we will be able to edit its boot files to run the boot partition. In this way we can load the Windows files on it and get a bootable partition.
- For this, the first thing we must do is connect the USB drive to the computer.
- Then we will have to click on “Start” below the left of the OS or press the Windows key on the physical keyboard.
- After this we are going to write “Command Prompt” give it the right click and choose “Run as administrator”.
- Next, we are going to type “diskpart” in the command prompt window and press enter to access DiskPart.
- After this we will have to write “list disk” to be able to see all the disks that are connected to our computer.
- To figure out which of all the disks you need to create a partition for, you will have to base it on the size of the disk. Next, you will have to write “Select disk D” for example, the letter must correspond to the disk in question, it does not necessarily have to be C.
- After pressing enter you will have to type “partition list” and press enter again.
- Now you will have to write “Select partition 1” and again press enter. Then we are going to write “activate” to make this primary partition active.
How to create a bootable partition with DiskPart
- Now you are going to have to type “form fs = ntfs” and press enter again to be able to format the removable drive. Keep in mind that formatting everything on it will be deleted. So make sure you make a backup.
- After this you will have to write “cd
:boot”, press enter and now we write “bootsect/nt60 :”. Replace the “flash drive” part with the drive letter and press enter. - To finish, you are going to have to type “exit” and now we are going to have to open the Windows explorer.
- We will have to right click on the drive and choose the option that says “Copy” so you can copy the contents of the operating system.
- To finish you will have to open the USB drive and paste all that content so that it remains on the removable drive and that’s it.
We hope that it was clear to you how to make or create a bootable partition with DiskPart in Windows. However, in case you still have any questions, you can leave it a little further down where you can find the comments section and we will be happy to help you solve it as soon as possible.