How to Delete GPT Partition or EFI from Mac Hard Disks In Vista or XP
Submitted by Pitumbo on Fri, 04/10/2009 - 23:14.
Using the traditional GUI of Disk Management doesn't give you the option to delete or reformat, so fire up the command line.
type DISKPART to enter the diskpart utility
at the prompt, enter list disk as below
DISKPART> list disk
take a look at the disk you want to reformat, and select it with the appropriate number, for example:
DISKPART> select disk 1
once selected, you can delete the GPT / EPI by the clean command:
DISKPART> clean
once done, you can then proceed to format the disk the traditional way through disk management and selecting FAT32 or NTFS.
[19/11/09 edited per comments below "clean disk" to "clean"]


Hey Thank dude it worked on windows 7 too........!!!!
Thank you very much. Worked perfectly :-)
Thanks!!!
Thank you so much for helping me with this. I almost returned my disk until I saw your post.
If you're still having problems and clean won't work, try clean all, saved my 8 gb drive from osx86 install, thanks!
thank you..!
Ha, I needed this one!
Thank you, the "clean" command is what did it!
Diskpart would crash if I would delete the volume with the 'delete volume' command.
Much appreciated!
--Maarten
Thanks!!!!! Much needed and appreciated!!!
Rob
Thanks!
Thanks!
32GB flash drive saved. your a saint! THAN YOU!
Thanks bro, you solved my problem
Awsome dude! You're the best!
Cheers fella, saved me having to take my mac apart to put the disk back in there to format it.
Much appreciated
Bookmarked for awesomeness! TY!
THANKS!!! ... after much searching with little success, this worked like a charm!!
However the following line didn't work for me:
DISKPART> clean disk
Instead I just used:
DISKPART> clean
Thanks guys i will correct the original post.
Thanks for the guide! Don't type "disk" after clean:
DISKPART> clean disk
The arguments specified for this command are not valid.
For more information on the command type: HELP CLEAN
DISKPART> clean
DiskPart succeeded in cleaning the disk.
Thanks guys i will correct the original post.
Thank you. That solved a problem I was having without having to boot a linux live-cd.
no problem, glad to be of help!