Says partition map is invalid when trying to install Windows
I am doing a casual HDD replacement for a Latitude E5430 from someone I know. When trying to install Windows 10, the machine installs it, then says "invalid partition map" with no other explanation.