Re: Where(in which file) does the installer(Anaconda) write the grub menu entries (for the user to edit)?

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

 



On Tue, 31 Aug 2021 12:59:56 +0200
Gueven Bay via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

> Where do I find and edit my grub menu (of course, if I do not want to
> edit the menu manually at every boot time on the grub command line,
> which is what I do _not_ want)?
> 
> (The side problem is: In the Quick Docs it is not documented!
> https://docs.fedoraproject.org/en-US/quick-docs/bootloading-with-grub2/)

If you are using legacy BIOS, on F33 it should be in
/boot/grub2/grub.cfg

If you are using UEFI, on F33 it should still be in
/boot/efi/EFI/fedora/grub.cfg

Both of the above locations are in the documentation you linked above,
part of the grub2-mkconfig instructions

In latest versions of Fedora, this has moved to /boot/grub2/grub.cfg for
both legacy and UEFI.

I think that by F33, the actual stanzas for each kernel had been moved
to /boot/loader/entries

The file /etc/default/grub is where default settings for kernel command
lines are set so that they are used on new kernels.  If you change them
without changing the existing kernels, you should run 
grub2-mkconfig -o [location of your grub.cfg file] to recreate the boot
menu with your changed defaults.

If you install pinfo, you can run pinfo grub2 to see all the gory
details of grub2.  If you are comfortable with it, you can even use
info, but I find pinfo a lot more intuitive.


>From the above document,
"Reviews for technical accuracy are greatly appreciated. If you want to
help, see the README file in the source repository for instructions."
So, you might consider helping future users who have the same issue as
you.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[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