Code Monkey home page Code Monkey logo

bootoption's Introduction

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

bootoption's People

Contributors

bootoption avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.