Bonjour a tous, est-ce que quelqu’un sait comment on fait pour modifier le temps du chargement du grub.
Merci d’avance.
Bjr,
tu veux dire le temps que met grub à booter sur l’entrée par défaut ?
Si c’est ça c’est le timeout, en haut de /boot/grub/menu.lst[code]# menu.lst - See: grub(8), info grub, update-grub(8)
grub-install(8), grub-floppy(8),
grub-md5-crypt, /usr/share/doc/grub
and /usr/share/doc/grub-doc/.
default num
Set the default entry to the entry number NUM. Numbering starts from 0, and
the entry number 0 is the default if the command is not used.
You can specify ‘saved’ instead of a number. In this case, the default entry
is the entry saved with the command ‘savedefault’.
WARNING: If you are using dmraid do not change this entry to ‘saved’ or your
array will desync and will not let you boot your system.
default 0
timeout sec
Set a timeout, in SEC seconds, before automatically booting the default entry
(normally the first entry defined).
timeout 5[/code]
Merci ca marche au poil.
Une autre possibilité : # nano /etc/default/grub
[quote="/etc/default/grub"]# This file is sourced by update-grub, and its variables are propagated
to its children in /etc/grub.d/
GRUB_DEFAULT=0
GRUB_TIMEOUT=0 <-- C’est ici !
GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian
GRUB_CMDLINE_LINUX=“quiet”
Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
The resolution used on graphical terminal
note that you can use only modes which your graphic card supports via VBE
you can see them in real GRUB with the command `vbeinfo’
#GRUB_GFXMODE=640x480
Uncomment if you don’t want GRUB to pass “root=UUID=xxx” parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true[/quote]# update-grub
Re-
C’est peut être bien aussi mais /etc/default/grub j’ai pas
Sûrement une question de version de grub…
Je suppose que tu utilises grub-legacy là où j’utilise grub2.