Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.
Yes
[automerge]1595775827[/automerge]

Do it like this and everything will be fine))

View attachment 937733View attachment 937721
View attachment 937722
Code:
Last login: Sun Jul 26 17:32:56 on ttys001
apple@ALEXs-Mac-Pro ~ % diskutil list                
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *512.1 GB   disk0
   1:                        EFI ⁨EFI⁩                     209.7 MB   disk0s1
   2:                 Apple_APFS ⁨Container disk1⁩         256.0 GB   disk0s2
   3:                 Apple_APFS ⁨Container disk2⁩         241.0 GB   disk0s3
   4:                  Apple_HFS ⁨Install macOS Big Su...⁩ 14.7 GB    disk0s4
                    (free space)                         268.4 MB   -

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +256.0 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume ⁨Macintosh HD⁩            236.7 GB   disk1s1
   2:                APFS Volume ⁨Preboot⁩                 25.4 MB    disk1s2
   3:                APFS Volume ⁨Recovery⁩                507.5 MB   disk1s3
   4:                APFS Volume ⁨VM⁩                      20.5 KB    disk1s4

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +241.0 GB   disk2
                                 Physical Store disk0s3
   1:                APFS Volume ⁨BigSur - Data⁩           4.8 GB     disk2s1
   2:                APFS Volume ⁨Preboot⁩                 273.3 MB   disk2s2
   3:                APFS Volume ⁨Recovery⁩                887.8 MB   disk2s3
   4:                APFS Volume ⁨VM⁩                      1.1 MB     disk2s4
   5:                APFS Volume ⁨BigSur⁩                  15.5 GB    disk2s5
   6:              APFS Snapshot ⁨com.apple.os.update-...⁩ 15.5 GB    disk2s5s1

/dev/disk3 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *15.6 GB    disk3
   1:                        EFI ⁨EFI⁩                     209.7 MB   disk3s1
   2:                  Apple_HFS ⁨USB⁩                     15.2 GB    disk3s2

/dev/disk4 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.5 TB     disk4
   1:                        EFI ⁨EFI⁩                     209.7 MB   disk4s1
   2:                  Apple_HFS ⁨HDD⁩                     1.5 TB     disk4s2

apple@ALEXs-Mac-Pro ~ % sudo diskutil mount disk2s2  
Password:
Volume Preboot on disk2s2 mounted
apple@ALEXs-Mac-Pro ~ % ls -l /System/Volumes/Preboot
total 0
drwxr-xr-x  11 root  wheel  352 Jul 26 02:50 B78FCD7C-A366-4093-9C33-C78FF3AE61AF
apple@ALEXs-Mac-Pro ~ % sudo mv ~/Users/apple/Downloads/.disk_label.contentDetails /System/Volumes/Preboot/B78FCD7C-A366-4093-9C33-C78FF3AE61AF/System/Library/CoreServices/.disk_label.contentDetails


I'm sure I followed the instructions here after opening the 'spoiler' and I did of course change the UUID to my own. but i must be making an error somewhere as this is the result I get.

I repeated the steps several time in case I did something obviously wrong but I get the same result ... No such file or directory

/dev/disk4 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +479.9 GB disk4
Physical Store disk0s2
1: APFS Volume ⁨SSD BigSur beta 2 - ...⁩ 274.2 GB disk4s1
2: APFS Volume ⁨Preboot⁩ 360.1 MB disk4s2
3: APFS Volume ⁨Recovery⁩ 887.8 MB disk4s3
4: APFS Volume ⁨BigSur beta⁩ 15.8 GB disk4s4
5: APFS Snapshot ⁨com.apple.os.update- ...⁩ 15.8 GB disk4s4s1
6: APFS Volume ⁨VM⁩ 1.1 MB disk4s6

david@Davids-QuadPro-4 ~ % sudo diskutil mount disk4s2

Password:
Volume Preboot on disk4s2 mounted

david@Davids-QuadPro-4 ~ % ls -l /System/Volumes/Preboot
total 0
drwxr-xr-x 11 _nsurlsessiond _nsurlsessiond 352 Jul 22 14:47 1B08D35B-CCDB-4E60-8BCB-B5A71C2F9054

