Jump to content
5 posts in this topic

Recommended Posts

On a system with macOS, Windows and Linux on 3 separate disks, I've noticed this regarding the .contentVisibility file:

  • Ubuntu EFI -> .contentVisibility inside the /boot/efi/EFI/BOOT and /boot/efi/EFI/ubuntu folders. Contents of .contentVisibility:
    • Disabled: Linux is always shown in the OpenCore picker (doesn't behave as Disabled) and its EFI partition remains hidden.
    • Auxiliary: Linux (doesn't behave as Auxiliary) and its EFI are always shown.
  • Windows EFI -> .contentVisibility inside the EFI/EFI/Boot and EFI/EFI/Microsoft/Boot folders. Contents of .contentVisibility:
    • Disabled: Neither Windows nor its EFI partition are shown in the OpenCore picker
    • Auxiliary: Windows is shown after pressing spacebar but its EFI remains hidden.

It's like on Windows .contentVisibility behaves as expected but on Linux it doesn't.


Has anyone tried this or have any ideas to get the linux entry to behave like Auxiliary?

  • Like 1

@miliuco, I use a fundamentally different scheme for booting operating systems. (I also have Linux and Windows in addition to MacOS) on my computer. OpenCore - only for macOS booting. Other operating systems are booted (if necessary) by selecting the appropriate disk in the motherboard BIOS menu. Works flawlessly.

Edited by verdazil
  • Like 1
2 hours ago, miliuco said:

On a system with macOS, Windows and Linux on 3 separate disks, I've noticed this regarding the .contentVisibility file:

  • Ubuntu EFI -> .contentVisibility inside the /boot/efi/EFI/BOOT and /boot/efi/EFI/ubuntu folders. Contents of .contentVisibility:
    • Disabled: Linux is always shown in the OpenCore picker (doesn't behave as Disabled) and its EFI partition remains hidden.
    • Auxiliary: Linux (doesn't behave as Auxiliary) and its EFI are always shown.
  • Windows EFI -> .contentVisibility inside the EFI/EFI/Boot and EFI/EFI/Microsoft/Boot folders. Contents of .contentVisibility:
    • Disabled: Neither Windows nor its EFI partition are shown in the OpenCore picker
    • Auxiliary: Windows is shown after pressing spacebar but its EFI remains hidden.

It's like on Windows .contentVisibility behaves as expected but on Linux it doesn't.


Has anyone tried this or have any ideas to get the linux entry to behave like Auxiliary?

I have a video on my channel but it is in Spanish where I explain this and in my case it also worked in Linux Mint as in Windows closely linked to the scanning policy

no problem being able to publish it here but it is in Spanish

  • Like 1

What I was looking for was that the Linux entry would not be shown by default in the picker but would be displayed after pressing space bar. Since the .contentVisibility method doesn't work for me I mixed 2 settings, adding custom entry and ScanPolicy (thanks @kaoskinkae for reminding me of this property).

  • Custom entry: I added the Linux entry in config.plist. Custom entries are shown after the macOS entries (which I like) and they can be marked as Auxiliary (which is what I'm looking for)
     
    		<key>Entries</key>
    		<array>
    			<dict>
    				<key>Arguments</key>
    				<string></string>
    				<key>Auxiliary</key>
    				<true/>
    				<key>Comment</key>
    				<string>Ubuntu</string>
    				<key>Enabled</key>
    				<true/>
    				<key>Flavour</key>
    				<string>Ubuntu:Linux</string>
    				<key>Name</key>
    				<string>Ubuntu</string>
    				<key>Path</key>
    				<string>PciRoot(0x0)/Pci(0x17,0x0)/Sata(0x1,0xFFFF,0x0)/HD(1,GPT,80670529-BDD3-4330-A38C-B2CF5C80BCD5,0x800,0x219800)/\EFI\ubuntu\grubx64.EFI</string>
    				<key>TextMode</key>
    				<false/>
    			</dict>

     

  • ScanPolicy: I deselected the Linux options so that Linux systems are not detected automatically (they are not shown in the picker).
     
    Spoiler

    ScanPolicy.png.5d5cf40981fbf1b0bb26a80de924c28c.png

This way I get the Linux entry to be Auxiliary (seen after space bar) and it is also behind macOS).

 

Spoiler

 

 

 

×
×
  • Create New...