Jump to content
8755 posts in this topic

Recommended Posts

19 hours ago, anmool said:

 

i have also this issue 

this issue is not related of openCanopy

when i compiled with latest commit changes  and add Bootprotect to config to None then completely disappear my windows partition from boot Menu

this is behavior of bootstrap.efi and bootprotect

@vit9696 are we missing something else?

Same problem here. With last commit my Windows partition disappear from bootpicker.

 

Edit: I just find out, that with DEBUG version of OpenCore this problem is not present.

Edited by darthsian
On 4/24/2020 at 8:24 PM, MacNB said:

 

Yes you can.

After vit9696's explanation, Windows partition's icon can be displayed too.

 

Here's what mine looks like:

 

IMG_1712.thumb.jpg.c285963dff188d4da7e8e38c672b1db2.jpg

 

See Configuration.pdf Section 8.3 (5) - PickerAttributes.

It'd early days for OpenCanopy (pre-release) so not all features are implemented and/or working.

 

This is what I did:

1. Set PickerAttributes=1

2. Create your icons. I used Image2icon App and rename it .VolumeIcon.icns

3. For APFS volumes, I had to mount the preboot partition (diskutil mount diskXsy) and copy the .VolumeIcon.icns to the root of the preboot partition. Unmount the partition (diskutil unmount diskXsy)

4. For HFS volume, just copy the .VolumeIcon.icns to the root of the volume 

5. For Windows, copy the .VolumeIcon.icns file to the root of EFI partition from where Windows boots. 

 

YMMV

 

EDIT:

Here's what preboot looks like:


% ls -ail /volumes/preboot
total 10432
    2 drwxr-xr-x@  5 root  wheel      160 11 Apr 15:45 .
24273 drwxr-xr-x  10 root  wheel      320 24 Apr 12:03 ..
  153 d-wx--x--t   4 root  wheel      128 24 Feb 18:16 .Trashes
 1236 -rw-r--r--@  1 root  wheel  2193241 14 Apr 19:00 .Volumeicon.icns
   16 drwxr-xr-x   7 root  wheel      224 22 Nov  2018 E279060B-74D4-3B85-A4C4-6835F84A3C7A
% 

Here's what the EFI folder (where Windows is booted from):


% ls -ail /volumes/efi
total 5184
        2 drwxrwxrwx@  1 MacNB  staff     1024 24 Apr 12:43 .
    24273 drwxr-xr-x  10 root    wheel      320 24 Apr 13:56 ..
   193933 drwxrwxrwx   1 MacNB  staff      512 16 Dec  2017 .TemporaryItems
        3 drwxrwxrwx@  1 MacNB  staff      512 24 Apr 13:56 .Trashes
    26897 -rwxrwxrwx@  1 MacNB  staff  2192190 14 Apr 21:39 .VolumeIcon.icns
        4 -rwxrwxrwx   1 MacNB  staff     4096  2 Dec  2016 ._.Trashes
    26889 -rwxrwxrwx   1 MacNB  staff     4096 24 Apr 12:43 ._.VolumeIcon.icns
    26887 drwxrwxrwx   1 MacNB  staff      512 24 Apr 13:56 .fseventsd
999999999 -rwxrwxrwx   1 MacNB  staff        0  2 Oct  2017 .metadata_never_index
     1530 drwxrwxrwx   1 MacNB  staff     1024  7 Nov  2018 EFI
   332437 -rwxrwxrwx   1 MacNB  staff   450048 27 Sep  2017 boot
% 

 

Can you share your icons please. 

On 4/24/2020 at 8:24 PM, MacNB said:

 

Yes you can.

After vit9696's explanation, Windows partition's icon can be displayed too.

 

Here's what mine looks like:

 

IMG_1712.thumb.jpg.c285963dff188d4da7e8e38c672b1db2.jpg

 

See Configuration.pdf Section 8.3 (5) - PickerAttributes.

It'd early days for OpenCanopy (pre-release) so not all features are implemented and/or working.

 

This is what I did:

