Jump to content

Clover General discussion


ErmaC
29,866 posts in this topic

Recommended Posts

You need to remove the volume from GUI/Hide and add the Hidden=true key to the custom entry:

1:628  0:000  Custom entry 4 Title:"Recovery" FullTitle:"macOS High Sierra Recovery" Path:"\F9BF98CF-EB1D-42CF-AD05-11BFFD31250F\boot.efi" Type:10 Flags:0x6 matching Volume:"CF98BFF91DEBCF42AD0511BFFD31250F"
...
1:628  0:000      Checking volume "Recovery" (PciRoot(0x0)\Pci(0x17,0x0)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,1EA38F75-7907-4C2A-98A5-418D5602C373,0x64028,0xDE47A30)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,CF98BFF91DEBCF42AD0511BFFD31250F)) ... skipped because volume is hidden

EDIT: Also you don't need title and full title. FullTitle will replace the whole name of the entry, title only replaces the name of the volume, so it will say boot whatever from renamed.

Link to comment
Share on other sites

You need to remove the volume from GUI/Hide and add the Hidden=true key to the custom entry:

1:628  0:000  Custom entry 4 Title:"Recovery" FullTitle:"macOS High Sierra Recovery" Path:"\F9BF98CF-EB1D-42CF-AD05-11BFFD31250F\boot.efi" Type:10 Flags:0x6 matching Volume:"CF98BFF91DEBCF42AD0511BFFD31250F"
...
1:628  0:000      Checking volume "Recovery" (PciRoot(0x0)\Pci(0x17,0x0)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,1EA38F75-7907-4C2A-98A5-418D5602C373,0x64028,0xDE47A30)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,CF98BFF91DEBCF42AD0511BFFD31250F)) ... skipped because volume is hidden

EDIT: Also you don't need title and full title. FullTitle will replace the whole name of the entry, title only replaces the name of the volume, so it will say boot whatever from renamed.
The entry I'm hiding is the preboot volume.

 

Sent from my SM-G930F using Tapatalk

Link to comment
Share on other sites

Can you help again please, having trouble renaming macOS High Sierra recovery partition.

 

The entry I'm hiding is the preboot volume.

 

What? It clearly shows that you are hiding both volumes through GUI/Hide:

1:548  0:000      Checking volume "Preboot" (PciRoot(0x0)\Pci(0x17,0x0)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,1EA38F75-7907-4C2A-98A5-418D5602C373,0x64028,0xDE47A30)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,C7FE1592F829BA4BAFBF6C39E05C8616)) ... skipped because volume is hidden
...
1:548  0:000      Checking volume "Recovery" (PciRoot(0x0)\Pci(0x17,0x0)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,1EA38F75-7907-4C2A-98A5-418D5602C373,0x64028,0xDE47A30)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,CF98BFF91DEBCF42AD0511BFFD31250F)) ... skipped because volume is hidden

So unsure what you mean.

Link to comment
Share on other sites

What? It clearly shows that you are hiding both volumes through GUI/Hide:

1:548  0:000      Checking volume "Preboot" (PciRoot(0x0)\Pci(0x17,0x0)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,1EA38F75-7907-4C2A-98A5-418D5602C373,0x64028,0xDE47A30)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,C7FE1592F829BA4BAFBF6C39E05C8616)) ... skipped because volume is hidden
...
1:548  0:000      Checking volume "Recovery" (PciRoot(0x0)\Pci(0x17,0x0)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,1EA38F75-7907-4C2A-98A5-418D5602C373,0x64028,0xDE47A30)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,CF98BFF91DEBCF42AD0511BFFD31250F)) ... skipped because volume is hidden

So unsure what you mean.

I'd like to rename High Sierra Recovery and hide PreBoot, That is the goal.

config.plist.zip

bootlog.log.txt

bdmesg.zip

diskutil list.zip

Link to comment
Share on other sites

Unsure why you removed the custom entry, as I said all you had to do was remove the volume identifier from GUI/Hide and add the Hidden=true key to the entry to keep it hidden by default. Whatever custom entry you had before put it back and then your entry will be renamed, just don't hide it with GUI/Hide.

Link to comment
Share on other sites

Unsure why you removed the custom entry, as I said all you had to do was remove the volume identifier from GUI/Hide and add the Hidden=true key to the entry to keep it hidden by default. Whatever custom entry you had before put it back and then your entry will be renamed, just don't hide it with GUI/Hide.

I was hiding the preboot volume.

I removed custom entries to help make it easier to get help in renaming high Sierra recovery.

 

