Hardware: 27" 2017 iMac

Connection: Wired

Storage: 1TB SSD

Hi all. I installed Linux Mint on my Mac on an external drive, which was all good fun. But when I went back to boot into MacOS, I got the 🚫 symbol. Booting into recovery mode and running first aid revealed that the disk was corrupted. The only advice it gave was to run first aid in recovery mode, which I was already doing.

Whatever, no big deal, everything important was backed up. So I went ahead and erased the disk using Extended Journaled (I guess APFS is unavailable for Sierra, which is what recovery mode wants to install). I made an installer disk with a later OS but I just received 🚫 again upon selection. Ran first aid again and it passed. Backed out of disk manager and selected install MacOS. Then after about 3 mins. received the error “an error occurred while preparing the installation. Try running this application again”. Tried several more times, receiving the same error every time.

The log reveals even more errors including:

  • “Could not find package ref in any source for:” 15 times for different packages such as “base system resources”, “essentials”, “OSInstall” etc.
  • No native mechanism to verify InstallESD.dmg
  • Couldn’t mount base system dmg! (error code 110)
  • IATOOL: Failed the mount outer dmg

I have installed MacOS several times before, including on the same device.

  • Ulrich@feddit.orgOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    26 minutes ago

    @ataridump@lemmy.world @shizu@lemmy.world @nindelofocho@lemmy.world @sevon@lemmy.kde.social SOLVED please upvote:

    There’s actually a myriad of problems here:

    1. According to Mr.Macintosh, who received the exact same error, the MacOS Sierra image directly from Apple is corrupted (and according to the date of this article, has been for some time).

    2. Apparently there are 2 completely different recovery modes. Command + R gets you the old one, which just installs an earlier version of MacOS for some reason. Whereas Command + Option + R gives you the newer recovery mode and the latest MacOS version available (in my case, Ventura) and also APFS disk formatting, which was unavailable in the older recovery mode (only “extended journaled”).

    So I went ahead and installed Ventura from the new Recovery Mode and that fixed it. Except of-fucking-course it didn’t. Because it gave me yet another generic error: “A required firmware update could not be installed”. Back to web searching and find out there are apparently applicable firmware patches, but they’re ONLY included in a specific version of MacOS. Which one? Who fuckin’ knows, man.

    So I can’t install one because it’s too old, or the other because it’s too new. So then I tried Mojave. Figured out how to download it and load it onto an install stick but after about 2 hours of downloading the download failed for some reason. Another 2 hours later and I had Mojave on a USB and managed to get it installed.

    So then Mojave managed to install, then I just ran the auto-updater to get up to the latest supported version of Ventura. PSYCH AGAIN! I still get the “A required firmware update could not be installed”. 😡 So I’ll just update through the various OS one by one until I reach Venture. Nope, can’t do that either. Would have to download and install each one of them individually and manually until I accidentally got the firmware update…

    • Ulrich@feddit.orgOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      51 minutes ago

      I did mostly figure it out. Just trying to finish up completely before I post a recap of the process. Spoiler: it is Apple’s fault.

    • Ulrich@feddit.orgOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 hours ago

      Thanks. I’ll have to get another storage device. And I was already planning to swap storage from another device anyway.

  • Shizu@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    16 hours ago

    Could it be that the installation medium is corrupt? It says something about not being able to mount a dmg which is probably on the installation medium.

    • Ulrich@feddit.orgOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      16 hours ago

      Yes, I’m just not sure why or what to do about it. If I run the “first aid” it says everything is fine…

      • Shizu@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        16 hours ago

        Well I would try to recreate the installation medium. Maybe download a different version of macOS.

        • Ulrich@feddit.orgOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          15 hours ago

          I’m not using an installation medium, it’s just downloading from recovery mode.

    • Ulrich@feddit.orgOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      2 days ago

      So I looked into it. The time zone was indeed incorrect. The systemsetup and sntp commands are unavailable since there is no OS installed, so I used the date command and changed it manually (assuming there is some level of tolerance there?) and no such luck.

    • Ulrich@feddit.orgOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Would a bad system time not make the dates and times in the log incorrect?