1. Set PickerAttributes=1

2. Create your icons. I used Image2icon App and rename it .VolumeIcon.icns

3. For APFS volumes, I had to mount the preboot partition (diskutil mount diskXsy) and copy the .VolumeIcon.icns to the root of the preboot partition. Unmount the partition (diskutil unmount diskXsy)

4. For HFS volume, just copy the .VolumeIcon.icns to the root of the volume 

5. For Windows, copy the .VolumeIcon.icns file to the root of EFI partition from where Windows boots. 

 

YMMV

 

EDIT:

Here's what preboot looks like:


% ls -ail /volumes/preboot
total 10432
    2 drwxr-xr-x@  5 root  wheel      160 11 Apr 15:45 .
24273 drwxr-xr-x  10 root  wheel      320 24 Apr 12:03 ..
  153 d-wx--x--t   4 root  wheel      128 24 Feb 18:16 .Trashes
 1236 -rw-r--r--@  1 root  wheel  2193241 14 Apr 19:00 .Volumeicon.icns
   16 drwxr-xr-x   7 root  wheel      224 22 Nov  2018 E279060B-74D4-3B85-A4C4-6835F84A3C7A
% 

Here's what the EFI folder (where Windows is booted from):


% ls -ail /volumes/efi
total 5184
        2 drwxrwxrwx@  1 MacNB  staff     1024 24 Apr 12:43 .
    24273 drwxr-xr-x  10 root    wheel      320 24 Apr 13:56 ..
   193933 drwxrwxrwx   1 MacNB  staff      512 16 Dec  2017 .TemporaryItems
        3 drwxrwxrwx@  1 MacNB  staff      512 24 Apr 13:56 .Trashes
    26897 -rwxrwxrwx@  1 MacNB  staff  2192190 14 Apr 21:39 .VolumeIcon.icns
        4 -rwxrwxrwx   1 MacNB  staff     4096  2 Dec  2016 ._.Trashes
    26889 -rwxrwxrwx   1 MacNB  staff     4096 24 Apr 12:43 ._.VolumeIcon.icns
    26887 drwxrwxrwx   1 MacNB  staff      512 24 Apr 13:56 .fseventsd
999999999 -rwxrwxrwx   1 MacNB  staff        0  2 Oct  2017 .metadata_never_index
     1530 drwxrwxrwx   1 MacNB  staff     1024  7 Nov  2018 EFI
   332437 -rwxrwxrwx   1 MacNB  staff   450048 27 Sep  2017 boot
% 

 

Can you share your icons please. 

On 4/25/2020 at 3:13 PM, SavageAUS said:

Can you share your icons please. 

 

Here you go.

INTG-120GB-icon-1024.icns

INTG-240GB-icon-1024.icns

MX300-ssd-1024.icns

Sabrent-1TB-NVMe.icns

 

Edit: Also added 256x256 low-res icons recommended by @Andrey1970

MacNB-Low-Res-256-Icons.zip

Edited by MacNB
Added low-res 256x256 icons
  • Like 1

From the Open Core Boot Menu, how do I set the picker to pick by default #2 instead of always defaulting to #1.   Also is there way to auto mount my EFI upon startup.  My Nvram is setup for legacy and is working.  I also enabled AllowSetDefault from Misc/Security and at boot menu Ctrl+Enter does nothing.  I also tried by going to  MacOS System preferences and startup disk but I get an message can't change startup disk to selected disk, nvram tool was unable to set a preference.

 

Find attached my config.plist

 

Thanks!

config.plist

6 hours ago, darthsian said:

Same problem here. With last commit my Windows partition disappear from bootpicker.

 

Edit: I just find out, that with DEBUG version of OpenCore this problem is not present.

Yes the debug version of OpenCore this problem is not present

windows partition is disappear in release version

19 minutes ago, Israel Fernandes said:

 

Try to replace Protocols by ProtocolOverrides (new sample.plist). There are some mistake line 48, 49, 50  about DropCPUpm.
 

