Sir I want to completely format my total hard-disk drive not only C-drive to install my OS. But while I do install my Windows OS, it only gives option to format the drive, where you need to install the OS. Basically I want to Make a complete format of the hard disk drive and re-partition them, and then wish to choose a partition to install my OS. If somebody would have some suggestion on this then it will be a matter of great Joy.

Thanks
(Dipak)

Dani AI

Generated

Short, practical guidance to wipe an entire disk and rebuild partitions (complements 's reply)

A full disk wipe plus fresh partitioning is best done from outside the running OS. The Windows setup can remove partitions, but for a clean, controlled rebuild use the installer command prompt (Shift+F10 on Vista/7/8/10 setups) and DiskPart, or boot a partition tool such as GParted Live. Important: back up all data first and double-check the disk number before any destructive command; selecting the wrong disk erases it permanently.

DiskPart workflow (BIOS / MBR installs)

diskpart
list disk
select disk 0        <-- confirm size matches target disk
clean all            <-- zeroes entire drive (use 'clean' only to remove partition table)
convert mbr
create partition primary
format fs=ntfs quick
active
assign letter=C
exit

DiskPart workflow (UEFI / GPT installs)

diskpart
list disk
select disk 0
clean
convert gpt
create partition efi size=100
format fs=fat32 quick label=System
create partition msr size=128
create partition primary
format fs=ntfs quick label=Windows
assign letter=C
exit

Notes, cautions and further reading

  • clean removes partition structures; clean all overwrites every sector and takes much longer. See Microsoft DiskPart reference for exact behavior and switches.
  • For SSDs prefer vendor secure-erase tools or ATA Secure Erase rather than repeated full wipes to avoid unnecessary wear.
  • To securely overwrite free space on NTFS, Microsoft Sysinternals SDelete is an option.
  • GParted Live provides a GUI alternative for repartitioning.

References: DiskPart (Microsoft), SDelete (Sysinternals), GParted Live.

Recommended Answers

All 2 Replies

There should be an option to delete any existing partitions. Look under the partition list it should say which key you hit. It's either D or C(Win XP). In vista and 7 its a button you click. So delete all of them. Then i would recommend creating a new one for the OS and programs, and another partition for your data: docs, music, videos, etc.

There should be an option to delete any existing partitions. Look under the partition list it should say which key you hit. It's either D or C(Win XP). In vista and 7 its a button you click. So delete all of them. Then i would recommend creating a new one for the OS and programs, and another partition for your data: docs, music, videos, etc.

Thanks dude I think it will solve my problem. I will make use of this during my next formatting.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.