Re: how to (re-?)construct grub menu?

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

 



Hi.

On Sun, 11 Feb 2018 12:07:50 +1100 Stephen Morris wrote:

> Just some info on this. The original format of your grub menu, being one 
> line per kernel, was probably coming from grubby. When kernel installs 
> are done, the install process runs grubby by default to build grub.cfg 
> and update the mbr (in a non-efi system) and grubby builds grub.cfg with 
> a line per kernel. I don't like that format so after every kernel 
> install I manually run grub2-mkconfig and grub2-install to get the menu 
> with a single line for the current kernel and and Advanced sub-menu for 
> the other kernels.

You can make that automatic by adding a script in

  /etc/kernel/postinst.d/

to call grub2-mkconfig -o ...

grub2-install is not needed I think.

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