Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Dayo

macrumors 68020
Original poster
Dec 21, 2018
2,257
1,279
when I boot RefindPlus Debug Version via bless

I get this error (plus a 3rd line saying HiddenTools maybe, its just too quick)
Do you get the same in EFI Mode?
Some issues with USB Mode that need fixing but I don't use this so on the backburner hence the recommendation against.

I think this one may be due to permissions. Try setting the permissions to 775 on all items and see if it helps.
Separately, I will look into amending the code to skip this

Next step is selecting OpenCore, got my Mojave Disk to select, then the Mac is kinda resetting (screen gets black, loud chime, dvd drive is making positioning sounds) and rebooting into my startup disk.
You mean you get a reboot and chime AFTER selecting a bootloader in OpenCore?
Please post logs from RefindPlus and OpenCore


If I select the RefindPlus thumb drive with the BootPicker (have a bootscreen GPU) Refind plus shows up with all my drives. (but not my Mojave one)

But selecting OpenCore will hard reset again.
Logs please

have FileVault active on Mojave Disk if that counts.
Might be. Not sure.

"native" OpenCore 0.62 works without chainloading from RefindPlus
Is this the same OpenCore instance installed by MyBootMgr?
 

Macschrauber

macrumors 68030
Dec 27, 2015
2,979
1,487
Germany
For EFI partition blessing, I think the mount command is more appropriate:
Code:
sudo bless  --mount /Volumes/BlackStick --file /Volumes/BlackStick/EFI/BOOT/BOOTx64.efi --setBoot --nextonly
but I don't know if that will fix your problem.
My script at https://gist.github.com/joevt/477fe842d16095c2bfd839e2ab4794ff can show what the boot vars look like after the bless command (just use the dumpallbootvars function) so you'll be able to see the difference between each bless command.

exactly same behaviour
 

Macschrauber

macrumors 68030
Dec 27, 2015
2,979
1,487
Germany
Macschrauber said:
when I boot RefindPlus Debug Version via bless

I get this error (plus a 3rd line saying HiddenTools maybe, its just too quick)
Do you get the same in EFI Mode?

>Not tested, yet, I have several refit, refind, opencore in my EFI Partitions so I would like to test on USB.
Do this all the time with openCore allone, got openCore chainloading refind for Linux and Bootcamp so I should know the basics.



Some issues with USB Mode that need fixing but I don't use this so on the backburner hence the recommendation against.


I think this one may be due to permissions. Try setting the permissions to 775 on all items and see if it helps.
Separately, I will look into amending the code to skip this

>will test this

Macschrauber said:
Next step is selecting OpenCore, got my Mojave Disk to select, then the Mac is kinda resetting (screen gets black, loud chime, dvd drive is making positioning sounds) and rebooting into my startup disk.
You mean you get a reboot and chime AFTER selecting a bootloader in OpenCore?

>exactly

Please post logs from RefindPlus and OpenCore


Macschrauber said:
If I select the RefindPlus thumb drive with the BootPicker (have a bootscreen GPU) Refind plus shows up with all my drives. (but not my Mojave one)

But selecting OpenCore will hard reset again.
Logs please

Macschrauber said:
have FileVault active on Mojave Disk if that counts.
Might be. Not sure.

Macschrauber said:
"native" OpenCore 0.62 works without chainloading from RefindPlus
Is this the same OpenCore instance installed by MyBootMgr?

>no, the same instance gives the errors shown in the photo shown in #377
 

Dayo

macrumors 68020
Original poster
Dec 21, 2018
2,257
1,279
I have several refit, refind, opencore in my EFI Partitions so I would like to test on USB.
Try the EFI Partition of the USB Drive.
Can't recollect but it might be relevant whether the USB is in a front or rear port.

You mean you get a reboot and chime AFTER selecting a bootloader in OpenCore?
>exactly
Definitely need logs to figure that out.

Is this the same OpenCore instance installed by MyBootMgr?
>no, the same instance gives the errors shown in the photo shown in #377
Most likely a config issue then.
Try the config file from the "Working" instance here.
 
Last edited:

Macschrauber

macrumors 68030
Dec 27, 2015
2,979
1,487
Germany
edit: chmod -R 755 to the Stick won't made a difference

need to reformat the USB Stick, it's in MBR because OpenCore allone needed it that way to run from it.
 

Macschrauber

macrumors 68030
Dec 27, 2015
2,979
1,487
Germany
didnt

formatted to GUID and refind doesnt load.

As OpenCore allone before.

