Cannot extend macOS into unallocated space?

Hi,


I am working on a clients MacBook Pro A1278. I changed out the hard drive cable to get it to recognized the hard drive. The original hard drive doesn't work. I installed a SSD with a cloned High Sierra on it. Only there is now half of the 240GB SSD unallocated.


I get these errors when using Disk Utility to try and use the full 240GBs:


"An internal error occurred and the disk for one of the specified operations could not be found. This may be a temporary issue, try again. Operation failed..."


When using Terminal I get there is no APFS Container or Physical Storage.

I followed the instructions in this YouTube video.


When finally checking the SSD format, it is in "Mac OS Extended (Journaled)" and not the APFS.


So, my question is what can I do to use the entire SSD volume?


John



Posted on Nov 7, 2023 10:52 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 7, 2023 6:41 PM

It is never a good idea to perform a block or bit level clone to a different size drive because trying to expand the partition can be problematic. I did it for a Windows system somewhat easily since Windows had a mechanism built-in to allow it, but it still require other work & repairs. I had no choice and was not the way I wanted to do the transfer. With macOS, there is no easy to use method built-in. The only way that may be possible would be to use the command line to try to merge the Free space area into the main partition/Container. You would definitely need to be booted into macOS 10.13+ to do this procedure. I do know there is one post on these forums from several years ago where the proper command was used to merge an empty/Free area back into the main partition, but I don''t recall the exact command to do so. Even doing this could be dangerous since the partition table may not be properly configured for this new SSD.


I'm assuming you had someone perform data recovery from your failing hard drive. The resulting clone should never be used as is since it may contain holes & corrupted file system. It definitely can be used to transfer files to another good drive though.


There are two better ways to fix things which will ensure you have a stable system, but it involved getting another SSD and a USB to SATA Adapter, drive dock, or enclosure for that SSD.


1) Boot from the current clone and use the third party app Carbon Copy Cloner (CCC) to make a bootable clone of macOS 10.13 onto the 2nd new SSD. CCC is a file copy clone, but it will properly reproduce everything correctly and utilize the full area of the new 2nd SSD. This ensures your partition table & file system are both clean & stable.


2) Install macOS 10.13 onto the 2nd new SSD. Then during first boot into the new clean OS, Setup Assistant will offer you the option to migrate everything from another system....you can select the first SSD clone. This is the method Apple recommends using when you purchase a new Mac and transfer from a previous Mac (they share between computers, but you can also do the transfer from an external drive as well).


Once you completely transfer everything to the 2nd new SSD and you are sure you have all your important files, then you can erase the 1st SSD so it can be reused. You definitely do not want to use the 1st SSD without wiping it because you cannot trust that the file system is completely intact.


Also, make sure you have frequent and regular backups of your computer and all external media (including the cloud) which contains important & unique data. There is no excuse not to have a backup since Apple includes Time Machine for free with macOS....all the user needs to do is purchase an external drive 2x - 3x the size of their boot drive and configure Time Machine to use the external drive for backups. The more important the data, then the more copies or backups you should have. This is even more important when using an SSD since it is impossible to recover accidentally deleted data from an SSD after the Trash has been emptied (unlike a hard drive). Plus an SSD can fail at any time without any warning signs, even a brand new SSD.


If you ever purchase a newer Mac, then backups are even more important since newer Macs introduce even more ways for you to permanently lose access to your data on the internal SSD due to all the hardware, software, and security changes. The days of recovering data from a broken computer is gone with newer systems. Best to get in the habit of frequent & regular backups.

Similar questions

4 replies
Question marked as Top-ranking reply

Nov 7, 2023 6:41 PM in response to PC-Runs