david@Davids-QuadPro-4 ~ % sudo mv ~/Users/apple/Downloads/.disk_label.contentDetails /System/Volumes/Preboot/1B08D35B-CCDB-4E60-8BCB-B5A71C2F9054/System/Library/CoreServices/.disk_label.contentDetails

mv: rename /Users/david/Users/apple/Downloads/.disk_label.contentDetails to /System/Volumes/Preboot/1B08D35B-CCDB-4E60-8BCB-B5A71C2F9054/System/Library/CoreServices/.disk_label.contentDetails: No such file or directory


david@Davids-QuadPro-4 ~ %



What am I doing wrong that I cannot see?
 
I'm sure I followed the instructions here after opening the 'spoiler' and I did of course change the UUID to my own. but i must be making an error somewhere as this is the result I get.

I repeated the steps several time in case I did something obviously wrong but I get the same result ... No such file or directory

/dev/disk4 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +479.9 GB disk4
Physical Store disk0s2
1: APFS Volume ⁨SSD BigSur beta 2 - ...⁩ 274.2 GB disk4s1
2: APFS Volume ⁨Preboot⁩ 360.1 MB disk4s2
3: APFS Volume ⁨Recovery⁩ 887.8 MB disk4s3
4: APFS Volume ⁨BigSur beta⁩ 15.8 GB disk4s4
5: APFS Snapshot ⁨com.apple.os.update- ...⁩ 15.8 GB disk4s4s1
6: APFS Volume ⁨VM⁩ 1.1 MB disk4s6

david@Davids-QuadPro-4 ~ % sudo diskutil mount disk4s2

Password:
Volume Preboot on disk4s2 mounted

david@Davids-QuadPro-4 ~ % ls -l /System/Volumes/Preboot
total 0
drwxr-xr-x 11 _nsurlsessiond _nsurlsessiond 352 Jul 22 14:47 1B08D35B-CCDB-4E60-8BCB-B5A71C2F9054

david@Davids-QuadPro-4 ~ % sudo mv ~/Users/apple/Downloads/.disk_label.contentDetails /System/Volumes/Preboot/1B08D35B-CCDB-4E60-8BCB-B5A71C2F9054/System/Library/CoreServices/.disk_label.contentDetails

mv: rename /Users/david/Users/apple/Downloads/.disk_label.contentDetails to /System/Volumes/Preboot/1B08D35B-CCDB-4E60-8BCB-B5A71C2F9054/System/Library/CoreServices/.disk_label.contentDetails: No such file or directory


david@Davids-QuadPro-4 ~ %



What am I doing wrong that I cannot see?
you did not specify the path to Terminal correctly

sudo mv ~/Downloads/disk_label.contentDetails /System/Volumes/Preboot/1B08D35B-CCDB-4E60-8BCB-B5A71C2F9054/System/Library/CoreServices/.disk_label.contentDetails
 
  • Like
Reactions: h9826790
I'm sure I followed the instructions here after opening the 'spoiler' and I did of course change the UUID to my own. but i must be making an error somewhere as this is the result I get.

I repeated the steps several time in case I did something obviously wrong but I get the same result ... No such file or directory

/dev/disk4 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +479.9 GB disk4
Physical Store disk0s2
1: APFS Volume ⁨SSD BigSur beta 2 - ...⁩ 274.2 GB disk4s1
2: APFS Volume ⁨Preboot⁩ 360.1 MB disk4s2
3: APFS Volume ⁨Recovery⁩ 887.8 MB disk4s3
4: APFS Volume ⁨BigSur beta⁩ 15.8 GB disk4s4
5: APFS Snapshot ⁨com.apple.os.update- ...⁩ 15.8 GB disk4s4s1
6: APFS Volume ⁨VM⁩ 1.1 MB disk4s6

david@Davids-QuadPro-4 ~ % sudo diskutil mount disk4s2

Password:
Volume Preboot on disk4s2 mounted

david@Davids-QuadPro-4 ~ % ls -l /System/Volumes/Preboot
total 0
drwxr-xr-x 11 _nsurlsessiond _nsurlsessiond 352 Jul 22 14:47 1B08D35B-CCDB-4E60-8BCB-B5A71C2F9054

david@Davids-QuadPro-4 ~ % sudo mv ~/Users/apple/Downloads/.disk_label.contentDetails /System/Volumes/Preboot/1B08D35B-CCDB-4E60-8BCB-B5A71C2F9054/System/Library/CoreServices/.disk_label.contentDetails

