- Joined
- Dec 10, 2010
- Messages
- 1,378
- Motherboard
- Gigabyte Z390 Aorus Elite
- CPU
- i9-9900K
- Graphics
- RX 6600 XT
- Mobile Phone
Note: this thread is related to a previous thread:
[HOW TO] Windows entry after macOS in the OpenCore menu
There is a way to prevent the Windows entry from being the first in the OpenCore picker without having to add a custom entry. Thanks to the OpenCore .contentVisibility feature.
OpenCore boot entries
The display order of the boot options in the OpenCore picker and the boot process are determined separately from the scanning algorithm. The display order is as follows:
Windows entry hidden in the picker as auxiliary
Terminal command diskutil list shows the device of the Windows EFI partition:
In this output, it's disk0s1.
Terminal command sudo diskutil mount to mount the Windows EFI partition:
Copy a .contentVisibility file with the word Disabled as content into /Volumes/EFI/EFI/Boot:
Upon startup, the OpenCore picker only shows the entry(s) that are macOS systems. When you press the space bar, the entry with Windows and other auxiliaries (Recovery and tools) appears.
In my opinion it is a simpler method than creating a custom entry.
It is valid for those of us who run macOS much more often than Windows and we do not like to see Windows before macOS in the default picker.
It is true that, when showing Auxiliary, we see Windows in the first place but this is usually going to happen when we want to boot Windows.
[HOW TO] Windows entry after macOS in the OpenCore menu
There is a way to prevent the Windows entry from being the first in the OpenCore picker without having to add a custom entry. Thanks to the OpenCore .contentVisibility feature.
- You have to copy a .contentVisibility file with the word Disabled as content into /Volumes/EFI(Windows partition)/EFI(folder)/Boot.
- You also have to set Misc -> Boot -> HideAuxiliary=True.
OpenCore boot entries
The display order of the boot options in the OpenCore picker and the boot process are determined separately from the scanning algorithm. The display order is as follows:
- Alternate options follow corresponding primary options. That is, Apple recovery options will follow the relevant macOS option whenever possible.
- Options will be listed in file system handle firmware order to maintain an established order across reboots regardless of the operating system chosen for loading.
- Custom entries, tools, and system entries will be added after all other options.
- Auxiliary options will only be displayed upon entering “Extended Mode” in the OpenCore picker (typically by pressing the Space key).
- Next to the bootloader (such as boot.efi), or in the boot folder. Example locations, as seen from within macOS, are:
- /System/Volumes/Preboot/{GUID}/System/Library/CoreServices/.contentVisibility
- /Volumes/EFI(partition)/EFI(folder)/BOOT/.contentVisibility.
- In addition a .contentVisibility file may be placed in absolute root folders related to a boot entry, for example:
- /System/Volumes/Preboot/{GUID}/.contentVisibility
- /System/Volumes/Preboot/.contentVisibility
- /Volumes/EFI(partition)/.contentVisibility (not recommended).
Windows entry hidden in the picker as auxiliary
Terminal command diskutil list shows the device of the Windows EFI partition:
Code:
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 104.9 MB disk0s1
2: Microsoft Reserved 16.8 MB disk0s2
3: Microsoft Basic Data WINDOWS 499.3 GB disk0s3
4: Windows Recovery 669.0 MB disk0s4
Terminal command sudo diskutil mount to mount the Windows EFI partition:
Code:
> sudo diskutil mount disk0s1
Volume EFI on disk0s1 mounted
Copy a .contentVisibility file with the word Disabled as content into /Volumes/EFI/EFI/Boot:
Code:
/Volumes/EFI/EFI/Boot > tree -a
.
├── .contentVisibility
└── bootx64.efi
Upon startup, the OpenCore picker only shows the entry(s) that are macOS systems. When you press the space bar, the entry with Windows and other auxiliaries (Recovery and tools) appears.
In my opinion it is a simpler method than creating a custom entry.
It is valid for those of us who run macOS much more often than Windows and we do not like to see Windows before macOS in the default picker.
It is true that, when showing Auxiliary, we see Windows in the first place but this is usually going to happen when we want to boot Windows.
Last edited: