Recovery of Mikrotik configuration - hard disk failure

My hard disk failed: it had a lot of bad sectors and it was fixed. Because of that Mikrotik is broken. Now I installed Mikrotik on another computer and I want to get the configuration of the broken(now fixed but lost data) hard disk. Can you tell me where the configuration files are stored and how to retreive them?

You might mount the drive in a computer and try a netinstall of a new O/S, and select the save config option. That would get the drive bootable again and you could then export the config.