Boot Failures After Converting MacOS SSD To APFS

Share This:

macos apfs preboot bless

After converting your MacOS hard disk to APFS, you could run into a situation where your Mac is no longer bootable and you get errors like “Building boot caches on boot helper partition failed” or “Running bless to place boot files failed”. In my case, I restored a recently repaired Mac from a Time Machine backup and even though the backup had MacOS Mojave, it didn’t use the APFS file system after the restore, so Mojave couldn’t install any updates. After booting into recovery, I was able to convert the SSD to APFS, but then I couldn’t select it as the startup disk because I would get these errors. I couldn’t even run the Reinstall MacOS option because it would give me errors about preboot.

Convert Mac SSD to APFS

  • Boot into recovery using Command+R at startup
  • Select Disk Utility
  • Select your Macintosh HD (or whatever your’s is called)
  • Click the Unmount button
  • Click Edit then Convert to APFS

How To Fix Boot Errors After Converting MacOS To APFS

  • Boot into recovery using Command+R at startup
  • Go to Utilities >Terminal
  • Use this command to update the Preboot section of the disk to APFS
    diskutil apfs updatePreboot /Volumes/Macintosh\ HD/
    Replace “/Macintosh\ HD/” with the name of your boot volume
  • Exit Terminal and restart
    When Prompted, select your disk and you shoot be able to boot to it now

Create Preboot Volume for APFS

Based on some of the feedback in the comments below, I’ve added these steps to the process as well:

  • Boot into recovery using Command+R at startup
  • Go to Utilities >Terminal
  • Run diskutil apfs list to check partitions and disk numbers
  • If you don’t have a preboot volume for your APFS container, create it by running:
    diskutil apfs addVolume disk"Disk Number here" apfs Preboot -role B
  • Create a folder similar to “/Volumes/Preboot//System/Library/CoreServices” but with your UUID:
    mkdir -p /Volumes/Preboot/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/System/Library/CoreServices replacing the x’s with the UUID noted above
  • cp -RP /Volumes/MACINTOSH HD/System/Library/CoreServices /Volumes/Preboot//System/Library/CoreServices
  • Run this command to update the preboot. Replace disk2s1 with your disk:
    diskutil apfs updatepreboot disk2s1
  • Run the bless utility:
    bless --folder /Volumes/MACINTOSH HD/System/Library/CoreServices --bootefi --verbose
  • Reboot

Share This:

Related Content

41 Comments

  1. James WatlingAugust 9, 2019
    • Robert RussellDecember 20, 2019
  2. vidiAugust 15, 2019
    • Robert RussellDecember 20, 2019
  3. MartinAugust 23, 2019
    • Robert RussellDecember 20, 2019
  4. Kiryl BeliauskiAugust 25, 2019
  5. KevinSeptember 1, 2019
    • Robert RussellDecember 20, 2019
  6. LoganOctober 9, 2019
    • Robert RussellDecember 20, 2019
  7. JamesOctober 19, 2019
    • JaOctober 20, 2019
      • JonDecember 16, 2019
        • AndrewDecember 31, 2020
      • GanletDecember 16, 2019
  8. ConnorNovember 2, 2019
    • Robert RussellDecember 20, 2019
  9. svenNovember 6, 2019
  10. paolo di mauroNovember 27, 2019
    • Mike LongfieldDecember 2, 2019
    • Robert RussellDecember 20, 2019
  11. Daryl ThompsonDecember 21, 2019
  12. SudhakarDecember 27, 2019
  13. JamesJanuary 1, 2020
  14. HunterJanuary 31, 2020
    • Robert RussellFebruary 1, 2020
  15. John-David SchardtFebruary 13, 2020
  16. John-David SchardtFebruary 13, 2020
  17. ConservesEndemicsFebruary 17, 2020
  18. David McLeishApril 23, 2020
    • MatthewOctober 9, 2020
    • MatthewOctober 12, 2020
  19. RahmeApril 26, 2020
  20. Ben EvansMay 1, 2020
  21. ErikDJuly 13, 2020
  22. Abdul Rahman HaqOctober 5, 2020
  23. Mohsin Ul HaqOctober 14, 2020
    • Rob RussellOctober 14, 2020
  24. DaveNovember 17, 2020

Leave a Comment