Galactic Civilizations 3
Change the time for OS selection menu in GRUB

Change the time for OS selection menu in GRUB

Category: Linux.
Posted by on the 27/01/2014.
Last update on the 27/01/2014.

Description

This tutorial explains how to change the time for OS selection menu in GRUB.

Introduction

This tutorial is intended for people under Debian or distributions based on it (Ubuntu, Xandros ...). All commands in this tutorial are executed as root. (su command). It does not require any prerequisites.

Modification of the grub selection timeout

To modify the selection timeout of the grub menu, we need to modify the grub's configuration file. To do that, execute the following command:

nano /boot/grub/menu.lst or nano /boot/grub/grub.conf
or also nano /boot/grub/grub.cfg

What we need is in the header of the grub's configuration file:

menu.lst or grub.conf or also grub.cfg

...
insmod part_msdos
insmod ext2
set root='(hd1,msdos3)'
search --no-floppy --fs-uuid --set 49428f82-864d-4f5b-a573-83722ea79133
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd1,msdos3)'
search --no-floppy --fs-uuid --set 49428f82-864d-4f5b-a573-83722ea79133
set locale_dir=($root)/boot/grub/locale
set lang=fr
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###
...

We just need to change the line « set timeout » and set the number of seconds that we want.

Finally, we close the file, save it and restart the computer. You will see that the time for OS selection menu in GRUB menu has been updated. (you can see it in the countdown at the bottom of the screen).

You like this tutorial ?
Like this website in order to promote it on facebook !

You like this tutorial ? Share it with your friends !
Partager sur Facebook Partager sur Twitter Partager sur Myspace Partager sur Stumbleupon Soumettre sur Reddit Partager sur Digg Ajouter à vos favoris Technorati Ajouter à vos favoris Live Ajouter à vos favoris Google Ajouter sur vos favoris Yahoo