no idea how, I tried out linux for a bit and found not enough things supported it.
If you're reinstalling windows then the installation will format the disk automatically.
Some more detail would help.
Generally Linux has all the tools you need to format a disk. What are you wanting to accomplish as the end goal?
When installing Windows 7 for the first time using the ISO download on microsoft's site it said I couldn't install it onto my drive because it wasn't formatted and didn't have any tool to do it for me. I want to format into to NTFS because that's what Windows 7 said it needed to install on the disc.
You just need to to format the drive to unallocated/Freespace type, it will be formatted to NTFS when you install windows.
Run Linux as live from a USB and format the drive then install windows
During the install it will ask which disk you want to install to. Just delete all the partitions on your disk and then choose it, the installation will format the disk for you before it installs.