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

Reply via email to