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.