Hello fellow dual-booters,
I have Ubuntu installed alongside several Haiku and data partitions, see:
Ubuntu lives in “Partition 1”, its swap in “Partition 5”, then follow various Haiku installations and data partitions. I use Haiku’s Bootman as boot manager, after grub2 stopped working for unknown reasons…
Now every other time I boot into Ubuntu every couple of weeks, there’s some system update that keeps nuking the bootmanager, resulting in auto-booting into Ubuntu. Annoying.
My workaround is to boot into Ubuntu, and force the grub2 bootloader into the Ubuntu partition (“Partition 1”) with
sudo grub-install /dev/sda1 --force
Now I boot Haiku from a USB stick I have laying around here somewhere… and re-install Bootman into the MBR from the tools menu of the Installer app.
Maybe this rescue procedure helps others with similar issues.
It’s a bit of a bother though… Does anyone know if there’s a way to make Ubuntu understand not to nuke the MBR, but install grub2 into the Ubuntu partition instead?