I am trying to install Windows 8.1 onto a desktop I have that currently has Ubuntu. When I installed Ubuntu, the installer automatically reformatted the drive from NTFS to whatever format it was that it preferred. Now, the Windows installer can't automatically format the drive back to NTFS. I can't format the drive from within Ubuntu because, well, that's the drive the operating system is on.
How can I format the drive I want to install Windows onto to NTFS? Alternatively, how can I have the Windows installer automatically format to NTFS?
The error message the Windows Installer gives:
Windows cannot be installed to this hard disk space. Windows must be installed to a partition formatted as NTFS.
Windows cannot be installed to this hard disk space. The partition is of an unrecognized type.