1

I have a Mac with Ubuntu, OSX and Windows (booting with rEFIt). I need a way to select which OS to boot on the next reboot. I can do that from within OSX and Windows (through Bootcamp) but I also need a way to tell my machine to boot OSX on the next reboot.

I can't hold ALT on boot to select the OS in the visual EFI screen, because my video card doesn't support that (upgraded my Mac).

PS: I tried efibootmgr but that doesn't show me the actual EFI boot options, only the options available in Grub (e.g. rEFIt does not appear as an option).

mniess
  • 10,904

1 Answers1

3

You are wrong, efibootmgr does not show grub entries only. List what's in nvram of your machine with

sudo efibootmgr -v

and then use the

sudo efibootmgr  -n xxxx

to select the next boot item.

If you have a bootloader not listed in the nvram list, then it is probably in the device default location, e.g. /EFI/Boot/bootx64.efi. In that case, you can make an nvram entry, and then refer to that entry with the bootnext flag.

ubfan1
  • 19,049