If you are unable to access important data and suspect that your hard disk has sustained physical damage, you need not panic.
Here you have two options. If you have a USB adapter for M.2 SSDs, you can plug your SSD into it and install the system ...