Jump to content

Cannot get Opencore macOS installer to run. OCB: StartImage failed - Aborted


flexmcmurphy
 Share

2 posts in this topic

Recommended Posts

Hello,

 

I am using Manjaro KDE 21.1.6

Opencore 0.6.9

 

I have this bash script that partitions and formats with hfsplus filesystem an attached USB key and uses rsync to copy installation files to create a macOS installer to build a hackintosh using Opencore install guide.

The script uses these kinds of linux utilities:
7z, sfdisk, mkfs.fat, mkfs.hfsplus, mount -t hfsplus, rsync

 

When I run this script on Manjaro the macOS installer boots to the Opencore bootloader and from there I can select to install macOS however the installer fails out on me and I get returned to the Opencore boot loader picker list.

 

This is an extract of the output from a log file showing the error produced:

103:909 00:128 OC: Trying 64-bit XNU hook on System\Library\PrelinkedKernels\immutablekernel
105:463 01:553 FswHfsPlus: get_ext: got_here
105:586 00:123 OCAK: Comp kernel (26325018 bytes) cannot be read at 00000000
105:710 00:123 OC: Result of 64-bit XNU hook on System\Library\PrelinkedKernels\immutablekernel (00000000) is Invalid Parameter
107:259 01:548 FswHfsPlus: get_ext: got_here
107:382 00:123 AAPL: [EB|`LD:LKC] } Err(0x3)
107:506 00:123 AAPL: [EB|#WL|6] 0x01 0x01  22 0x03
107:629 00:123 AAPL: [EB|#STOP|`B:MN] Err(0x3) @ LD:LKC
107:753 00:123 AAPL: [EB|#WL|7] 0x01 0x03  22 0x03
107:877 00:123 AAPL: Exiting efiboot...

In contrast when I run the same bash script on Ubuntu mate to create the macOS USB installer the installer DOES boot through to the macOS installer.

This is an extract of the output from the log file showing what happens when it successfully starts the macOS installer:

48:468 00:161 OC: Trying 64-bit XNU hook on System\Library\PrelinkedKernels\immutablekernel
75:004 26:536 OC: Result of 64-bit XNU hook on System\Library\PrelinkedKernels\immutablekernel (EEA7F868) is Success
75:062 00:058 OCAK: Read kernel version 19.6.0 (190600)
75:147 00:084 OCAK: 64-bit PanicKextDump replace count - 1
75:190 00:042 OCAK: Patch success kext dump
75:288 00:098 OCAK: 64-bit PowerStateTimeout replace count - 1
75:331 00:043 OCAK: Patch success power state
75:374 00:042 OCAK: Skipping SegmentJettison on 190600
75:488 00:114 OCAK: Reducing 64-bit prelink size from 44ED000 to 422C000 via plist
75:570 00:081 OC: Prelinked injection Lilu.kext () - Success

Additional Info

  1. The macOS installer fails when I make that install USB key from Manjaro.
    An interesting line in the log file output is: FswHfsPlus: get_ext: got_here I googled a bit and couldn’t find an explanation.
    I wonder is the installer complaining about the underlying hfsplus filesystem on the hfsplus partition of the USB installer that the macOS installation files are located on?
  2. When I compare the two macOS Installer USB keys I made (from Manjaro and Ubuntu mate) and I view the files in System\Library\PrelinkedKernels in the hfsplus partition I don’t see any missing files in the Manjaro made USB installer. The Manjaro and Ubuntu mate installers appear to be identical in files, file sizes, permissions and ownerships at least in this directory. I was hoping maybe there would be some missing files from that directory in the Manjaro USB Installer which would explain my problem but that was not the case!
  3. I installed hfsplus support in Manjaro from the AUR something like this way…
git clone https://aur.archlinux.org/hfsutils.git
cd hfsutils/	
makepkg -si

… and likewise for hfsprogs.

 

My Question:
Is there maybe a difference in the implementation of the hfsplus driver (hfsutils/hfsprogs) in Arch compared with Ubuntu mate that is causing the macOS installer to fail if I make it in Manjaro?

 

Any help much appreciated.

 

Flex

Link to comment
Share on other sites

 Share

×
×
  • Create New...