Subject: | |
From: | |
Reply To: | |
Date: | Tue, 11 Apr 2017 07:49:41 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On Sun, Apr 9, 2017 at 9:26 PM, Keith Lofstrom <[log in to unmask]> wrote:
> On Mon, Apr 3, 2017 at 5:26 PM, Keith Lofstrom <[log in to unmask]> wrote:
>>
>> I'm looking for examples (with explanatory comments) of customized
>> configuration files to use in the /etc/grub.d directory, somewhere
>> out there on the intertubes.
>
> On Thu, Apr 06, 2017 at 01:52:30AM -0400, Tom H wrote:
>>
>> If you set "GRUB_DISABLE_RECOVERY=false" in "/etc/default/grub", the
>> boot submenu will have single-user entry for every kernel.
>>
>> If you set "GRUB_DISABLE_RECOVERY=false" and "GRUB_DISABLE_SUBMENU=y"
>> in "/etc/default/grub", the menu will have single-user entry for
>> every kernel.
>
> Thanks, that was enough to develop a solution.
>
> I wrote up what I did here:
>
> http://wiki.keithl.com/grub2single
:)
Except for the fact that "GRUB_DISABLE_SUBMENU=true|false" won't have
any effect.
It has to be "GRUB_DISABLE_SUBMENU=y" for the submenu not to be created.
GRUB_DISABLE_SUBMENU was created by the Fedora grub maintainer and
neither he nor whoever committed his patch upstream thought of turning
his "y"/"whatever" into the usual "true"/"false".
|
|
|