Install of catalina hung and now is says have a hardware error
I have a 2016 imac running Sierra. I needed to update the OS to run an app that wasn't supported. Checked my Mac was speed for Catalina and downloaded it. It hung during the install and said I had a hardware fault. Ran diagnostics. No faults. Install fails after about 20 min. Tried to do a recovery using Command-R but it keeps trying to install Catalina. Tried to do a web install of the OS. It downloaded El Capitan the original OS. It asked where I would like it installed but there is no option to select the disk. Other reads suggest this means I will need to format the drive.
The disk is not encrypted ( or not any more). Can I get access to any files that may be there by starting target disk mode and transferring to my MacBook Pro. I don't have the cable at the moment
Any help appreciated