All of lore.kernel.org
 help / color / mirror / Atom feed
* How should 30_os-prober be working?
@ 2014-06-13 13:46 Gene Czarcinski
  2014-06-13 14:37 ` Vladimir 'phcoder' Serbinenko
  0 siblings, 1 reply; 2+ messages in thread
From: Gene Czarcinski @ 2014-06-13 13:46 UTC (permalink / raw)
  To: grub-devel

This deals with 30_os-prober and the os-prober package itself.

In days of old, it was linux and initrd for linux systems (ignoring 
linuxefi and initrdefi).  Fedora 21 is in the process of starting up and 
it brings in grub2-2.02-0.3 and os-prober-1.58-7.  While these updates 
bring in improved support for /boot on btrfs subvols and LVMlvs, they 
also introduce using linux16 instead of linux and initrd16 instead of 
initrd.

This last change breaks 30_os-prober so that no output is produced even 
when appropriate systems are identified.  The problem is that os-prober 
was only recognizing linux/initrd and the grub.cfg had 
linux/16/initrd16.  I have created an update for os-prober which now 
identifies the "type" of linux | linux16 (actually linux*) and initrd | 
initrd16 (actually initrd*) and linux-boot-prober now returns whatever 
linux* and initrd* matches to 30_os-prober.

The question is: what should 30_os-prober do with this information? 
Currently, I simply use the "linux_type" and initrd_type" returned by 
linux-boot-prober (40grub2) as "operation" to be performed?  Is this 
correct?

Another approach would be to force the use of linux16 and initrd16 for 
the menuentry elements.

BTW, since I have your attention, with GRUB_DISABLE_SUBMENU=true 
specified in /etc/default/grub, should 30_os-prober be generating submenus?

Gene


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How should 30_os-prober be working?
  2014-06-13 13:46 How should 30_os-prober be working? Gene Czarcinski
@ 2014-06-13 14:37 ` Vladimir 'phcoder' Serbinenko
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir 'phcoder' Serbinenko @ 2014-06-13 14:37 UTC (permalink / raw)
  To: The development of GRUB 2

[-- Attachment #1: Type: text/plain, Size: 1924 bytes --]

On 13 Jun 2014 13:47, "Gene Czarcinski" <gczarcinski@gmail.com> wrote:
>
> This deals with 30_os-prober and the os-prober package itself.
>
> In days of old, it was linux and initrd for linux systems (ignoring
linuxefi and initrdefi).  Fedora 21 is in the process of starting up and it
brings in grub2-2.02-0.3 and os-prober-1.58-7.  While these updates bring
in improved support for /boot on btrfs subvols and LVMlvs, they also
introduce using linux16 instead of linux and initrd16 instead of initrd.
>
> This last change breaks 30_os-prober so that no output is produced even
when appropriate systems are identified.  The problem is that os-prober was
only recognizing linux/initrd and the grub.cfg had linux/16/initrd16.  I
have created an update for os-prober which now identifies the "type" of
linux | linux16 (actually linux*) and initrd | initrd16 (actually initrd*)
and linux-boot-prober now returns whatever linux* and initrd* matches to
30_os-prober.
>
> The question is: what should 30_os-prober do with this information?
Currently, I simply use the "linux_type" and initrd_type" returned by
linux-boot-prober (40grub2) as "operation" to be performed?  Is this
correct?
>
Just ignore if it's linux16. Fedora uses it only for some obscure hardware
with obscure drivers for obscure reasons. Moreover their way of using it
breaks compatibility with anything but BIOS. I tried to sit with them to
find proper solution or at very least limit it to BIOS systems were
unfruitful (mostly Fedora and Red Hat don't care)
> Another approach would be to force the use of linux16 and initrd16 for
the menuentry elements.
>
> BTW, since I have your attention, with GRUB_DISABLE_SUBMENU=true
specified in /etc/default/grub, should 30_os-prober be generating submenus?
>
> Gene
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel

[-- Attachment #2: Type: text/html, Size: 2330 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-13 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-13 13:46 How should 30_os-prober be working? Gene Czarcinski
2014-06-13 14:37 ` Vladimir 'phcoder' Serbinenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.