Now I try to install it to the /efi partition of the stick later this evening or tomorrow.
 

Macschrauber

macrumors 68030
Dec 27, 2015
2,979
1,487
Germany
Try swapping the config.plist first
Same, Reset and reboots with my working config.plist from native OpenCore installation. Showd more drives so it reads the other plist.

this time on a usb hard disk with guid Format. But in USB Mode as well.

next step is trying in efi partition.
 
  • Like
Reactions: Dayo

Macschrauber

macrumors 68030
Dec 27, 2015
2,979
1,487
Germany
ok, tried the EFI Partition:


Refindplus:
no error about write protection,
all my drives and bootloaders but not my Mojave appeared.

OpenCore:
same reset behaviour If I boot into Mojave.


now I can show logs ;-)
 

Attachments

  • Archive.zip
    11.7 KB · Views: 137
Last edited:

Macschrauber

macrumors 68030
Dec 27, 2015
2,979
1,487
Germany
If I boot via chainloaded openCore into 10.14.6 Recovery it works. Maybe something with FileVault.

but native OpenCore boots into my FileVault Mojave Disk (Sata SSD in bay 1)
 

Macschrauber

macrumors 68030
Dec 27, 2015
2,979
1,487
Germany
Ok, if I bless this openCore Installation what Dayo‘s Tool made OpenCore is not rebooting. In Efi mode.

FileVault Mojave boots like it should.

nvram shows correct OpenCore Version dbg-062

so something with chainloading opencore from ReFind.

Log attached from this working OpenCore run (OC blessed directly)
 

Attachments

  • opencore-2020-10-30-194408.txt
    256 KB · Views: 301
Last edited:

Dayo

macrumors 68020
Original poster
Dec 21, 2018
2,257
1,279
Refindplus:
no error about write protection
Yeah, it a USB Mode specific issue.
Will get round to looking into it at some point but it is very low on the order of priorities.
Fixed in v063

all my drives and bootloaders but not my Mojave appeared.
What's this one: Found 'Mac OS' on 'Mojave Inst 10.14.6 18G103 mod'

OpenCore:
same reset behaviour If I boot into Mojave.
Share the config.plist from the working instance and from this instance

If I boot via chainloaded openCore into 10.14.6 Recovery it works. Maybe something with FileVault.
Could be. Please share the configs.

Ok, if I bless this openCore Installation what Dayo‘s Tool made OpenCore is not rebooting. In Efi mode.

nvram shows correct OpenCore Version dbg-062

so something with chainloading opencore from ReFind.
There is nothing special with chainloading OpenCore but there seems to be with your setup.
Anyway,leave this on one side for now and lets try to deal with the items one by one.

Interestingly, you actually should NOT be getting a bootscreen from what the RefindPlus log is showing and that is something I will like to understand.

Please share the requested OpenCore config files and information about your GPU.
Which Kepler GPU model is it? Has it been flashed? What port is your monitor connected to? If DVI, which of the types below is it?

DVI Types.jpg


Also, which Mac Pro model are you running? Note you posted cMP 3,1 earlier
 
Last edited:

areseedj

macrumors newbie
Oct 1, 2020
2
0
******Edited - The Short Short Version ********
10710906-26235492-thumbnail.jpg

Question 1:
Id like to run another instance of OpenCore that includes a modified "BOOTx64.efi". How would I set this up in the override.conf? I currently have added:
# Activate AMD hardware acceleration OpenCore Pathway menuentry "OpenCore (AMD ACC)" { icon /EFI/BOOT/overrides/images/os_opencore.png loader /EFI/OC_HWACC/Bootstrap/Bootstrap.efi }
However the modified "BOOTx64.efi" needs to load (I believe?) and I do no want to replace the version MyBootMgr produced. Where would I place a isolated and completely modified OpenCore instance in the EFI Partition and how do I set overrides to look for it?

Question 1 part 2:
I need to boot to either a "DOS bootable CD-ROM - FreeDos/BCDW" or a usb w/ a windows setup of reFind to update the firmware on my internal hard drives. When attempting the USB method the paths are messed up because I'm already booted to reFindPlus then into SeaGates reFind version. And with the bootable CD/ISO the drivers are not loaded because it's expecting to have the apple boot process load them.
I have read through the reFind docs and tried various configurations, non have worked.

Question 2:
Can the same procedure you posted about setting up windows with VirtualBox be used for any OS such as Ubuntu?

Question 3:
After firm blessing Refind do I need to boot into OpenCore and Firm Bless it? And does "SIP" need to remain enabled?

******End Edited - The Short Short Version ********



