This assumes the new mount will be at /Volumes/EFI/ which is only true if you don't have another EFI already mounted.Well, as described in the guide, OpenCore exposes the EFI partition to which it's installed. You can mount the EFI
by enteringu=$(nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:boot-path | sed 's/.*GPT,\([^,]*\),.*/\1/'); if [ "$u" != "" ]; then sudo diskutil mount $u && open /Volumes/EFI/ ; fi
in Terminal.
I usually use my script at https://gist.github.com/joevt/6d7a0ede45106345a39bdfa0ac10ffd6 to mount all EFI partitions.
In each EFI partition, I put a folder with a name describing the partition. Then I can go to a specific EFI partition by including the name of the folder:
open /Volumes/EFI*/*bay2*/..
This example opens the root folder of the EFI partition of the disk in bay 2 of my MacPro3,1.The command to open the Open Core boot path partition can be changed like this:
Code:
source "~/Downloads/DiskUtil.sh"
u=$(nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:boot-path | sed 's/.*GPT,\([^,]*\).*/\1/'); [[ -n $u ]] && sudo diskutil mount $u && getdiskinfo $u OC_ && open "$OC_MountPoint"
Code:
openopencore () {
local u=$(nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:boot-path | sed 's/.*GPT,\([^,]*\).*/\1/'); [[ -n $u ]] && sudo diskutil mount $u && getdiskinfo $u OC_ && open "$OC_MountPoint"
}