stan via users composed on 2022-10-30 07:23 (UTC-0700):

>> Finally, I build /boot/grub2/custom.cfg from scratch that uses volume
>> LABELs and symlinks to kernels and initrds, and customize
>> /etc/grub.d/ to cause its entries to head Grub's menu.

> I think this means that if you update any of the installed OSs, you
> have to recreate the custom.cfg menu to incorporate the changes.  And

Depends on the nature of the update. Only major updates may require updates,
depending on specificity of labels used in building custom.cfg. If in upgrading 
a
release, and you change the LABEL of the / filesystem, and depend on LABELs in
boot stanzas, updating is required. Ordinary updates, such as new kernels, 
require
no updates, because the symlinks used in custom.cfg don't change, only the 
initrds
and kernels they point to. Distros I use other than Fedora create the required
symlinks automatically, e.g. all Debians & its derivatives, openSUSE, Mageia.

> that you have to have a custom utility you run in order to do that.
> Would you be willing to share that utility, and your customizations of
> /etc/grub.d?

I have had no compulsion to create any such utility. All it would to would be to
automate symlink creation on Fedora when new kernels are installed that is done
automatically by other distros.

My method of /etc/grub.d/ customization only requires making a copy of 40_custom
named 06_custom, which puts custom.cfg's entries at the top of  Grub's boot 
menu.

> This will work great, but I wouldn't consider it trivial for a new
> user of Fedora.

That would depend on what makes a Fedora user a "new" Fedora user. New to Fedora
but not new to Linux multibooting it ought to have already become trivial if
multiple versions of any same distro had been employed. New to multibooting,
whether or not new to Fedora, not so trivial, but it's newness to multibooting
and/or UEFI that would be the bigger part of making it non-trivial.

<https://forums.opensuse.org/showthread.php/533087-How-to-have-a-custom-UEFI-grub-menu-for-a-multiboot-system?p=2880389#post2880389>
has an example of the simplicity of custom.cfg.

<https://forums.opensuse.org/showthread.php/533087-How-to-have-a-custom-UEFI-grub-menu-for-a-multiboot-system?p=2891383#post2891383>
has an even simpler method, chainloading, which I don't use because I don't want
more than one distro messing with NVRAM's boot order.
-- 
Evolution as taught in public schools is, like religion,
        based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to