Sent from my SM-G930F using Tapatalk

Link to comment
Share on other sites

Once again, the log clearly showed you were hiding both volumes and that the custom entry was perfectly fine at finding the volume, you just had it hidden:

1:548  0:000      Checking volume "Preboot" ... skipped because volume is hidden
...
1:548  0:000      Checking volume "Recovery" ... skipped because volume is hidden

So don't use GUI/Hide, put the custom entry back and use Hidden=true key in custom entry to hide it instead. Not sure why when I gave you the solution that you were asking for, you did not do that and instead disagreed. The log is evidence that you are mistaken about which volumes you were hiding.

Link to comment
Share on other sites

Looks like that's what you wanted except the reason why you still have Preboot is because you didn't setup that custom entry correctly, you put the volume in Path so you end up with:

1:121  0:000  Custom entry 0 FullTitle:"macOS High Sierra" Path:"\System\Library\CoreServices\boot.efi" Type:1 Flags:0x6 matching Volume:"1EA38F75-7907-4C2A-98A5-418D5602C373"
...
1:122  0:000      Checking volume "macOS High Sierra" (PciRoot(0x0)\Pci(0x17,0x0)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,1EA38F75-7907-4C2A-98A5-418D5602C373,0x64028,0xDE47A30)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,EEB8C5E7FDBC1732A7CE7AD9321F9245)) ... match!
...
1:213  0:000  Custom entry 1 Title:"Recovery" FullTitle:"macOS High Sierra Recovery" Path:"\E7C5B8EE-BCFD-3217-A7CE-7AD9321F9245\boot.efi" Type:10 Flags:0x6 matching Volume:"CF98BFF91DEBCF42AD0511BFFD31250F"
...
1:213  0:000      Checking volume "Recovery" (PciRoot(0x0)\Pci(0x17,0x0)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,1EA38F75-7907-4C2A-98A5-418D5602C373,0x64028,0xDE47A30)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,CF98BFF91DEBCF42AD0511BFFD31250F)) ... match!
...
1:226  0:000  Custom entry 2 skipped because it is hidden.
...
1:317  0:036  - [05]: 'Preboot'
1:323  0:005          AddLoaderEntry for Volume Name=Preboot
1:323  0:000      Not match custom entry 2: Path: not match, VolumeType: match, Type: not match
...
1:376  0:046  - [06]: 'macOS High Sierra'
1:386  0:009          AddLoaderEntry for Volume Name=macOS High Sierra
1:386  0:000       skipped because path `PciRoot(0x0)\Pci(0x17,0x0)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,1EA38F75-7907-4C2A-98A5-418D5602C373,0x64028,0xDE47A30)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,EEB8C5E7FDBC1732A7CE7AD9321F9245)\System\Library\CoreServices\boot.efii` already exists for another entry!
1:453  0:067  - [07]: 'Recovery'
1:458  0:004          AddLoaderEntry for Volume Name=Recovery
1:458  0:000       skipped because path `PciRoot(0x0)\Pci(0x17,0x0)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,1EA38F75-7907-4C2A-98A5-418D5602C373,0x64028,0xDE47A30)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,CF98BFF91DEBCF42AD0511BFFD31250F)\E7C5B8EE-BCFD-3217-A7CE-7AD9321F9245\boot.efii` already exists for another entry!
Link to comment
Share on other sites

 

Looks like that's what you wanted except the reason why you still have Preboot is because you didn't setup that custom entry correctly, you put the volume in Path so you end up with:

