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:

 

43 Comments

  1. James Watling August 9, 2019
    • Robert Russell December 20, 2019
  2. vidi August 15, 2019
    • Robert Russell December 20, 2019
  3. Martin August 23, 2019
    • Robert Russell December 20, 2019
  4. Kiryl Beliauski August 25, 2019
  5. Kevin September 1, 2019
    • Robert Russell December 20, 2019
  6. Logan October 9, 2019
    • Robert Russell December 20, 2019
  7. James October 19, 2019
    • Ja October 20, 2019
      • Jon December 16, 2019
        • Andrew December 31, 2020
      • Ganlet December 16, 2019
  8. Connor November 2, 2019
    • Robert Russell December 20, 2019
  9. sven November 6, 2019
  10. paolo di mauro November 27, 2019
    • Mike Longfield December 2, 2019
    • Robert Russell December 20, 2019
  11. Daryl Thompson December 21, 2019
  12. Sudhakar December 27, 2019
  13. James January 1, 2020
  14. Hunter January 31, 2020
    • Robert Russell February 1, 2020
  15. John-David Schardt February 13, 2020
  16. John-David Schardt February 13, 2020
  17. ConservesEndemics February 17, 2020
  18. David McLeish April 23, 2020
    • Matthew October 9, 2020
    • Matthew October 12, 2020
      • Pablo Plantain June 14, 2021
  19. Rahme April 26, 2020
  20. Ben Evans May 1, 2020
  21. ErikD July 13, 2020
  22. Abdul Rahman Haq October 5, 2020
  23. Mohsin Ul Haq October 14, 2020
    • Rob Russell October 14, 2020
  24. Dave November 17, 2020
  25. Geoff Hicks April 22, 2021

Leave a Reply