Page 2 sur 3

Re: Voir Grub au démarrage

Posté : ven. 3 mars 2017 20:00
par Martin

Dernier message de la page précédente :

Regardes j'ai commenté la ligne :

#GRUB_HIDDEN_TIMEOUT=0

Martin ;)

Re: Voir Grub au démarrage

Posté : ven. 3 mars 2017 20:14
par maskarin
Bonsoir à tous,
Tout d'abord Merçi pour vos réponses ultra rapides bon, j'essaie de suite en commentant la ligne:
#GRUB_HIDDEN_TIMEOUT=0
et en rallongeant le temps d'affichage et je vous dis ce qui se passe ;)

Re: Voir Grub au démarrage

Posté : ven. 3 mars 2017 20:19
par mpat
en effet Martin :oops:

chez moi.

GRUB_DEFAULT="0"
#GRUB_HIDDEN_TIMEOUT="0"
#GRUB_HIDDEN_TIMEOUT_QUIET="true"
GRUB_TIMEOUT=2 toi ici tu mets 15 ou 20 quitte a réduire après
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="

Re: Voir Grub au démarrage

Posté : ven. 3 mars 2017 20:29
par maskarin
J'ai fais toutes les modifications comme indiqué sur le dernier message et Grub est toujours invisible.
Je cherche je cherche.... :?:

Re: Voir Grub au démarrage

Posté : ven. 3 mars 2017 20:33
par mpat
tu as fait

Code : Tout sélectionner

sudo update-grub
après avoir sauvegardé ton grub et avant de redémarrer ?

Re: Voir Grub au démarrage

Posté : ven. 3 mars 2017 23:15
par maskarin
mpat a écrit :tu as fait

Code : Tout sélectionner

sudo update-grub
après avoir sauvegardé ton grub et avant de redémarrer ?
Voiçi ce que j'obtiens avec la commende çi dessus:

Code : Tout sélectionner

jean@flash ~ $ sudo update-grub
[sudo] Mot de passe de jean : 
/usr/sbin/grub-mkconfig: 35: /etc/default/grub: Syntax error: EOF in backquote substitution

Re: Voir Grub au démarrage

Posté : sam. 4 mars 2017 09:24
par Martin
Il y a une erreur de syntaxe dans /etc/default/grub

Tu pourrais montrer ce que te donne la commande :

Code : Tout sélectionner

cat /etc/default/grub

Re: Voir Grub au démarrage

Posté : sam. 4 mars 2017 09:44
par maskarin
Voiçi donc ce que donne cette commande:

Code : Tout sélectionner

jean@flash ~ $ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT="0"
#GRUB_HIDDEN_TIMEOUT="0"
#GRUB_HIDDEN_TIMEOUT_QUIET="true"
GRUB_TIMEOUT="20"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# 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

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
jean@flash ~ $ 

Re: Voir Grub au démarrage

Posté : sam. 4 mars 2017 09:47
par maskarin
Ne faudrait-il pas décommenter cela :?: :# /boot/grub/grub.cfg.

Re: Voir Grub au démarrage

Posté : sam. 4 mars 2017 10:01
par Robinwood
Selon moi, les " sont pas bons:

Code : Tout sélectionner

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=20
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

Re: Voir Grub au démarrage

Posté : sam. 4 mars 2017 10:06
par mpat
salut, je sais pas ce que tu as fait avec ton grub mais :roll: tu as de la chance qu'il démarre encore.

il te manque des valeurs. tu vas éditer ton grub, éffacer ce qui est dedans et faire un copier coller de celui-ci n'oublie pas d’enregistrer puis un update avant le redémarrage.

pour éditer ton fichier

Code : Tout sélectionner

sudo xed /etc/default/grub

Code : Tout sélectionner

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT="0"
#GRUB_HIDDEN_TIMEOUT="0"
#GRUB_HIDDEN_TIMEOUT_QUIET="true"
GRUB_TIMEOUT=20
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# 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"

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

GRUB_DISABLE_OS_PROBER="false"

Code : Tout sélectionner

sudo update-grub

Code : Tout sélectionner

sudo reboot
La dernière ligne ---> GRUB_DISABLE_OS_PROBER="true .....la valeur true ne cherche pas si d'autres os sont installés - la valeur false cherche au démarrage les o.s installés
j'ai donc régler à 20 le temps d'affichage du grub et une recherches des différents o.s installés.

une chose quand tu voudras encore modifier ton grub demande avant, c'est des truc à tout planter.