haiku/3rdparty/os_probe
Alexander G. M. Smith 610f99c838 3rdparty/os_probe: Use Debian's #!/bin/sh.
Had a look at the actual Debian os-prober (1.79) package and found
that they use /bin/sh as their shell for all their os-prober scripts.
So for Fedora and other downstream packages, someone must be going
through all the scripts and changing them to /usr/bin/sh.  Switch
to the Debian variety since they're the upstream of everybody for this.

Change-Id: I2bed8cb133640861311061261ff0cae8ae6f2648
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4599
Reviewed-by: Alexander G. M. Smith <agmsmith@ncf.ca>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2021-10-17 18:09:26 +00:00
..
83haiku 3rdparty/os_probe: Use Debian's #!/bin/sh. 2021-10-17 18:09:26 +00:00
README.md 3rdparty/os_probe: Better wording, fix Beta+ version parsing. 2021-10-05 16:07:01 +00:00

README.md

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. Mostly relevant for x86 BIOS based computers.

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 If it doesn't find the Haiku partitions, try manually mounting them in Linux and rerun the grub command.

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. Latest version is now at https://git.haiku-os.org/haiku/tree/3rdparty/os_probe

AGMS20210927