mv: rename /Users/david/Users/apple/Downloads/.disk_label.contentDetails to /System/Volumes/Preboot/1B08D35B-CCDB-4E60-8BCB-B5A71C2F9054/System/Library/CoreServices/.disk_label.contentDetails: No such file or directory


david@Davids-QuadPro-4 ~ %



What am I doing wrong that I cannot see?

Снимок экрана 2020-07-26 в 23.35.00.png

[automerge]1595799493[/automerge]
Can I just go directly to OpenCore Catalina from High Sierra and skip Mojave?
Yes you can, I don't see a problem in this
 
Do it like this and everything will be fine))
Can the file be created from scratch instead of copied from the zip?

Code:
getdiskinfo () {
    # $1 = the disk you want info for (either a mountpoint like "/" or a device "disk0s1")
    # $2 = prefix for variable names
    eval $(diskutil info -plist $1 | plutil -p - | perl -nE 'if (s/ *"([^"]+)" => "?(.*?)"?$/'$2'\1=\2/) { s/"/\\"/g; s/([^=]+=)(.*)/\1"\2"/; print $_ }')
}


setbootername () {
    local thedisk="$1"
    local NewBooterName="$2"

    getdiskinfo "$thedisk" Root
    if [[ -n $RootBooterDeviceIdentifier ]]; then
        diskutil mount $RootBooterDeviceIdentifier
        getdiskinfo $RootBooterDeviceIdentifier Preboot
        if [[ -n $PrebootMountPoint ]]; then
            local theUUID=""
            if [[ -d $PrebootMountPoint/$RootVolumeUUID ]] then
                theUUID=$RootVolumeUUID
                echo "using VolumeUUID"
            elif [[ -d $PrebootMountPoint/$RootAPFSVolumeGroupID ]] then
                theUUID=$RootAPFSVolumeGroupID
                echo "using APFSVolumeGroupID"
            else
                echo "unknown UUID in booter"
                ls -l "$PrebootMountPoint"
                return 1
            fi
            thefile="$PrebootMountPoint/$theUUID/System/Library/CoreServices/.disk_label.contentDetails"
            [[ -f "$thefile" ]] && { echo "$thefile already exists: $(cat "$thefile")" } || { sudo bash -c "echo \"$NewBooterName\" > \"$thefile\""; echo "$thefile is created" }
        else
            echo "$RootBooterDeviceIdentifier is not mounted"
        fi
    else
        echo "No booter device"
    fi
}

Then use it like this:
Code:
setbootername / "BigSurBeta3onTB"
Volume Preboot on disk3s4 mounted
using APFSVolumeGroupID
/System/Volumes/Preboot/0AB9A108-98D7-4D65-BA3E-E5B63810D6AE/System/Library/CoreServices/.disk_label.contentDetails already exists: BigSurBeta3onTB

setbootername CatalinaTest "CatalinaTest"
Volume Preboot on disk2s2 mounted
using VolumeUUID
/Volumes/Preboot/A09D8599-5B1A-4269-9957-496E439C45C3/System/Library/CoreServices/.disk_label.contentDetails already exists: CatalinaTest

setbootername "Big Sur Beta 3" "Big Sur Beta 3"
Volume Preboot on disk6s2 mounted
using APFSVolumeGroupID
/Volumes/Preboot 1/1A7E15CC-7A0E-3E99-B3BD-C18BF906C185/System/Library/CoreServices/.disk_label.contentDetails is created

setbootername "Big Sur Beta 3" "Big Sur Beta 3"
Volume Preboot on disk6s2 mounted
using APFSVolumeGroupID
/Volumes/Preboot 1/1A7E15CC-7A0E-3E99-B3BD-C18BF906C185/System/Library/CoreServices/.disk_label.contentDetails already exists: Big Sur Beta 3
 
Last edited:
Can the file be created from scratch instead of copied from the zip?

Code:
NewBooterName="BigSur"

getdiskinfo () {
    eval $(diskutil info -plist $1 | plutil -p - | perl -nE 'if (s/ *"([^"]+)" => "?(.*?)"?$/'$2'\1=\2/) { s/"/\\"/g; s/([^=]+=)(.*)/\1"\2"/; print $_ }')
}

