Could it be that when i installed Ubuntu it messed with the UEFI settings in Bios which would remain after a whipe of the HDD?