SkillAgentSearch skills...

Bootoption

EFI boot menu manipulation for macOS, like efibootmgr

Install / Use

/learn @bootoption/Bootoption
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

bootoption

<p align="center"> <img src="https://github.com/bootoption/bootoption/raw/master/Screenshot.svg?sanitize=true" alt="bootoption screenshot" /> </p>

EFI boot menu manipulation for macOS, report bugs here on GitHub.

Installation

Binaries and installer packages are available from the Releases page.

Homebrew

brew tap bootoption/repo
brew install bootoption

Usage

Show help
bootoption --help
The packages also install a man page
man bootoption
Create a new option and add it to the boot order
sudo bootoption create -l /Volumes/EFI/EFI/GRUB/GRUBX64.EFI -d "GNU GRUB"
Move an option from 4th to 1st in the boot order
sudo bootoption order 4 1
Disable an option
sudo bootoption set -n Boot0002 --active 0
Change the boot menu timeout to 10 seconds
sudo bootoption set -t 10
Set an option's command line argmuments
sudo bootoption set -n Boot0000 -a "initrd=/initramfs.img root=/dev/disk/by-uuid/346d9a61-f7e5-4f58-bad7-026bb5376e0f"
Reboot to firmware settings
sudo bootoption reboot

System Integrity Protection

Note: csrutil needs to be executed from the Recovery OS.

Disable SIP
csrutil disable
Disable only NVRAM protections
csrutil enable --without nvram

License

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Individual files contain the following tag instead of the full license text:

SPDX-License-Identifier: GPL-3.0-or-later

This enables machine processing of license information based on the SPDX License Identifiers that are available here: http://spdx.org/licenses/.

View on GitHub
GitHub Stars102
CategoryDevelopment
Updated7d ago
Forks9

Languages

Swift

Security Score

100/100

Audited on Mar 24, 2026

No findings