xref: /haiku/3rdparty/os_probe/README.md (revision 02354704729d38c3b078c696adc1bbbd33cbcf72)
1# os-probe for the Haiku Computer Operating System
2
3This is the Linux "os-probes" file to detect Haiku OS and to automatically add
4it to the GRUB boot menu.
5
6First make sure the Haiku volumes you want to boot are mounted in Linux
7(otherwise nothing gets detected).  Then copy the 83haiku file to your Linux
8system in the os-probes subdirectory, usually (in Fedora at least) it will be
9/usr/libexec/os-probes/mounted/83haiku  You can find older 83haiku versions in
10the repository history, though the latest should be able to detect older
11(pre-package manager) Haiku too.
12
13Then regenerate the GRUB boot configuration file.  This will happen
14automatically the next time your kernel is updated.  To do it manually,
15for old school MBR BIOS boot computers, the command is
16`grub2-mkconfig --output /boot/grub2/grub.cfg`
17
18Computers using the newer UEFI boot system have a EFI/HAIKU/BOOTX64.EFI file
19that you manually install to your EFI partition, and booting is done
20differently, so you don't need this 83Haiku file for them.  See
21[UEFI Booting Haiku](https://www.haiku-os.org/guides/uefi_booting/) instead.
22
23The original seems to have come from Debian and was written by François Revol.
24It's in the
25[Debian os-prober package](https://packages.debian.org/search?keywords=os-prober).
26There's also a big discussion about updating it in
27[Debian Bug Report #732696](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732696).
28
29_AGMS20210921_
30
31