issue with replacing hard drive Macbook Pro mid 2012

My MBP mid 2012 suddenly runs unbearably slow so I'm trying to replace the hard drive (an SSD) with a new SSD. Since the computer is so slow, basically I can't do anything on this laptop. But I have a Macbook Air Early 2015 running on Mojave I can use to set up the new SSD.


I tried to make a bootable disk by using this:

sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume


It was successful, however, when I put this new SSD into my MBP mid 2012, turn on the power, and set up the wifi, it can't read from the new SSD.


Your suggestions are greatly appreciated!


Thanks,

CJ


Posted on Apr 26, 2022 3:44 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 26, 2022 6:05 PM

Did you use the new SSD to create the macOS USB installer? You should be using a USB stick for the USB installer. You then boot the macOS USB installer stick on the 2012 laptop so you can then use Disk Utility to properly erase the new SSD before selecting the "Reinstall macOS" from the installer. You will want to select the whole physical SSD and erase the new SSD as GUID partition and MacOS Extended (Journaled). However, you may need to click "View" within Disk Utility and select "Show All Devices" so that the physical drive appears on the left pane of Disk Utility (the physical drive is usually shown with the Make & mode). To boot the macOS USB installer stick you will need to Option Boot the laptop by holding the Option key immediately after the startup chime so you can select the orange icon of the macOS USB installer option.





Similar questions

14 replies
Question marked as Top-ranking reply

Apr 26, 2022 6:05 PM in response to CJLukez

Did you use the new SSD to create the macOS USB installer? You should be using a USB stick for the USB installer. You then boot the macOS USB installer stick on the 2012 laptop so you can then use Disk Utility to properly erase the new SSD before selecting the "Reinstall macOS" from the installer. You will want to select the whole physical SSD and erase the new SSD as GUID partition and MacOS Extended (Journaled). However, you may need to click "View" within Disk Utility and select "Show All Devices" so that the physical drive appears on the left pane of Disk Utility (the physical drive is usually shown with the Make & mode). To boot the macOS USB installer stick you will need to Option Boot the laptop by holding the Option key immediately after the startup chime so you can select the orange icon of the macOS USB installer option.





May 2, 2022 4:36 AM in response to CJLukez

CJLukez wrote:

Thanks. It helped a lot. I followed your procedure and I could almost reach the end but got the following error:
“An Error Occurred While Preparing the Installation”
Another thing I changed was format the ssd disk to APFS instead of MacOs Extended (Journaled) because if I choose the latter, there will be an error about converting to APFS.

I also tried to a clean installation of Ubuntu and Kubuntu but both failed at the restart. That's a separate story though. Just FYI.

These two things may be related. The hard drive SATA Cable tends to have a high rate of failure when using an SSD especially on the 13" model. You can test this theory by using a USB to SATA Adapter, drive dock, or enclosure to connect the new SSD externally to see if the OS installs & boots properly. It also can indicate an issue with the installer or some other hardware issue with the laptop or even the new SSD.


Sometimes a Linux installation will not boot after being fully installed due to the computer's UEFI firmware requiring a generically named bootloader folder & file (boot/boot_x64.efi) instead of the customized names usually provided (ubuntu/grub_x64.efi).



The installer log showed a bunch of errors that I don't understand.

Usually you have to try to locate the first error that triggered the installer to abort. I usually start at the end of the log and work my way back, but you can have a lot of entries (and errors) between the first failure and the end of the log. It is also not unusual to see "errors" all through an install log, but some of them are not important as they may just due to the different models of Mac which don't all share the same components. It is hard to say whether that first error will actually provide the information you are looking for anyway.

May 3, 2022 7:41 PM in response to HWTech

I tried to connect the ssd via a usb dock. It worked! But I connect it to the internal SATA cable and disk couldn't be recognized. I kept it inside and tried to install from scratch again. It didn't work. I took it out and plugged back to the usb dock and it worked again. Now I'm leaving it outside on the dock.


So it is a bad internal SATA cable? What do you think?


Thanks.

May 5, 2022 8:33 AM in response to CJLukez

The Crucial BX500 SSD is compatible.


Unfortunately it is a terrible SSD which can be as slow as a hard drive when a lot of data is written to it like when installing macOS, downloading a game of multiple GBs, plus the SSD tends to overheat easily. Our organization used them for upgrades during the pandemic and a lot of them have already failed (complete failure). This is Crucial's low end budget economy model. Unfortunately most consumer SSDs today are low end budget economy models.


The Crucial MX500 series is actually a good compromise on price & performance. At least it was several years ago, and may still be Ok if Crucial has not secretly changed the internal components of the SSD. Unfortunately SSD manufacturers today secretly change out internal components without changing the model numbers and this can greatly affect performance & compatibility. It is now impossible to trust any online reviews for an SSD because of this new trend. Crucial used to have exact details on their SSDs, but today Crucial no longer offers those specific component details in their product information or even their product data sheets. We just recently purchased some new MX500 SSDs, but I have not checked them out or tested them to compare if they are still the same quality from several years ago.

May 1, 2022 7:14 PM in response to HWTech

Thanks. It helped a lot. I followed your procedure and I could almost reach the end but got the following error:

“An Error Occurred While Preparing the Installation”


The installer log showed a bunch of errors that I don't understand.


Another thing I changed was format the ssd disk to APFS instead of MacOs Extended (Journaled) because if I choose the latter, there will be an error about converting to APFS.


I also tried to a clean installation of Ubuntu and Kubuntu but both failed at the restart. That's a separate story though. Just FYI.


Thanks again for your help!


- CJ

May 2, 2022 9:27 PM in response to CJLukez

CJLukez wrote:

Thanks again. I'll try those suggestions out.

Regarding the Linux boot, do you know how to change bootloader folder and file names to get it work?

You just need to mount the hidden EFI/ESP partition (usually the first partition on the drive) and change the name of the Linux bootloader folder & bootloader to "boot/boot_x64.efi". Usually Ubuntu will have "ubuntu/grub_x64.efi". When you mount the hidden EFI/ESP partition, I believe there will be an "EFI" folder which will contain the "ubuntu" folder I mentioned.


Keep in mind by changing the names, anytime Linux updates these files, that your "boot/boot_x64.efi" will not automatically be updated (it will probably create another "ubuntu/grub_x64.efi" setup). To have Linux use "boot/boot_x64.efi" as the default after updates would require modifying your Linux installation configuration files. I'm not sure how or where to do this, perhaps with the GRUB2 configuration files. Unless you are modifying things after the installation, I doubt it will really matter since I don't believe the bootloader files are updated very much. Just something to keep in mind though.


Some Macs seem to work fine with these distribution custom names, while other Macs seem to require the more generic "boot/boot_x64.efi" option. Thank Microsoft and the Logic Boards' UEFI firmware developers for being so cheap & short sighted. Apple relies on "blessing" the bootloader to indicate which file to use, but as far as I can tell "blessing" only works on an Apple file system (HFS+ or APFS), not on FAT which is what the hidden EFI/ESP partition uses.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

issue with replacing hard drive Macbook Pro mid 2012

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.