SCIENTIFIC-LINUX-USERS Archives

April 2017

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Mailing list for Scientific Linux users worldwide <[log in to unmask]>
Date:
Tue, 11 Apr 2017 07:49:41 -0400
Reply-To:
Message-ID:
Subject:
From:
Content-Type:
text/plain; charset="UTF-8"
In-Reply-To:
MIME-Version:
1.0
Comments:
To: SL Users <[log in to unmask]>
Parts/Attachments:
text/plain (33 lines)
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".

ATOM RSS1 RSS2