getdiskinfo / Root
if [[ -n $RootBooterDeviceIdentifier ]]; then
    diskutil mount $RootBooterDeviceIdentifier
    getdiskinfo $RootBooterDeviceIdentifier Preboot
    if [[ -n $PrebootMountPoint ]]; then
        thefile="$PrebootMountPoint/$RootVolumeUUID/System/Library/CoreServices/.disk_label.contentDetails"
        [[ -f "$thefile" ]] && { echo "$thefile already exists: $(cat "$thefile")" } || { sudo bash -c "echo \"$NewBooterName\" > \"$thefile\""; echo "$thefile is created" }
    else
        echo "$RootBooterDeviceIdentifier is not mounted"
    fi
else
    echo "No booter device"
fi

At the moment I get "permission denied". So how do I get permissions set to allow this to run?
 
At the moment I get "permission denied". So how do I get permissions set to allow this to run?
I'm not sure what could cause "permission denied". Maybe post results of commands? Maybe try executing the commands manually one at a time?

I made a correction : Big Sur Preboot volumes use APFSVolumeGroupID instead of VolumeUUID of root for the UUID folder name.
 
  • Like
Reactions: h9826790
I made a correction : Big Sur Preboot volumes use APFSVolumeGroupID instead of VolumeUUID of root for the UUID folder name.

"Big Sur Preboot" UUID "folder name" matches with the APFS "BigSur Data Volume" UUID (diskutil apfs list), before BigSur it matched instead with "System Volume" UUID , I guess this APFS Preboot UUID change depends from the fact that apple introduced SSV .
 
  • Like
Reactions: h9826790
Interesting, so, the latest Big Sur installer go back to only need VMM flag on. That's actually a good news for us.

Could expect that on the next "Big Sur beta 4" also the Incremental update (about 5 GB) works only with VMM flag ?
 
Remove your USB drive and reset the NVRAM.





There are various things at play here. Before blessing the volume, make sure to mount it with diskutil. Also, the bless command seems to fail on certain percentage of Mac Pros (I wonder if this has to do with a worn-out NVRAM volume). For that reason, the guide includes an alternative command (see the spoiler in that step). Moreover, some USB and PCIe drives seem to have trouble booting OpenCore. You might want to experiment with a regular SATA disk.
I could not get OC to work off of my PCIe drive. I had to do a NVRAM reset each time with boot up to get OC bootpicker. Moved it to a SATA drive (not the Mojave drive) and it works fine now. The bless command worked fine on the PCIe EFI but it just never worked.
 
  • Like
Reactions: cdf
Kepler still runs fine in BigSur
[automerge]1595868809[/automerge]
I have csr-active-config:
Code:
<key>csr-active-config</key>
                <data>
                D/8=
But :
Code:
csrutil status
System Integrity Protection status: unknown (Custom Configuration).

Configuration:
    Apple Internal: disabled
    Kext Signing: disabled
    Filesystem Protections: disabled
    Debugging Restrictions: disabled
    DTrace Restrictions: enabled
    NVRAM Protections: enabled
    BaseSystem Verification: disabled
And:
Code:
csrutil authenticated-root
Authenticated Root status: disabled
Why is NVRAM Protections: enabled?
 
Last edited:
View attachment 937819


Thanks for that advice. It should have worked. HOWEVER when I correct that

david@Davids-QuadPro-4 ~ % sudo mv ~/Users/david/Downloads/.disk_label.contentDetails /System/Volumes/Preboot/1B08D35B-CCDB-4E60-8BCB-B5A71C2F9054/System/Library/CoreServices/.disk_label.contentDetails

Password:

mv: /Users/david/Users/david/Downloads/.disk_label.contentDetails: No such file or directory

It returns in this line /Users/david/Users/david/ inserting "Users/david/" twice and of course there is no file or directory to move

Do you have any idea what am I not getting right here?


Despite this the Boot Selector has started to show as "BigSur" and no longer "Preboot".

Figure???



david@Davids-QuadPro-4 ~ %
 
Last edited:
Kepler still runs fine in BigSur
[automerge]1595868809[/automerge]
I have csr-active-config:
Code:
<key>csr-active-config</key>
                <data>
                D/8=
But :
Code:
csrutil status
System Integrity Protection status: unknown (Custom Configuration).

