Windows – Can’t create partition or locate existing one when installing windows 8.1

hard driveinstallationpartitioningwindows 8windows 8.1

I'm trying to install windows 8.1 and I'm getting this error message after I choose the hard drive to install the windows in

we couldn't create a new partition or locate an existing one

just to be clear I don't have any external storage devices just a USB 3 flash drive where I have my windows ISO

I tried deleting all the partitions and leave only one with all the available disk space I tried formatting it using both the GUI and the command prompt so that I make sure it's NTFS file system

I'm literally running out of ideas and I can't seem to make my laptop to work could anyone help me please

UPDATE: I forget to tell that I had Ubuntu installed on my PC before I format my hard drive

Best Answer

Set your bios to boot the Hard Drive first. Then when the computer is starting up start the BOOT MENU (Usually F10, F11 or F12). This will allow you to boot from the flash drive.

I just had the same issue re-installing Windows MP 2012 on a Dell server.

Windows 8.x looks at the BIOS Boot order to determine where to put the "boot loader" and it refuses to put it on a removable device.