On fedora. centos, rhel-9 (and rhel-10 once released) etc, the main config
file is at /boot/grub2/grub.cfg

-marta

On Thu, Sep 26, 2024 at 10:00 AM Mate Kukri <mate.ku...@canonical.com>
wrote:

> The main GRUB2 config is still at /boot/grub/grub.cfg on Debian and
> its derivatives today.
>
> Mate
>
> On Wed, Sep 25, 2024 at 10:54 PM Ross Philipson via Grub-devel
> <grub-devel@gnu.org> wrote:
> >
> > On 9/25/24 11:45 AM, gabriel.barros wrote:
> > > Hi. With most every project using .conf nowadays, i happened to waste
> > > some time when I had to install grub without my automation scripts
> > > yesterday. I think this would help new users coming from the new-conf
> world.
> > >
> > > --- util/grub-mkconfig.in
> > > <
> https://urldefense.com/v3/__http://grub-mkconfig.in__;!!ACWV5N9M2RV99hQ!J5IO70BVZHaSHbC8ko2SWiEss51L7BKf5jPYxwwBcVT1o4zS5kzFI9Hzl9OKUQzl7xlSSvx5NQ1tQG54m7Pa0t3-eOJV$
> >
> > > +++ util/grub-mkconfig.in
> > > <
> https://urldefense.com/v3/__http://grub-mkconfig.in__;!!ACWV5N9M2RV99hQ!J5IO70BVZHaSHbC8ko2SWiEss51L7BKf5jPYxwwBcVT1o4zS5kzFI9Hzl9OKUQzl7xlSSvx5NQ1tQG54m7Pa0t3-eOJV$
> >
> > > @@ -56,6 +56,7 @@ export TEXTDOMAINDIR="@localedir@"
> > >   usage () {
> > >       gettext_printf "Usage: %s [OPTION]\n" "$self"
> > >       gettext "Generate a grub config file"; echo
> > > +    gettext "Usually expected as /boot/grub/grub.cfg"; echo
> >
> > On recent installations of GRUB2 the config file is usually found in
> > /boot/grub2 or /boot/efi/EFI/<vendor>/
> >
> > Does this tool usually generate it in /boot/grub when run?
> >
> > Thanks
> > Ross
> >
> > >       echo
> > >       print_option_help "-o, --output=$(gettext FILE)" "$(gettext
> > > "output generated config to FILE [default=stdout]")"
> > >       print_option_help "-h, --help" "$(gettext "print this message and
> > > exit")"
> > >
> > >
> > > cheers,
> > > -- gabriel
> > >
> > > _______________________________________________
> > > Grub-devel mailing list
> > > Grub-devel@gnu.org
> > >
> https://urldefense.com/v3/__https://lists.gnu.org/mailman/listinfo/grub-devel__;!!ACWV5N9M2RV99hQ!J5IO70BVZHaSHbC8ko2SWiEss51L7BKf5jPYxwwBcVT1o4zS5kzFI9Hzl9OKUQzl7xlSSvx5NQ1tQG54m7Pa0iX676Qg$
> >
> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > https://lists.gnu.org/mailman/listinfo/grub-devel
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to