This question already has an answer here:
Installed a new hard drive on a iMac 2011 27": old drive would not boot (node errors which FSK cannot fix). This faulty drive was running High Sierra before it stopped booting.
Removed the old drive and installed in an external powered enclosure.
Installed new HDD -- but remote install of OSX limited to Lion (10.7), as Apple remote recovery only reinstalls original OSX imac came with.
I cannot find any way to find the recovery partition on the old drive.
Tried to update OSX from app store but my account purchase list does not show any OSX (lots of my apps though)
Cannot check my Apple App store account settings as "To make changes to your payment information, you need to upgrade your Mac to the latest version of macOS."(Which is what I am trying to do!!)
Tried to download El Capitan from the great Apple page set up for this, but on clicking 'Get' it says Paypal will send me a text to confirm the account, but that was over a day ago.
Also worked out how to use terminal (fsck_hfs -r /dev/disk1s2) to try to rebuild catalogue on the now connected external enclosure with old drive. Says it can't be verified after executing command.
My question: So how can I upgrade OS, when I can't access app store or Apple App store account, or find the recovery partition on what is now the external drive, and I can't get a CD with OS?
Even if I could find the recovery partition, I cant see any information on how to use apart from starting the external disk in target disk mode perhaps? (which will not work as it won't boot)
Running out of options...thank you good folk in advance.
The best thing I can think of is to fond some way to copy the recovery partition from the old drive to the new drive (as I can read the old disk), but where is the partition?
Stefan Melbourne Australia