MacBook 2010 slow boot issue - APFS related

I`ve ubuntu-mate installed on and old MacBook Pro 2010.

Since the last upgrade sometime ago, it waits several minutes after booting with the following text on the screen:
(There are some typos because I got the text from screen picture with the iPhone)

Blockquote
APFSStart:1456: Mounting with apfs_efi_osx-748.77.12
efi_fusion-pairing:635: Container ea2eaeB2-9652-49f5-b178-293493dad5cf efi_fusion_pairing:640: fusion unid: 00000000-0000-0000-0000-000000000000
efi container create:929: Volume attached is internal
nx kernel_mount: 1359: : checkpoint search: largest xid 401980, best xid 401980 ₽141
er_state_obj-get_for_recovery:3848: No ER state object for volume Preboot - roll ing is not happening, nothing to recover.
er_state_obj-get_for_recovery:3848: No ER state object for volume ManelMac - rol ling is not happening, nothing to recover.
er_state_obj get_for_recovery:3848: No ER state object for volune Recovery - Do ling is not happenings nothing to recover.
er_state_obj-get_for_recovery:3848: No ER state object for volume UN - rolling i s not happening nothing to recover.

After several readings, it seems it is related with the Apple boot process and not with Ubuntu itself. However, I have not been able to understanding what I should change to make the boot process faster.

Any help will be welcome,
Thanks in advance

2 Likes

Welcome back! Let's start with some "known assumptions:" Your MacBook Pro is 15 years old. That means it's Intel-based. I'm also guessing you aren't running a dual-boot system, but replaced the OS X (as it was known at the time). You don't say what version of Ubuntu MATE you're running, but the messages you're seeing are boot-level and not OS. This much I can tell you:

The first line
APFSStart:1456: Mounting with apfs_efi_osx-748.77.12
suggests the Apple File System (APFS) and was developed by Apple to replace the HFS+ file system previously used. Macs don't use a BIOS, but an Extensible Firmware Interface (EFI) when they boot, so the first line is reporting the start of the boot process.

The following lines suggest boot-level checks that are being performed to ensure a "safe boot." Since they are essentially hard disk-related, the good news is that the checks are all passing successfully. Your system is just slow by today's standards. You may find it more convenient to just put your MacBook to sleep rather than boot it every time.

2 Likes

Hi OldStrummer,

Thanks for the help. Your advise is fair, its an old computer, let's accept what it is. But the question is that with the previous Ubuntu-Mate version it just stated 10-15" with those APFS messages. Now, it is at least 5-6'.
It would be great if I could reduce back.

Following some additional information, such case it helps.

Dual boot. The computer boots directly in Ubuntu-Mate, but if I keep the ALT key pressed after power-up, it appears, I assume, an Apple boot menu with two options, my legacy Mac OS partition and an EFI partition where Ubuntu is installed. I rarely use the old MacOS system but it still works for some stuff.

Ubuntu-Mate version. Following the information getting from

Blockquote
cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.2 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="Bugs : Ubuntu"
PRIVACY_POLICY_URL="Data privacy | Ubuntu and Canonical Legal | Ubuntu"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

Back to my readings, I found some forum posts indicating that those messages where from an Apple boot partition that could be accessed and configured.
I've been messing around with the partitions to locate any config file without success.

Hope you may help. In any case, thank you for the support.
Best regards

1 Like

If you still have a Mac OS X install disk you could try booting from it (that's what you saw when you held down the ALT (which I think is the option key on the Mac keyboard. With the CD in the drive (you should still have an optical drive on that machine) boot while holding down you modifier key and choose the CD. Another modifier key (or maybe the same one; I'd have to check) will launch you into "recovery mode." From there, you can choose the DiskUtility program, which will let you check and repair the internal HDD. If there are issues, this may fix them.

2 Likes

From Apple support:

  1. Shut down your Mac.
  2. Turn it on and immediately press and hold Command (⌘) + R.
  3. Release the keys when you see the Apple logo or a spinning globe.
  4. Follow the on-screen instructions to access macOS Recovery utilities (Disk Utility, Reinstall macOS, etc.)
2 Likes

Here's another tidbit of uncertain value: APFS is not suitable for Linux, so it may be that you have the recovery partition as Apple, but installed Ubuntu MATE using ext4, which I suspect is the case. But if you get into the DiskUtility program, you verify the file system type(s). You might improve things by formatting as exFAT, but be aware this will scrub everything on your Linux partition, requiring a full re-installation.

2 Likes