So I just wanted to report in, great job @Dayo

Screen Shot 2020-10-30 at 1.24.51 PM.png


Took me a while to figure out I needed to run these tools on the targeted drive, or at least was optimal in saving me reboots and "csrutil disable" commands.

Regarding the DVI post. I'm running the RX 5800 "XFX" 1 DVI-D x 1 HDML x 4 DVI ports. The HDMI port now works on boot up with graphics after finding out the GPU has a "DUAL-BIOS" switch. Position 1 (Legacy Mode) and Position 2 (UEIF Mode) **I think that is correct** Either way its up and running. I have been having random shutdowns which I traced back to the dual 6 pin to 8 pin connecter I should be getting today as the RX 5800 is connected on with a single 6pin to 8pin.

I am running 2 SSD's. Drive A:Samsung SSD 850 EVO 500GB(Default Mojave Install) connected to the SATA Cable in the upper dock and drive B:APPLE SSD SM0256G(B: OpenCore/Refind Catalina Install) from my old MacBookPro using a PCIe card. I made a HUGE mistake trying to protect my data by partitioning the drive A: and creating a new APFS container and moving my home folder over to that and then mapping it in Catalina. For anyone reading this ***Don't try it! *** The APFS volume formatted in Catalina doesn't play we'll on a pre formatted APFS drive from an older install. Basically the I was unable to access the drive and the partition became corrupted or disconnected and had to use Ubuntu + APFS_Fuse to recover. So after a few days of keyboard hammering I got back up and running.

Off course I wanted to boost the performance and add w/ a solid recovery plan I dropped in @h9826790 OC version "Activate AMD hardware acceleration" and rebooted. I noticed that his BOOTx64.efi is compiled differently then @Dayo It jumps right into OpenCore. However I do see a massive improvement with the machine now, very fast and smooth with graphics (aside from the occasional shutdowns attributed to the wrong cable for the GPU)

Question 1: I know that the ReFindPlus + MyBootMgr has been built to function as a whole, however I was wondering how to set up the "override.conf" file correctly to load another instance or OpenCore - HW ACC.

I have tried adding @h9826790 setup as "OC_HWACC" along side of the OC and OC_ALT like such:
Screen Shot 2020-10-30 at 1.51.55 PM.png

Then adding a to the "overrides.conf"

# Activate AMD hardware acceleration OpenCore Pathway menuentry "OpenCore (AMD ACC)" { icon /EFI/BOOT/overrides/images/os_opencore.png loader /EFI/OC_HWACC/Bootstrap/Bootstrap.efi }

However his setup also includes a "BOOTX64.efi @ 9KB" vs your "ReFindPlus BOOTx64.efi 295KB" so I think that this is why its not working.

So now to my question: How do I setup the override so it can scan or see another instance of OpenCore to boot from?

Part 2 of Question 1: I am having difficulties with running some third party boot loaders.
Let me explain: I have 4 SATA Bays on my cMP that are holding 4 x 4TB Seagate Drives that require FIRMWARE updates. Seagate provides a 2 versions of installing these drivers. Windows Exe and Linux/Mac ISO. Both require them to boot from a USB or CD/DVD. To add they use FreeDos. I was able to boot into there Seagate Utility however it wasn't able to recognize the drives. I am assuming that this is because the drivers were not present. I tried various methods to get the FIRMWARE on these drives updated. Even as far as burning the ISO to CD and pulling out the old CD/DVD Drive and booting with only from that with all drives yanked out. What I am wondering does ReFind + P recognize I guess I'd call them Sub-Instances of ReFind and if so when loading them does the drivers from the Parent ReFind install get dropped when loading the child instance?

Question 2: This kinda includes the above but more towards MultiBooting. I found your installation process for Windows 10 and was able to successfully get a Windows 10 install up and running and recognized by reFind. Kudos on the "VirtualBox RAW" disk creation. Would the same process apply to any other OS install - Primarily Ubuntu?

Question 3: I really like how the permissions are reset. However in OpenCore does "SiP" need to be on when everything is finalized? And do I need to bless OpenCore as well?

All in all you did an excellent job on building this tool and writing up the installation process. Anyone who is running a RIG like mine and has questions feel free to ask me about my experience as I had a tedious albeit intuitive experience. Its a cMP 5,1with a few upgrades.


