Here are two ways for you to recover your data from the WD HD of your dead Mac, which you can take as a reference.
Before you take the first action, you need to make sure that your Mac can boot into macOS Recovery Mode. If it is, you can recover your data by using iBoysoft Data Recovery for Mac under Recovery Mode.
iBoysoft Data Recovery for Mac is a powerful data recovery tool that can help you to recover your data from unbootable Mac and recover kinds of files from HDD, SSD, USB flash drives, and sd cards from WD, Intel, LaCie, etc.
- Press the Touch ID or the power button and hold on to Command + Option + R.
- Launch Terminal and type in the following command to download and launch iBoysoft Data Recovery for Mac.
sh <(curl http://bbot.iboysoft.com/boot.sh) - Choose the drive and click Search for Lost Data.
- Preview the search results and click Recover.
If your Mac can't boot into macOS Recovery Mode, you need to remove the drive from the dead Mac and use a bare-drive adapter to connect it via USB to the new Mac. After that, you can take the above ways to use iBoysoft Data Recovery for Mac.
However, you don't need to boot your Mac into macOS Recovery Mode to download, just click the below button.