I used to use a HDD with Windows 10, and then bought a SSD. Using Windows 10 on the first HDD, I performed an installation of Windows 10 on the SSD. But I only wanted to use the Windows installation on the SSD. I tried to format the first HDD using the Windows installation on the SSD but the system would not allow that for some reason.

After that, I had used a tool through boot and forced formatting the HDD and its partitions. I thought that the Windows OS on the SSD would work properly, but then it stopped working and even the startup repair doesn't show up on Windows. I've tried everything.

It seems that had boot data on the HDD was lost when it was formatted.

I want my PC to recognize the Windows installation on the SSD. If I do this, maybe the Windows installer can repair the boot.