Configuration:
    Apple Internal: disabled
    Kext Signing: disabled
    Filesystem Protections: disabled
    Debugging Restrictions: disabled
    DTrace Restrictions: enabled
    NVRAM Protections: enabled
    BaseSystem Verification: disabled
And:
Code:
csrutil authenticated-root
Authenticated Root status: disabled
Why is NVRAM Protections: enabled?
Disabled SIP in Recovery
Снимок экрана 2020-07-27 в 21.20.06.png
 
Last edited:
Code:
Thanks for that advice. It should have worked. HOWEVER when I correct that

david@Davids-QuadPro-4 ~ % sudo mv ~/Users/david/Downloads/.disk_label.contentDetails /System/Volumes/Preboot/1B08D35B-CCDB-4E60-8BCB-B5A71C2F9054/System/Library/CoreServices/.disk_label.contentDetails

Password:

mv: /Users/david/Users/david/Downloads/.disk_label.contentDetails: No such file or directory

It returns in this line /Users/david/Users/david/ inserting "Users/david/" twice and of course there is no file or directory to move

Do you have any idea what am I not getting right here?


Despite this the Boot Selector has started to show as "BigSur" and no longer "Preboot".

Figure???
Show me what you have screenshot

Screenshot 2020-07-27 at 21.30.51.png
 
Last edited:
Kepler still runs fine in BigSur
[automerge]1595868809[/automerge]
I have csr-active-config:
Code:
<key>csr-active-config</key>
                <data>
                D/8=
But :
Code:
csrutil status
System Integrity Protection status: unknown (Custom Configuration).

Configuration:
    Apple Internal: disabled
    Kext Signing: disabled
    Filesystem Protections: disabled
    Debugging Restrictions: disabled
    DTrace Restrictions: enabled
    NVRAM Protections: enabled
    BaseSystem Verification: disabled
And:
Code:
csrutil authenticated-root
Authenticated Root status: disabled
Why is NVRAM Protections: enabled?

I also had "SIP as Custom Configuration", in my case was due to SIPManager.kext installed on LE or SLE, then I removed it and I can normally disable SIP, but another case is that you have a patched boot.efi (non apple stock) installed in these paths:

/ Preboot UUID /System/Library/CoreServices/

/System/Library/CoreServices/

/usr/standalone/i386/

in those paths you should instead use stock apple boot.efi (from the macOS you are using) if you want to disable SIP correctly with "csrutil disable", after those you can have this output: System Integrity Protection status: disabled.
 
that is weird. And this?:
Code:
nvram 7C436110-AB2A-4BBB-A880-FE41995C9F82:csr-active-config| awk '{split($NF,chars,""); for(n=0;n<256;n++){ord[sprintf("%c",n)]=n}; i=1; j=0; while(i<=length($NF)){if(substr($NF,i,1)=="%"){printf "%s",toupper(substr($NF,i+1,2)); i=i+2} else {printf "%x",toupper(ord[chars[i]])} j=j+2; i++} print("")}'
 
that is weird. And this?:
Code:
nvram 7C436110-AB2A-4BBB-A880-FE41995C9F82:csr-active-config| awk '{split($NF,chars,""); for(n=0;n<256;n++){ord[sprintf("%c",n)]=n}; i=1; j=0; while(i<=length($NF)){if(substr($NF,i,1)=="%"){printf "%s",toupper(substr($NF,i+1,2)); i=i+2} else {printf "%x",toupper(ord[chars[i]])} j=j+2; i++} print("")}'
😄
Do as I have on screenshot, delete from config and disable SIP in Recovery
 
😄
Do as I have on screenshot, delete from config and disable SIP in Recovery
I changed:
Code:
<key>csr-active-config</key>
                <data>
                dwgAAA==

Code:
nvram 7C436110-AB2A-4BBB-A880-FE41995C9F82:csr-active-config
7C436110-AB2A-4BBB-A880-FE41995C9F82:csr-active-config    w%08%00%00
Code:
csrutil status                                                                                                        
System Integrity Protection status: disabled.
Also Preboot at the OC boot screen now shows the disk name as it appears in the Disk Utility instead of Preboot without any interaction from me. So in HEX it is 77080000, which makes no sense when converted to binary so Dortania manual is not correct:
And while not an issue, SIP has now gained a new bit so to properly disable SIP you need to set csr-active-config to FF0F0000. See here for more info: Disabling SIP
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.