Re: Alternative grub entries

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

 



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
<pocallaghan@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux