Debian 7 - Increase Boot Speed By Reducing GRUB Timeout

The following script changes the timeout for the Grub startup menu to just 1 second.

SEARCH="set timeout=.*"
REPLACE="set timeout=1"
FILEPATH="/boot/grub/grub.cfg"
sudo sed -i "s;$SEARCH;$REPLACE;g" $FILEPATH
If you ever do need to use the menu, just keep hammering the up/down keys during startup to stop the timeout.

Alternatively, execute the command below:

curl -s https://scripts.programster.org/scripts/8?output=raw | bash

No comments:

Post a Comment