Skip to content

Instantly share code, notes, and snippets.

@jamieoo
Created August 8, 2021 06:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamieoo/23ce7490d6709d74ca4945e1f951d790 to your computer and use it in GitHub Desktop.
Save jamieoo/23ce7490d6709d74ca4945e1f951d790 to your computer and use it in GitHub Desktop.
MacOS: Startup Manager /Bootcamp
Adding existing Linux partition to Apple startup manager selection:
diskutil list
diskutil mount disk0s1
mkdir /Volumes/EFI/EFI/Boot
cp /Volumes/EFI/EFI/GRUB/grubx64.efi /Volumes/EFI/EFI/Boot/bootx64.efi
diskutil umount disk0s1
Renaming partition in startup manager selection:
diskutil list #find EFI partition
diskutil mount disk0s1
diskutil bless --folder /Volumes/EFI/EFI/Boot --label hannah-montana-linux
Boot straight to startup manager (without opt):
sudo nvram manufacturing-enter-picker=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment