Skip to content
View bootoption's full-sized avatar
Block or Report

Block or report bootoption

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
bootoption/README.md

bootoption

bootoption screenshot

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/.

Pinned

  1. bootoption bootoption Public

    EFI boot menu manipulation for macOS, like efibootmgr

    Swift 78 8