I've got simmilar problem.

1) You should use BLSCFG.
that way, you will have each boot entry as a standalone file - which
is easily configurable - in "/boot/loader/entries".

2) You have to update the script that creates / updates the boot entries.
which is "/usr/lib/kernel/install.d/20-grub.install"
You shouldn't edit it directly. Rather drop your own configuration
script(s) to "/etc/kernel/install.d/".
If you will use the exact name used by the script in
"/usr/lib/kernel/install.d/", it will be overriden by your script in
"/etc/kernel/install.d/". So you can just copy the "20-grub.install"
script there and customize as you like.

--

Michal Schorm
Software Engineer
Core Services - Databases Team
Red Hat

--

On Mon, Apr 1, 2019 at 1:22 PM Patrick O'Callaghan
<pocallag...@gmail.com> wrote:
>
> I'm interested in configuring grub to allow selecting different sets of
> kernel parameters at boot time. I know I can edit the boot command line
> by hand, but this is tedious and error-prone. (An example might be to
> choose between the Nouveau and Nvidia drivers by selecting the
> appropriate menu entry). And of course I'd want this updated
> automatically with each new kernel version (i.e. each kernel would then
> have two alternative entries).
>
> How feasible is this?
>
> poc
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to