Skip to content

Modifying the default grub menu behavior

professorkaos64 edited this page Aug 16, 2016 · 17 revisions

Table of Contents generated with DocToc

Warning!

Valve, nor the author of this section is responsible for damage to your system! Modifying the grub menu in SteamOS is an advanced action, and should not be attempted by novice users. Proceed at your own risk.

Do not edit GRUB configurations directly!
Any changes made directly to the GRUB configuration files will be overwritten when the file is regenerated, such as after a kernel update. Instead of editing these files directly, edit the templates that are used to generate them. See "Configuring GRUB v2" over on the Debian Wiki.

About


You can remove the time out from /etc/grub/default, and it will show for however long you like:

Backup your files


Please run the following to backup your grub configuration!

sudo cp /etc/grub/default /etc/grub/default.bak

Default Grub, in it's original state

This is as of 20151229. This is purely for reference.

GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX=""
GRUB_BACKGROUND=/usr/share/plymouth/themes/steamos/steamos_branded.png
GRUB_DISABLE_LINUX_RECOVERY="true"
GRUB_GFXMODE=auto
GRUB_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT=1
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

How to


Allowing the grub menu to idle

In this example, you are removing the hidden timeout, and adjusting as necessary here. The two most basic lines to perform this are:

GRUB_HIDDEN_TIMEOUT_QUIET=false
GRUB_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT=1

Complete file:

GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT_QUIET=false
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX=""
GRUB_BACKGROUND=/usr/share/plymouth/themes/steamos/steamos_branded.png
GRUB_DISABLE_LINUX_RECOVERY="true"
GRUB_GFXMODE=auto
GRUB_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT=1
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Updating the Grub menu


Update grub with

sudo update-grub
sudo reboot
Clone this wiki locally