1:121  0:000  Custom entry 0 FullTitle:"macOS High Sierra" Path:"\System\Library\CoreServices\boot.efi" Type:1 Flags:0x6 matching Volume:"1EA38F75-7907-4C2A-98A5-418D5602C373"
...
1:122  0:000      Checking volume "macOS High Sierra" (PciRoot(0x0)\Pci(0x17,0x0)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,1EA38F75-7907-4C2A-98A5-418D5602C373,0x64028,0xDE47A30)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,EEB8C5E7FDBC1732A7CE7AD9321F9245)) ... match!
...
1:213  0:000  Custom entry 1 Title:"Recovery" FullTitle:"macOS High Sierra Recovery" Path:"\E7C5B8EE-BCFD-3217-A7CE-7AD9321F9245\boot.efi" Type:10 Flags:0x6 matching Volume:"CF98BFF91DEBCF42AD0511BFFD31250F"
...
1:213  0:000      Checking volume "Recovery" (PciRoot(0x0)\Pci(0x17,0x0)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,1EA38F75-7907-4C2A-98A5-418D5602C373,0x64028,0xDE47A30)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,CF98BFF91DEBCF42AD0511BFFD31250F)) ... match!
...
1:226  0:000  Custom entry 2 skipped because it is hidden.
...
1:317  0:036  - [05]: 'Preboot'
1:323  0:005          AddLoaderEntry for Volume Name=Preboot
1:323  0:000      Not match custom entry 2: Path: not match, VolumeType: match, Type: not match
...
1:376  0:046  - [06]: 'macOS High Sierra'
1:386  0:009          AddLoaderEntry for Volume Name=macOS High Sierra
1:386  0:000       skipped because path `PciRoot(0x0)\Pci(0x17,0x0)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,1EA38F75-7907-4C2A-98A5-418D5602C373,0x64028,0xDE47A30)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,EEB8C5E7FDBC1732A7CE7AD9321F9245)\System\Library\CoreServices\boot.efii` already exists for another entry!
1:453  0:067  - [07]: 'Recovery'
1:458  0:004          AddLoaderEntry for Volume Name=Recovery
1:458  0:000       skipped because path `PciRoot(0x0)\Pci(0x17,0x0)\Sata(0x1,0xFFFF,0x0)\HD(2,GPT,1EA38F75-7907-4C2A-98A5-418D5602C373,0x64028,0xDE47A30)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,CF98BFF91DEBCF42AD0511BFFD31250F)\E7C5B8EE-BCFD-3217-A7CE-7AD9321F9245\boot.efii` already exists for another entry!

Even if i put the id in volume its still there.

bdmesg.zip

bootlog.log.txt

config.plist.zip

diskutil list.zip

Link to comment
Share on other sites

Still not a match because of the type, probably need to set to OSX?

1:322  0:036  - [05]: 'Preboot'
1:328  0:005          AddLoaderEntry for Volume Name=Preboot
1:328  0:000      Not match custom entry 2: Volume: match, VolumeType: match, Type: not match

EDIT: Maybe removing type also matches, unsure.

EDIT2: You don't have a path for the entry either.

Link to comment
Share on other sites

Still not a match because of the type, probably need to set to OSX?

1:322  0:036  - [05]: 'Preboot'
1:328  0:005          AddLoaderEntry for Volume Name=Preboot
1:328  0:000      Not match custom entry 2: Volume: match, VolumeType: match, Type: not match

EDIT: Maybe removing type also matches, unsure.

EDIT2: You don't have a path for the entry either.

I have tried all sorts of Paths. Can you tell from my log the correct one?

I'll try removing / changing type and see how that goes for now.

Link to comment
Share on other sites

<dict>
  <key>Disabled</key>
  <false/>
  <key>FullTitle</key>
  <string>macOS High Sierra PreBoot</string>
  <key>Hidden</key>
  <true/>
  <key>Ignore</key>
  <false/>
  <key>NoCaches</key>
  <false/>
  <key>Type</key>
  <string>OSXRecovery</string>
  <key>Volume</key>
  <string>C7FE1592F829BA4BAFBF6C39E05C8616</string>
  <key>VolumeType</key>
  <string>Internal</string>
</dict>

 

Heres from sources:

AddLoaderEntry(APFSFVBootPath, NULL, L"FileVault Prebooter", Volume, NULL, OSTYPE_OSX, 0);
  • Like 2
Link to comment
Share on other sites

 

<dict>

  <key>Disabled</key>

  <false/>

  <key>FullTitle</key>

  <string>macOS High Sierra PreBoot</string>

  <key>Hidden</key>

  <true/>

  <key>Ignore</key>

  <false/>

  <key>NoCaches</key>

  <false/>

  <key>Type</key>

  <string>OSXRecovery</string>

  <key>Volume</key>

  <string>C7FE1592F829BA4BAFBF6C39E05C8616</string>

  <key>VolumeType</key>

  <string>Internal</string>

</dict>

 

Heres from sources:

AddLoaderEntry(APFSFVBootPath, NULL, L"FileVault Prebooter", Volume, NULL, OSTYPE_OSX, 0);

I tried that and it still appears on Clover boot screen.

bootlog.log.txt

config.plist.zip

Link to comment
Share on other sites

No man, please try to change type OSXRecovery to OSX for preboot

 

Look the log again:

 

1:342  0:037  - [05]: 'Preboot'
1:348  0:005          AddLoaderEntry for Volume Name=Preboot
1:348  0:000      Not match custom entry 2: Volume: match, VolumeType: match, Type: not match

 

