Not that it's something very important, but it is now possible to install OpenBSD on a GPT partition and double/triple/whatever boot it with FreeBSD etc. And since I like having a collection of different OS's on the same drive, I couldn't resist trying this.
Going this way you secure an appropriate bios-boot type partition for GRUB2 installation (~200Mb), then from within OpenBSD-6.0 installer create another GPT partition for OpenBSD itself (type A6), then let it partition that one to its own taste and finish the installation. Ignore the installer instruction to create also a type EF partition. Ignore its complains after the installation that 'perhaps it won't boot'. It won't — on its own, but having GRUB2 solves the problem, at least with 6.0 release.
I did that on my experimental HDD before installing FreeBSD on another GPT partition because I wasn't 100% sure OpenBSD fdisk util would not alter the existing partition table in a way that would make the existing GPT partition with FreeBSD on it unusable (though perhaps it shouldn't?). Then after that installed FreeBSD by simply sending a ZFS snapshot of my existing install into empty zpool created for that purpose on a new GPT partition. Then booted into that FreeBSD installation (using GRUB2 USB stick) and finished it all by grub-install command.
To boot OpenBSD it's enough to create this section in the /boot/grub/grub.cfg file:
Chainloading won't work, but the kernel option '-r sd0a' seems to be universal according to the bsd kernel's ideas of its installation place.
Going this way you secure an appropriate bios-boot type partition for GRUB2 installation (~200Mb), then from within OpenBSD-6.0 installer create another GPT partition for OpenBSD itself (type A6), then let it partition that one to its own taste and finish the installation. Ignore the installer instruction to create also a type EF partition. Ignore its complains after the installation that 'perhaps it won't boot'. It won't — on its own, but having GRUB2 solves the problem, at least with 6.0 release.
I did that on my experimental HDD before installing FreeBSD on another GPT partition because I wasn't 100% sure OpenBSD fdisk util would not alter the existing partition table in a way that would make the existing GPT partition with FreeBSD on it unusable (though perhaps it shouldn't?). Then after that installed FreeBSD by simply sending a ZFS snapshot of my existing install into empty zpool created for that purpose on a new GPT partition. Then booted into that FreeBSD installation (using GRUB2 USB stick) and finished it all by grub-install command.
To boot OpenBSD it's enough to create this section in the /boot/grub/grub.cfg file:
Code:
menuentry 'OpenBSD 6.0' {
insmod gzio
insmod zfs
insmod part_gpt
search --no-floppy --fs-uuid --set=root $your_obsd_part_uuid
kopenbsd /bsd -r sd0a
}