haiku/3rdparty/os_probe
Alexander G. M. Smith c09821c07d 3rdparty/os_probe: August 2015 version of 83Haiku.
This one seems to be the final collated version with the previous
patches and ideas all included.  It's version 42 (dated 20150811)
put together by Jeroen Oortwijn at
https://bazaar.launchpad.net/~idefix/ubuntu/trusty/os-prober/HaikuPM/files/head:/os-probes/mounted/x86

Change-Id: Ia7f276b45a5766c5f5bf1495d3726e5d475e2eee
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4497
Reviewed-by: Alexander G. M. Smith <agmsmith@ncf.ca>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-10-05 16:07:01 +00:00
..
83haiku 3rdparty/os_probe: August 2015 version of 83Haiku. 2021-10-05 16:07:01 +00:00
README.md 3rdparty/os_probe: Original 83haiku GRUB auto detect Haiku. 2021-10-05 16:07:01 +00:00

os-probe for the Haiku Computer Operating System

This is the Linux "os-probes" file to detect Haiku OS and to automatically add it to the GRUB boot menu.

First make sure the Haiku volumes you want to boot are mounted in Linux (otherwise nothing gets detected). Then copy the 83haiku file to your Linux system in the os-probes subdirectory, usually (in Fedora at least) it will be /usr/libexec/os-probes/mounted/83haiku You can find older 83haiku versions in the repository history, though the latest should be able to detect older (pre-package manager) Haiku too.

Then regenerate the GRUB boot configuration file. This will happen automatically the next time your kernel is updated. To do it manually, for old school MBR BIOS boot computers, the command is grub2-mkconfig --output /boot/grub2/grub.cfg

Computers using the newer UEFI boot system have a EFI/HAIKU/BOOTX64.EFI file that you manually install to your EFI partition, and booting is done differently, so you don't need this 83Haiku file for them. See UEFI Booting Haiku instead.

The original seems to have come from Debian and was written by François Revol. It's in the Debian os-prober package. There's also a big discussion about updating it in Debian Bug Report #732696.

AGMS20210921