Re: Fedora 24 - Grub2 permanent cmdline changes

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

 



On 08/07/16 02:07, Edouard Fazenda wrote:
Hi Earl,

On Fedora 24 it's the same configuration as Fedora 23, you have to edit /etc/default/grub file and after run the grub2-mkconfig command to update the grub.cfg Configuration file in /boot. Make sure that the symbolic link of /etc/sysconfig/grub is still pointing to /etc/default/grub file.

Cheers, Edouard.
Hi Earl, just following on from what Edouard said, I have never used /etc/sysconfig/grub to make grub changes, as until your thread I didn't know it existed. All the grub documentation I have seen has said to make changed directly to /etc/default/grub, which is what I have always done. Like Tom and you have both indicated I have always run grub2-mkconfig/grub2-install manually because I don't like the format of the grub menu built by grubby (which is automatically run when a new kernel is installed as Tom said). Also as I understand it, grubby does not use /etc/default/grub to build its grub menus.

From what you have shown in your thread it looks like /etc/sysconfig/grub is linked to the wrong file. It seems to be linked to /etc/grub.d/00-header, so you may want to re-link it back to /etc/default/grub. I have checked on my F24 system and /etc/sysconfig/grub is a link to /etc/default/grub.

regards,
Steve


2016-07-07 14:51 GMT+02:00 Tom Horsley <horsley1953@xxxxxxxxx <mailto:horsley1953@xxxxxxxxx>>:

    On Thu, 07 Jul 2016 10:45:30 +0800
    Earl Ramirez wrote:

    > run grub2-mkconfig

    As near as I can tell, absolutely nothing ever runs
    the grub2-mkconfig program, so unless you run it yourself
    you can make permanent changes by simply editing the
    grub.cfg file directly.

    When dnf installs a new kernel, it simply looks at
    the existing kernel lines in grub.cfg and copies the
    same options to the new kernel line (or the "grubby"
    program it runs does that).
    --
    users mailing list
    users@xxxxxxxxxxxxxxxxxxxxxxx <mailto:users@xxxxxxxxxxxxxxxxxxxxxxx>
    To unsubscribe or change subscription options:
    https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
    Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
    Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
    Have a question? Ask away: http://ask.fedoraproject.org




--
________________________________________
Edouard Fazenda
Tel : 0688451444



--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[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