peter composed on 2024-10-25 09:23 (UTC-0700):

> You have two copies of the custom configuration.  One in 
> /etc/grub.d/07_custom and one in /etc/grub.d/41_custom.  Correct?

> Are both entries in the menu?  Only the one from 07_custom?

> The immediate puzzle here is the custom menu entry in 
> /etc/boot/grub.cfg and not displayed in the boot menu.  As if menu 
> display stops before the custom section.

> Don't want to be stuck with a broken system.  Need to be a careful 
> monkeying.

My actual custom stanzas are in /boot/grub2/custom.cfg, because I use only one
bootloader per PC, no matter how many installations it contains, which averages 
in
excess of 20, and I use whatever version of Grub2 that Tumbleweed provides,
usually the latest available. That shouldn't make any difference in Debian use,
other than the "2" in directory name.

In /etc/grub.d/ I copy 41_custom to 07_custom. Then I empty 41_custom and make 
it
immutable so that the entries 07_custom refers to are not duplicated by 
41_custom
after every time whatever Grub package providing it is updated.

Manual editing of /boot/grub/grub.cfg does not persist. Every kernel addition or
removal causes its regeneration anew based upon the content of /etc/default/grub
and the regeneration script(s), same as running grub-mkconfig.

Details of 40_custom use I'm completely unfamiliar with, as I've never used it,
though I empty and lock it the same it as I do 41_custom.

I have only one set of custom entries per PC, those in /boot/grub2/custom.cfg.
It's such a long list that I normally don't see the automatically generated
entries before I've made a selection from among my own.
-- 
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

Reply via email to