Hardware Overview:
Model Name: Mac Pro
Model Identifier: MacPro5,1
Processor Name: "Eight Core" 2 x Dual Core 2.4 (2010/Westmere) -> Quad-Core Intel Core i3
Processor Speed: 2.4 GHz
Number of Processors: 2
Total Number of Cores: 8
L2 Cache (per Core): 256 KB
L3 Cache (per Processor): 12 MB
Hyper-Threading Technology: Enabled
Memory: 8 GB
Boot ROM Version: 144.0.0.0.0
SMC Version (system): 1.39f11
SMC Version (processor tray): 1.39f11
Radeon RX 580 XFX (Dual Bios):
Chipset Model: Radeon RX 580 XFX Dua Bios
Type: GPU
Bus: PCIe
Slot: Slot-1
PCIe Lane Width: x16
VRAM (Total): 8 GB
Vendor: AMD (0x1002)
Device ID: 0x67df
Revision ID: 0x00e7
Metal: Supported, feature set macOS GPUFamily2 v1
Generic SATA Express Controller:
Type: AHCI Controller
Driver Installed: Yes
MSI: Yes
Bus: PCI
Slot: Slot-2
Product: SATA Express Controller
Physical Interconnect: PCI
Link Width: x4
Link Speed: 5.0 GT/s
Description: AHCI Version 1.30 Supported
APPLE SSD SM0256G:
Capacity: 251 GB (251,000,193,024 bytes)
Model: APPLE SSD SM0256G
Product: SATA Express Controller
Physical Interconnect: PCI
Link Width: x4
Link Speed: 5.0 GT/s
Description: AHCI Version 1.30 Supported

And it looks like the Dual 6 pin to 8 Pin just arrived so I'm going to power down and install it and hopefully ill be styling and profiling =)
 
Last edited:

Dayo

macrumors 68020
Original poster
Dec 21, 2018
2,257
1,279
Id like to run another instance of OpenCore that includes a modified "BOOTx64.efi".
You can't. What you can do is add another instance of OpenCore that uses the same distributed instance of "BOOTx64.efi"
How to do is is in the guide. You need to compile a patched version of OpenCore similar to OC_ALT.

However, your question should be "what does this desired instance of OpenCore provide that is not provided here and can it be provided in one or the other of the two instances I already have?"

Hint: The answer is "Yes, it always can". Features are enabled in the config files and are not associated with some particular OpenCore file or the other. In any case, you seem to want GPU Acceleration which is already provided. So. I am a bit lost as to the motivation.

I need to boot to either a "DOS bootable CD-ROM - FreeDos/BCDW" or a usb w/ a windows setup of reFind to update the firmware on my internal hard drives. When attempting the USB method the paths are messed up because I'm already booted to reFindPlus then into SeaGates reFind version. And with the bootable CD/ISO the drivers are not loaded because it's expecting to have the apple boot process load them.
I have read through the reFind docs and tried various configurations, non have worked.
No idea on that sorry. Why not just bless the other instance whenever you need it?
It's "RefindPlus" not "reFindPlus" btw

Can the same procedure you posted about setting up windows with VirtualBox be used for any OS such as Ubuntu?
Not tried but should work. Leave feedback in that thread on how you get on.

After firm blessing Refind do I need to boot into OpenCore and Firm Bless it?
Why would you want to do that?
The things you need to do are set out in the guide ... if something is needed, it will be explicitly written there.

Does "SIP" need to remain enabled?
Totally up to you on that and you can set SIP to whatever state you want.
Only thing is that it needs to be disabled whenever you need to bless.
 
Last edited:
  • Like
Reactions: areseedj

Macschrauber

macrumors 68030
Dec 27, 2015
2,979
1,487
Germany
Macschrauber said:
Refindplus:
no error about write protection
Yeah, it a USB Mode specific issue.
Will get round to looking into it at some point but it is very low on the order of priorities.

> I used a thumb drive as I always do that with testing OpenCore, but that's just for test sake. 1st time I run into problems with it.

Macschrauber said:
all my drives and bootloaders but not my Mojave appeared.
What's this one: Found 'Mac OS' on 'Mojave Inst 10.14.6 18G103 mod'

>A partition with a slightly modded DosDude Mojave Installer

Macschrauber said:
OpenCore:
same reset behaviour If I boot into Mojave.
Share the config.plist from the working instance and from this instance
>those are the same, blessed directly it booted my Mojave Disk, chainloaded it rebooted.

Guess why reFind is not seeing my FileVault Mojave Disk is this setting in override:

Code:
dont_scan_volumes "Legacy OS","Recovery","Boot OS X","PreBoot","VM"

I'll test it but I think either Boot OS X or PreBoot is needed to kick in for FileVault



