[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1103935: os-prober: Hurd detection produces unusable grub.cfg fragment



ke 23.4.2025 klo 9.20 Martin-Éric Racine (martin-eric.racine@iki.fi) kirjoitti:
>
> ke 23.4.2025 klo 9.13 Pascal Hambourg (pascal@plouf.fr.eu.org) kirjoitti:
> >
> > 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 ?
>
> Yes, as stated above, the output is incorrect.

More precisely, what 30_os-prober produces is incorrect. Looking
towards the end of the script is where the incorrect menu entry gets
generated. If you think that this makes it a bin:grub-common issue,
you're welcome to reassign the bug.

Martin-Éric


Reply to: