haiku/3rdparty/os_probe
Alexander G. M. Smith 0235470472 3rdparty/os_probe: Original 83haiku GRUB auto detect Haiku.
Original version of 83haiku as seen in Debian Linux, for detecting
pre-package based Haiku OS and automatically setting up a GRUB
boot menu item for bootable Haiku partitions.

Change-Id: I0d1fe4c9b395e7912b2398ab6bac5c25d92aa64a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4495
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
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: Original 83haiku GRUB auto detect Haiku. 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