Unable to get APFS Container resize limit information

Hello,


I am trying to install Linux Mint as a second OS on a MacBook Pro (13-inch, late 2011) with the following configuration

  • a 250GB SSD (about 90GB free) where MacOS High Sierra (10.13.6) is actually installed
  • a 500GB HD split into 250GB for Time Machine and 250GB for data.


I followed this tutorial (https://www.makeuseof.com/tag/install-linux-macbook-pro/), but the partition resizing with Utility Disk does not work (the output is "internal error"). I checked the disk with First Aid option and everything was OK.

Then I tried to force repartitioning in recovery mode using both Utility Disk and Terminal. After identifying the APFS container (diskutil list), the command to shrink the partition (diskutil apfs resizeContainer diskXsY 200g) gives me this output:


Error: Unable to get APFS container resize limit information


Do you know what I can do? Would it be possible to resize the partition using the live version of Linux Mint through GParted?


Thanks in advance,


Gio

Posted on Aug 6, 2023 1:06 PM

Reply

Similar questions

9 replies

Aug 6, 2023 4:38 PM in response to gio1581

I have Linux Mint installed in VMWare Fusion and it works perfectly ... fast and stable.


There is no need to do any partitioning with VMWare Fusion as the app creates a single file that can exist on any available drive. Obviously, an SSD (Samsung T7 to be exact) works far better than an HDD. The linux file is 16.09 GB. I could have made it larger, but decided 16GB was plenty.


On that same drive, Windows 10 exists with it ... right there together.



Aug 6, 2023 10:53 PM in response to ku4hx

Hi ku4hx,


Thanks for your answer. I would like to run Linux without virtualization as the hardware of my MBP is quite old.


My idea is to keep running MacOS and Linux for a while and at some point switch completely to Linux as my MBP has stopped receiving security updates from Apple and the third party software installed on it.


Best,


Gio


Aug 6, 2023 11:00 PM in response to Grant Bennet-Alder

Hello Grant Bennet-Alder,


Thanks for your reply. I have two different hard drives installed on my MBP: one for MacOS and the other for data and hourly backups (Time Machine). This helps me to have recovery files and they are not stored with the OS.

Once a week I also do a manual backup with Duplicati, which is platform independent.


My original question is not about configuring Time Machine/backups, but about shrinking the AFPS partition. Do you have any idea where the error is coming from?


Best,


Gio

Aug 7, 2023 7:04 AM in response to gio1581

I think of the MacOS Partition as completely expendable. if your Mac is working properly, you can re-create a fresh copy of MacOS in a few hours of mundane activity. Variable portion such as settings are stored separately, in your User-id data.


Sometimes the best path forward is "none of the above.' I was trying to point out that the spot you were reaching for was not best practice (data and backup should not be on the same drive).


My hope is that you will re-think your approach entirely.

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.

Unable to get APFS Container resize limit information

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