Formatting a hard drive along with the install of a new OS is the best option. The vast majority of operating system installations provide a "format" option as part of the installation process.
In the window that opens, right-click on the external hard drive and select Format. Next, choose the file system with which you will format the disk. Note that NTFS is only compatible with Windows; ...