I have a MacBook with both a Linux installation as well as OSX on it. I have GRUB2 configured to boot both successfully, but when I boot into OSX it seems to automatically alter the EFI boot configuration and make OSX the default boot target.
It's possible, with 'bless', to change the next boot target, but this seems to be reset yet again if I:
- 'bless' the GRUB2 boot loader.
- Boot into Linux.
- Boot into OSX.
At this point, I want GRUB2 to be loaded again, but instead OSX seems to boot directly.
What's the trick to making this behave the way I want (that is, again, to have GRUB2 boot every time I power on this laptop, regardless of what OS I boot into thereafter)?