After HD replacement, MSFS will not start anymore (was running well before)

You wright “f.\FlightSim” . Assuming that the correct is “f:\FlightSim” (2 dots after f) and that this is how it is written in your .opt file, sorry I have no idea. Hope you sort it out without installation.