Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1689248 - Grub2 configuration is a total unmitigated mess
Summary: Grub2 configuration is a total unmitigated mess
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: rawhide
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-15 14:03 UTC by Artem S. Tashkinov
Modified: 2019-03-15 14:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Artem S. Tashkinov 2019-03-15 14:03:54 UTC
1. /etc/grub.d/41_custom includes either

\${config_directory}/custom.cfg
or
\$prefix/custom.cfg

What are \${config_directory} and \$prefix ? Where should custom.cfg go?



2. /etc/grub.d/40_custom might be user modified but that might not properly survive a grub2 package update. 

Why not use something like:

exec cat /etc/grub.d/*.grub or exec cat /etc/grub.d/*.config



3. /etc/grub.d/01_users uses \${prefix}/user.cfg

what's this file format? How is it used? Why should it be placed? Does it prevent from editing Grub2 menu entries or it makes booting without entering a password impossible?



4. How am I supposed to save a selected entry _from_ within the grub menu itself, so that it became default for all consecutive reboots? Is there a keyboard shortcut for that? There's nothing in documentation/man pages.


Note You need to log in before you can comment on or make changes to this bug.