On 23/04/2025 at 06:08, Martin-Éric Racine wrote:
In its current form, os-prober produces an unusable GRUB config segment when it finds a Hurd partition: 1) It wants to boot a /boot/gnumach.gz file that doesn't exist. Mach kernel files include version numbers. Once that has been manually fixed in grub.cfg to e.g. /boot/gnumach-1.8-486-up.gz, a second problem emerges: 2) The config fragment passes the incorrect root device, which makes the Mach kernel fail to find its Hurd of services.
os-prober does not generate GRUB menu entries. It just detects operating systems, and GRUB helper script 30_os-prober uses its output to generate menu entries. Is os-prober output for Hurd incorrect ?