SCIENTIFIC-LINUX-USERS Archives

April 2017

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

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

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

Print Reply
Subject:
From:
Reply To:
Date:
Thu, 6 Apr 2017 01:52:30 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (20 lines)
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.
>
> Specifically, what I hope to add is a "11_single" file
> to /etc/grub.d that adds a boot menu option for booting
> the most recent kernel in single user mode.
>
> Yes, I know I can select a menu entry with "e", and
> then edit "SINGLE" onto the end of the kernel line.

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 enu will have single-user entry for every
kernel.

ATOM RSS1 RSS2