It is never a good idea to perform a block or bit level clone to a different size drive because trying to expand the partition can be problematic. I did it for a Windows system somewhat easily since Windows had a mechanism built-in to allow it, but it still require other work & repairs. I had no choice and was not the way I wanted to do the transfer. With macOS, there is no easy to use method built-in. The only way that may be possible would be to use the command line to try to merge the Free space area into the main partition/Container. You would definitely need to be booted into macOS 10.13+ to do this procedure. I do know there is one post on these forums from several years ago where the proper command was used to merge an empty/Free area back into the main partition, but I don''t recall the exact command to do so. Even doing this could be dangerous since the partition table may not be properly configured for this new SSD.


I'm assuming you had someone perform data recovery from your failing hard drive. The resulting clone should never be used as is since it may contain holes & corrupted file system. It definitely can be used to transfer files to another good drive though.


There are two better ways to fix things which will ensure you have a stable system, but it involved getting another SSD and a USB to SATA Adapter, drive dock, or enclosure for that SSD.


1) Boot from the current clone and use the third party app Carbon Copy Cloner (CCC) to make a bootable clone of macOS 10.13 onto the 2nd new SSD. CCC is a file copy clone, but it will properly reproduce everything correctly and utilize the full area of the new 2nd SSD. This ensures your partition table & file system are both clean & stable.


2) Install macOS 10.13 onto the 2nd new SSD. Then during first boot into the new clean OS, Setup Assistant will offer you the option to migrate everything from another system....you can select the first SSD clone. This is the method Apple recommends using when you purchase a new Mac and transfer from a previous Mac (they share between computers, but you can also do the transfer from an external drive as well).


Once you completely transfer everything to the 2nd new SSD and you are sure you have all your important files, then you can erase the 1st SSD so it can be reused. You definitely do not want to use the 1st SSD without wiping it because you cannot trust that the file system is completely intact.


Also, make sure you have frequent and regular backups of your computer and all external media (including the cloud) which contains important & unique data. There is no excuse not to have a backup since Apple includes Time Machine for free with macOS....all the user needs to do is purchase an external drive 2x - 3x the size of their boot drive and configure Time Machine to use the external drive for backups. The more important the data, then the more copies or backups you should have. This is even more important when using an SSD since it is impossible to recover accidentally deleted data from an SSD after the Trash has been emptied (unlike a hard drive). Plus an SSD can fail at any time without any warning signs, even a brand new SSD.


If you ever purchase a newer Mac, then backups are even more important since newer Macs introduce even more ways for you to permanently lose access to your data on the internal SSD due to all the hardware, software, and security changes. The days of recovering data from a broken computer is gone with newer systems. Best to get in the habit of frequent & regular backups.

Nov 7, 2023 12:39 PM in response to PC-Runs

A1278 looks up to 13-in MacBook Pro models with the same size case from 2008 through Mid-2012 models. Exactly which which makes a difference.


You need to use a version of Disk Utility that knows about APFS. That would likely be included in the on-Disk Recovery AFTER macOS 10.12, but likely NOT earlier. It should also be available in Internet Recovery, available in most Macs after about 2011.


If you CLONED a drive, and are using that image, the image is likely the exact same size as the source you CLONED from, which is one big disadvantage of Cloning.

Nov 27, 2023 8:09 PM in response to HWTech

Thank you HWTech. I was finally able to get to this and it worked great for making a clone using the entire SSD.


However, I am having an issue with it starting straight into the macOS? It starts and oscillates between the circle with a line through to the apple logo blinking in and out occasionally. Then after restarting the laptop and it going through this it finally starts (sometimes)?


This issue is why I have worked on it in the first place. So, no matter what hard drive or SSD is in it it does this behave.


Do you have any idea why this might be and is there a remedy?


Thanks again.

Nov 28, 2023 6:44 AM in response to PC-Runs

Select the boot volume you want as your default boot disk using the Startup Disk System Preferences.


Or perform a PRAM Reset, then configure the default Startup Disk boot volume you want to use.


If no default Startup Disk is selected, then the firmware will look for bootable volumes and determine which one to use.....usually it will default to the first bootable volume it locates. If it has trouble booting it, then it may boot to the next bootable volume or just not boot at all.

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.

Cannot extend macOS into unallocated space?

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