<dict>
  <key>Disabled</key>
  <false/>
  <key>FullTitle</key>
  <string>macOS High Sierra PreBoot</string>
  <key>Hidden</key>
  <true/>
  <key>Ignore</key>
  <false/>
  <key>NoCaches</key>
  <false/>
  <key>Type</key>
  <string>OSXRecovery</string>

  <key>Type</key>
  <string>OSX</string>

  <key>Volume</key>
  <string>C7FE1592F829BA4BAFBF6C39E05C8616</string>
  <key>VolumeType</key>
  <string>Internal</string>
</dict>

Edited by cecekpawon
  • Like 1
Link to comment
Share on other sites

No man, please try to change type OSXRecovery to OSX for preboot

 

Look the log again:

 

1:342  0:037  - [05]: 'Preboot'

1:348  0:005          AddLoaderEntry for Volume Name=Preboot

1:348  0:000      Not match custom entry 2: Volume: match, VolumeType: match, Type: not match

 

<dict>

  <key>Disabled</key>

  <false/>

  <key>FullTitle</key>

  <string>macOS High Sierra PreBoot</string>

  <key>Hidden</key>

  <true/>

  <key>Ignore</key>

  <false/>

  <key>NoCaches</key>

  <false/>

  <key>Type</key>

  <string>OSXRecovery</string>

  <key>Type</key>

  <string>OSX</string>

  <key>Volume</key>

  <string>C7FE1592F829BA4BAFBF6C39E05C8616</string>

  <key>VolumeType</key>

  <string>Internal</string>

</dict>

That did the trick.

Thank you.

  • Like 1
Link to comment
Share on other sites

hey 

it's possible to implement ApplePartitionInfo protocol to clover?

I remember that you PM me about this question.

Of course it is possible, but there is no need to do this, because we already use refit volume handler inside Clover. I'm working on own implementation of APFS jump start driver. Just wait a bit. I have a lot of work and all of my contribution in Clover just a hobby.

Currently, I am not satisfied with my algorithm for searching and reading "JSDR" block via EFI_DISK_IO_PROTOCOL, I'll need to do it much more accurate.

For now, I'm working on generating

"NXSB - > apfs offset id -> blockmap"

"blockmap -> apfs offsetid -> block number"

"block number -> APSB -> root"

structure to find JSDR faster inside apfs partition superblocks (apsb).

If someone interesting in this, I can post my full research with descriptions how APFS works, and how Apple loads driver from APFS_EFI_Boot_Record in UEFI.

  • Like 1
Link to comment
Share on other sites

Was wondering if anyone is having the same issue. I upgraded Clover to v2.4_r4114 with the following options

 

- Install UEFI booting only, Install Clover in the ESP

- Themes > Embedded

- Driver64UEFI > OsxAptioFixDrv-64

- Install RC scripts on target volume

 

I have a weird issue with the Clover boot entries where the HFS+ partitions for Mac and the Recovery have no icons and just internal hfs displays as the text. I am on the 10.13 beta but r4110_Slim didn't have the issue, is it something with the embedded theme or does all the themes have this issue with this version?

 

Edit: I did answer my question as using the Clover Theme Manager with bootcamp doesn't have the icon issue so it's a bug with embedded theme.

Link to comment
Share on other sites

I remember that you PM me about this question.

Of course it is possible, but there is no need to do this, because we already use refit volume handler inside Clover. I'm working on own implementation of APFS jump start driver. Just wait a bit. I have a lot of work and all of my contribution in Clover just a hobby.

Currently, I am not satisfied with my algorithm for searching and reading "JSDR" block via EFI_DISK_IO_PROTOCOL, I'll need to do it much more accurate.

For now, I'm working on generating

"NXSB - > apfs offset id -> blockmap"

"blockmap -> apfs offsetid -> block number"

"block number -> APSB -> root"

structure to find JSDR faster inside apfs partition superblocks (apsb).

If someone interesting in this, I can post my full research with descriptions how APFS works, and how Apple loads driver from APFS_EFI_Boot_Record in UEFI.

Thank you and good luck with it ^_^

Link to comment
Share on other sites

Of course it is possible, but there is no need to do this, because we already use refit volume handler inside Clover.

Performance and 'safety' (no way APFS tries to attach to non-APFS volumes) are reasons. ;)

 

I'm working on own implementation of APFS jump start driver.

 

Why? Imo it's nothing but a development aid that will disappear not too far in the future... Any reason using unmodded won't work if the protocol is implemented?
Link to comment
Share on other sites

×
×
  • Create New...