DEV Community

Cover image for Full format disk with EFI protected partition
Flavio Campelo
Flavio Campelo

Posted on

Full format disk with EFI protected partition

📮 Contact 🇧🇷 🇺🇸 🇫🇷

Twitter
LinkedIn


Disk management

  • Type disk management on start menu, or
  • Right-click computer manage > disk management
  • Open run window (Win + R), type diskmgmt.msc and press Enter.

Choose disk partition and click delete button. But for some EFI protected partitions, like this...

Image 1

...you might see messages like below.

Image 2

Then you can use a command line to fully format your disk.

Diskpart

Open your command prompt or powershell as admin. And type diskpart

Image 3

So you can type list disk to list all available disks.

Image 4

Select the correct disk to format.

Image 5

So you can type clean to erase all disk.

Image 6

And now the disk is fully formated.

Image 7

Typos or suggestions?

If you've found a typo, a sentence that could be improved or anything else that should be updated on this blog post, you can access it through a git repository and make a pull request. If you feel comfortable with github, instead of posting a comment, please go directly to https://github.com/campelo/documentation and open a new pull request with your changes.

Top comments (0)