Please compare your config.plist to the new sample.plist, for update and take a look to changelog file

 

Spoiler

<key>Block</key>
        <array>
            <dict>
                <key>All</key>
                <false/>
                <key>Comment</key>
                <string>Drop CpuPm</string>
                <key>Enabled</key>
                <false/>
                <key>OemTableId</key>
                <data>Q3B1UG0AAAA=</data>
                <key>TableLength</key>
                <integer>0</integer>
                <key>TableSignature</key>
                <data>NTM1MzQ0NTQ=</data>
            </dict>

 

Edited by Matgen84
16 minutes ago, ghost8282 said:

Try this

config.plist

Same error 

 

00:000 00:000 OC: Setting NVRAM 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:rtc-blacklist - Not Found
16:009 16:009 AAPL: [EB|#LOG:INIT] 2020-04-25T16:55:29
16:041 00:031 AAPL: [EB|#VERSION] bootbase.efi 422.100.16~12 (Official), built 2020-02-29T00:59:07-0800
16:067 00:026 AAPL: [EB|#BUILD] BUILD-INFO[310]:{"DisplayName":"bootbase.efi","DisplayVersion":"422.100.16~12","RecordUuid":"FD85960B-6B0F-41D5-8944-A1E80707DC36","BuildTime":"2020-02-29T00:59:07-0800","ProjectName":"efiboot","ProductName":"bootbase.efi","SourceVersion":"422.100.16","BuildVersion":"12","BuildConfiguration":"Release","BuildType":"Official"}
16:093 00:026 AAPL: [EB|`H:IS] Err(0xE) @ GV boot-signature
16:120 00:026 AAPL: [EB|`H:IS] Err(0xE) @ GV boot-image-key
16:146 00:025 AAPL: [EB|#H:IS] 0
16:171 00:025 AAPL: [EB|#WL:MODE] 0
16:198 00:026 AAPL: [EB|#CONFIG:SRC] <default>
16:229 00:030 AAPL: [EB|#CONFIG| 0] boot-save-log : 0x0000000000000002 (0x0000000000000002 < 0xFFFFFFFFFFFFFFFF) <default>
16:255 00:025 AAPL: [EB|#CONFIG| 1] wake-save-log : 0x0000000000000002 (0x0000000000000002 < 0x0000000000000002) <default>
16:280 00:025 AAPL: [EB|#CONFIG| 2] console       : 0x0000000000000001 (0x0000000000000001 < 0x0000000000000001) <default>
16:306 00:025 AAPL: [EB|#CONFIG| 3] serial        : 0x0000000000000000 (0x0000000000000000 < 0x0000000000000000) <default>
16:332 00:026 AAPL: [EB|#CONFIG| 4] embed-log-dt  : 0x0000000000000000 (0x0000000000000000 < 0x0000000000000000) <default>
16:358 00:025 AAPL: [EB|#CONFIG| 5] timestamps    : 0x0000000000000000 (0x0000000000000000 < 0xFFFFFFFFFFFFFFFF) <default>
16:384 00:025 AAPL: [EB|#CONFIG| 6] log-level     : 0x0000000000000001 (0x0000000000000001 & 0x0000000000000001) <default>
16:410 00:025 AAPL: [EB|#CONFIG| 7] breakpoint    : 0x0000000000000000 (0x0000000000000000 & 0x0000000000000000) <default>
16:436 00:026 AAPL: [EB|#CONFIG| 8] kc-read-size  : 0x0000000000100000 (0x0000000000100000 < 0xFFFFFFFFFFFFFFFF) <default>
16:463 00:026 AAPL: [EB|#WL|0] 0x01 0x01   0 0x00
16:489 00:026 AAPL: [EB|#BRD:NV] Mac-FC02E91DDD3FA6A4
16:515 00:026 AAPL: [EB|#WL|1] 0x01 0x01   2 0x00
16:542 00:026 AAPL: [EB|`BST:IDT] {
16:568 00:026 AAPL: [EB|`BST:IDT] }
16:595 00:026 AAPL: [EB|#WL|2] 0x01 0x01   3 0x00
16:621 00:025 AAPL: [EB|#WL|3] 0x01 0x01   4 0x00
16:647 00:026 AAPL: [EB|#BRD:NV] Mac-FC02E91DDD3FA6A4
16:673 00:026 AAPL: [EB|#WL|4] 0x01 0x01   5 0x00
16:699 00:026 AAPL: [EB|`H:CHK] BM: 0x0000000000000000
16:726 00:026 AAPL: [EB|`H:CHK] Err(0xE) @ GV boot-signature
16:752 00:025 AAPL: [EB|#WL|5] 0x01 0x01  23 0x0E
16:905 00:153 AAPL: [EB|`H:CPM] Err(0xE), (24, 24) @ GV Persistent-memory-note
16:933 00:027 AAPL: [EB|`SB:EN] Err(0xE) @ LocP 24B73556-2197-4702-82A8-3E1337DAFBF2
16:960 00:026 AAPL: [EB|#LIMG:DP] Acpi(PNP0A03,0)/Pci(1F|2)/SATA(1,FFFF)/HD(Part2,Sig70F52C85-761B-45A3-A1F3-2E8C2EBD7D2E)
16:986 00:025 AAPL: [EB|#LIMG:FP] \System\Library\CoreServices\boot.efi
17:012 00:025 AAPL: [EB|#LIMG:OPT] ()
17:037 00:025 AAPL: [EB|#RPS] R?0 P?0 S?0
17:068 00:030 AAPL: [EB|`OPT:LXF] 'LF (\\System\\Library\\CoreServices\\com.apple.Boot.plist)
17:094 00:026 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: \\System\\Library\\CoreServices\\com.apple.Boot.plist, DP: 0
17:120 00:026 AAPL: [EB|`LD:OFS] Err(0xE) @ OPEN (\\System\\Library\\CoreServices\\com.apple.Boot.plist)
17:146 00:025 AAPL: [EB|`OPT:LXF] Err(0xE) @ 'LF
17:172 00:025 AAPL: [EB|`OPT:LXF] 'LF (Library\\Preferences\\SystemConfiguration\\com.apple.Boot.plist)
17:198 00:025 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: Library\\Preferences\\SystemConfiguration\\com.apple.Boot.plist, DP: 0
17:226 00:027 AAPL: [EB:#KF] (root-dmg=file:///Install%20macOS%20Catalina.app/Contents/SharedSupport/BaseSystem.dmg)
17:257 00:031 AAPL: [EB|#MBA:CL] ()
17:283 00:026 AAPL: [EB|#MBA:NV] (debug=0x100 keepsyms=1 agdpmod=pikera slide=97 )
17:309 00:025 AAPL: [EB|#MBA:KF] (root-dmg=file:///Install%20macOS%20Catalina.app/Contents/SharedSupport/BaseSystem.dmg)
17:335 00:026 AAPL: [EB|#MBA:OUT] (debug=0x100 keepsyms=1 agdpmod=pikera slide=97  root-dmg=file:///Install%20macOS%20Catalina.app/Contents/SharedSupport/BaseSystem.dmg)
17:361 00:026 AAPL: [EB|`CSR:S] csr-active-config = 0x000003E7
17:387 00:025 AAPL: [EB|#OPT:BM] 0x4080
17:413 00:026 AAPL: [EB|`OPT:LXF] 'LF (\\System\\Library\\CoreServices\\PlatformSupport.plist)
17:439 00:026 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: \\System\\Library\\CoreServices\\PlatformSupport.plist, DP: 0
17:468 00:028 AAPL: [EB|#B:VAw]
17:494 00:026 AAPL: [EB|`P:DCCPR] Err(0xE) @ GV AAPL,CoProcessorReboot
17:521 00:026 AAPL: [EB|`P:DCMOSP] Err(0xE) @ GV AAPL,PanicInfo0000 (0)
17:547 00:026 AAPL: [EB|`CS:CSKSD] {
17:573 00:026 AAPL: [EB|`CS:CSKSD] Err(0xE) @ GV 8D63D4FE-BD3C-4AAD-881D-86FD974BC1DF:boot-info-payload
17:600 00:026 AAPL: [EB|`G:CS] } Ok(0)
17:631 00:031 AAPL: [EB|`LD:LF] FIO: 0, DIR: 1, P: <null string>, DP: 1
17:661 00:029 AAPL: [EB|`B:SBS] SZ: 617016
17:690 00:029 AAPL: [EB|#B:SHA] 103ea7708e088c76d181d2ec1cc2e188f42c5b53
17:717 00:026 AAPL: [EB|`WL:PWLFNV] Err(0xE) @ GV wake-failure
17:743 00:026 AAPL: [EB|`WL:DT] Err(0xE) @ WL:PWLFNV
17:769 00:026 AAPL: [EB|#WL:DT] 0x42 0x5B 198 0x68
17:795 00:026 AAPL: [EB|`LD:LKC] BPDK -> (System\Library\PrelinkedKernels\prelinkedkernel.development)
17:821 00:026 AAPL: [EB|`LD:OFS] Err(0xE) @ OPEN (System\\Library\\PrelinkedKernels\\prelinkedkernel.development)
17:852 00:030 AAPL: [EB|`LD:LKC] BPDK,!R -> (System\Library\PrelinkedKernels\prelinkedkernel)
19:393 01:540 OC: Prelink injection SMCProcessor.kext () - Invalid Parameter
19:433 00:040 OC: Prelink injection SMCSuperIO.kext () - Invalid Parameter
19:526 00:092 AAPL: [EB|`LD:LKFS] } Ok(0)
19:552 00:026 AAPL: [EB|`LD:LKC] } Ok(0)
19:579 00:027 AAPL: [EB|#FWFM] 0xFF1FFF3F
19:605 00:026 AAPL: [EB|#FWFT] 0xE00DE137
19:631 00:025 AAPL: [EB|#CSR:OUT] 0x000003E7
19:661 00:030 AAPL: [EB|`BST:FBS] {
19:689 00:027 AAPL: [EB|`BST:FBS] BA.ADSZ: 0
19:715 00:026 AAPL: [EB|`BST:FBS] BA.KSDSZ: 0
19:741 00:026 AAPL: [EB|`B:WFDW] Err(0xE), 0 @ LocHB 71B4903C-14EC-42C4-BDC6-CE1449930E49
19:767 00:026 AAPL: [EB|#LOG:DT] 2020-04-25T16:55:33
19:794 00:026 AAPL: [EB|#LOG:EXITBS:START] 2020-04-25T16:55:33
 

2 hours ago, Andrey1970 said:

Your size 512x512 and 1024x1024

Icons shall be the size 128x128 and 256x256

 

Image2Icon generates standard Apple Icon Image format.

Apple Icon format supports a wide variety of icon types ranging from tiny 16-by-16-pixel icons to the 1024-by-1024 ones for Retina-equipped Macs. If you open one of the ICNS files I posted, it contains all the sizes from 16x16 up to 1024x1024 (including 128x128 and 256x256).

 

OpenCanopy seems to read those ICNS files and display them correctly.

 

So, is there a problem (apart from the file size in my EFI partition) ?

Edited by MacNB
typo
12 minutes ago, MacNB said:

 

Image2Icon generates standard Apple Icon Image format.

Apple Icon format supports a wide variety of icon types ranging from tiny 16-by-16-pixel icons to the 1024-by-1024 ones for Retina-equipped Macs. If you open one of the ICNS files I posted, it contains all the sizes form 16x16 up to 1024x1024 (including 128x128 and 256x256).

 

OpenCanopy seems to read those ICNS files and display them correctly.

 

So, is there a problem (apart from the file size in my EFI partition) ?

 

You do the excess sizes. Use icnspack utility from OpenCore.

icnspack icon1x.png icon2x.png icon.icns

 

Edited by Andrey1970
×
×
  • Create New...