I've been trying to install FreeBSD alongside my Debian installation in a single partition. All examples readily present on the Internet had shortcomings:
- Some required chainloading the FreeBSD chainloader in ways GRUB2 refused to accept with "invalid signature".
- Some assume you've installed FreeBSD inside a BSD disklabel.
- None of the solutions (including loading /boot/loader) boot after changing the order of the devices or moving them from server to server.
- None of the solutions work on Debian: The naming of the GRUB2 options on Debian seems to be different from e.g. Ubuntu.
So how do I dual boot Debian and FreeBSD in the most reliable way?