Macschrauber said:
Ok, if I bless this openCore Installation what Dayo‘s Tool made OpenCore is not rebooting. In Efi mode.

nvram shows correct OpenCore Version dbg-062

so something with chainloading opencore from ReFind.
There is nothing special with chainloading OpenCore but there seems to be with your setup.
Anyway,leave this on one side for now and lets try to deal with the items one by one.

Interestingly, you actually should NOT be getting a bootscreen from what the RefindPlus log is showing and that is something I will like to understand.

Please share the requested OpenCore config files and information about your GPU.
Which Kepler GPU model is it? Has it been flashed? What port is your monitor connected to? If DVI, which of the types below is it?

DVI Types.jpg


> Nividia Quadro K2000d with 2 DVI and one Mini Display Port,
a Kepler Card flashed with UGA Bootscreen Rom. Does not work perfectly but good enough for this Mac Pro and my needs.

Connected to an Apple 23" Display directly connected to DVI-I Single Link
 

Attachments

  • config.plist.zip
    3.3 KB · Views: 179
  • refind.conf.zip
    13.6 KB · Views: 175

Macschrauber

macrumors 68030
Dec 27, 2015
2,979
1,487
Germany
this is interesting,
when disabling this line in reFind override conf
"dont_scan_volumes "Legacy OS","Recovery","Boot OS X","PreBoot","VM""

I see Preboot in Refindplus, can't boot into it but much more interesting:

no more reboot in OpenCore when selecting Mojave Disk but Error Messages:


IMG_3688.jpg


after that I am back in OpenCore.

If I select the Apple Boot Picker in OpenCore I get the loud chime and reboot.
 

Attachments

  • logs and configs.zip
    24 KB · Views: 143

Dayo

macrumors 68020
Original poster
Dec 21, 2018
2,257
1,279
those are the same, blessed directly it booted my Mojave Disk, chainloaded it rebooted.
Strange. Don't have the answers but Chainloading should not have this impact.
Your logs show that OpenCore is crashing abruptly while trying to boot Mojave.
I think there is something else at play but no idea what it might be right now.

Guess why reFind is not seeing my FileVault Mojave Disk is this setting in override:
No, it's not. RefindPlus determines that a volume is a bootable Mac OS volume by confirming the presence of the Mac OS bootloader in the expected location. With an encrypted volume as you have with FileVault, it cannot confirm this and as far as it is concerned, that volume is not a bootable volume. Basically, it can only display bootloaders it can find.

You seem to have other rEFInd/rEFIt instances installed. I am sure that is the case with them as well. Basically, FileVault or any other encrypted disks are not supported in RefindPlus (or similar rEFIt variants). I will add this to the guide. OpenCore is different of course. This is not an issue in itself as Mac OS instances are to be booted via OpenCore.
 
Last edited:

Dayo

macrumors 68020
Original poster
Dec 21, 2018
2,257
1,279
no more reboot in OpenCore when selecting Mojave Disk but Error Messages:
This is just the same error happening in a different way but sheds a bit of light.
Remove the APFS driver from RefindPlus and reboot.
Just checked your config and noticed you wouldn't have this driver.

From checking your config, it seems you either selected "Yes" to the ConfigFactory query about whether your firmware has been patched for APFS or you did not select Early 2008 when building the config.

Have you done the APFS ROM Mod?

If I select the Apple Boot Picker in OpenCore I get the loud chime and reboot.
This is suggested as "No" in ConfigFactory for a reason. If you check the OpenCore docs, you will see that it says this feature doesn't work on some Macs.
 
Last edited:

Dayo

macrumors 68020
Original poster
Dec 21, 2018
2,257
1,279
no more reboot in OpenCore when selecting Mojave Disk but Error Messages:
after that I am back in OpenCore.
FYI, I replaced my config.plist and override.conf files with yours and I am now booted into my Mojave instance without issue.

No idea what is causing your issues and putting this into a "Works for Me" category until something else turns up ... perhaps relating to FileVault.
 

joevt

macrumors 604
Jun 21, 2012
6,963
4,257
To boot FileVault don't you just need to select the Preboot option? Or is it on Recovery? When you select a File Vault partition in Startup Disk preferences panel, what gets blessed in the boot vars? That's what needs to get booted.
 

Macschrauber

macrumors 68030
Dec 27, 2015
2,979
1,487
Germany
this OpenCore instance starts FileVault Mojave if blessed and started without ReFindplus.

it just resets hard the Mac if chainloaded via ReFindplus.

so no general issue with OpenCore or starting FV via it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.