Question sur grub-customizer

Résolu/Fermé
Jean Sandon Messages postés 252 Date d'inscription dimanche 31 octobre 2004 Statut Membre Dernière intervention 26 octobre 2014 - 2 févr. 2013 à 11:04
mamiemando Messages postés 33073 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 16 avril 2024 - 7 févr. 2013 à 17:51
Bonjour,
J'ai installé ubuntu unity 12.04 en dual boot (xp / ubuntu), et n'ayant pas l'affichage permettant le choix de l'os au lancement, le recours à "grub-customizer" me perturbe car la présentation que j'en ai ne comporte pas de cases à cocher, mais devant chaque ligne, des "engrenages" pour les os, ou des "sortes de loupes".
[URL=http://imageshack.com/f/1fgrubcustomizerp][IMG]http://img51.imageshack.us/img51/6977/grubcustomizer.png[/IMG][/URL]
Pouvez-vous m'aider
merci



--

38 réponses

mamiemando Messages postés 33073 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 16 avril 2024 7 748
7 févr. 2013 à 05:44
@zipe31 & Jean Sandon:

Je n'ai pas suivi toute la discussion, mais si l'un de vous peut résumer ce qu'il fallait faire pour régler le problème et mettre un +1 sur la réponse, ça permettra de clore proprement ce fil de discussion.
1
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407
7 févr. 2013 à 10:11
Salut mamie,

Difficile de dire exactement ce qui a vraiment été primordial. C'est un ensemble de manipulations qui a permis d'arriver à une solution finale. D'autant plus que Jean Sandon n'a pas relancer update-grub après chaque manip

Il semblerait que pour son cas, l'intervention au post #39 de jeanbi ait été déterminante.
GRUB_GFXMODE=640x480
D'ailleurs il évoquait au message #9 un problème de résolution qui nous avait échappé ;-\

Perso chez moi, cette directive est commentée, autant sur mon système principal, que sur la machine virtuelle où j'ai fait mes tests pour aider notre ami.
Donc, en fonction de certaines résolutions propres à chaque écran, c'est une éventualité à prendre en compte.

Je lui avait fait aussi rajouter cette directive :
GRUB_DISABLE_OS_PROBER=true
dans ce post, car j'avais lu sur ce site, que le fait de ne pas tester la présence d'autres OS permettait d'afficher le menu, annulant de ce fait toutes directives du fichier grub/default concernant l'affichage du menu.

Directive supprimée pour la dernière manipulation afin de remettre l'entrée concernant Windows...


En résumé.

- Commenter les directives GRUB_HIDDEN_TIMEOUT=0 et GRUB_HIDDEN_TIMEOUT_QUIET=true

- Décommenter la directive GRUB_GFXMODE=640x480 en cas de problème de résolution (à adapter à son écran)

- Commenter la directive GRUB_DISABLE_OS_PROBER=true afin de prendre en charge les autres systèmes d'exploitations

Ce qui nous donne un fichier /etc/grub/default :
# 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=" Microsoft Windows XP Professionnel (on /dev/sda1)" 

#GRUB_HIDDEN_TIMEOUT="0" 
#GRUB_HIDDEN_TIMEOUT_QUIET=true 
GRUB_TIMEOUT=10 
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=true 
0
mamiemando Messages postés 33073 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 16 avril 2024 7 748
7 févr. 2013 à 17:51
Merci zipe31 :-)
0
mamiemando Messages postés 33073 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 16 avril 2024 7 748
Modifié par mamiemando le 2/02/2013 à 12:01
Je ne pense pas que ce soit nécessaire de passer par grub-customize, à mon avis il suffit juste de corriger /etc/default/grub :

gksudo gedit /etc/default/grub &


Par exemple moi j'ai :

# 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=5
GRUB_DISTRIBUTOR='lsb_release -i -s 2> /dev/null || echo Debian'
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
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"


Ensuite il suffit de lancer :

sudo grub-install


Bonne chance
0
Jean Sandon Messages postés 252 Date d'inscription dimanche 31 octobre 2004 Statut Membre Dernière intervention 26 octobre 2014 24
2 févr. 2013 à 12:47
Bonjour,
Merci beaucoup pour la réponse rapide.
Voici le contenu de 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="10"
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"


windows XP n'apparaît pas.

Pourtant :
--------------------------------------------------------
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 63 102398309 51199123+ 7 HPFS/NTFS/exFAT
/dev/sda2 102398371 488392064 192996847 f Étendue W95 (LBA)
/dev/sda5 102398373 339469514 118535571 7 HPFS/NTFS/exFAT
/dev/sda6 339469578 410267969 35399196 83 Linux
/dev/sda7 410268033 412227899 979933+ 82 partition d'échange Linux / Solaris
/dev/sda8 412227963 488392064 38082051 83 Linux
[1]+ Fini gksudo gedit /etc/default/grub
christiane@christiane-System-Product-Name:~$

--------------------------------------------------------------
Peux-tu m'aider un peu plus pour avoir le choix du système au lancement. Pour le moment je n'ai qu'Ubuntu.
merci



--
0
mamiemando Messages postés 33073 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 16 avril 2024 7 748
2 févr. 2013 à 13:16
À mon avis c'est cette option qui "masque" grub au démarrage :

GRUB_HIDDEN_TIMEOUT_QUIET="true" 


Rajoute un # au début de cette ligne, puis lance :

sudo update-grub


Redémarre et dis-moi si ça marche.

Bonne chance
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
Jean Sandon Messages postés 252 Date d'inscription dimanche 31 octobre 2004 Statut Membre Dernière intervention 26 octobre 2014 24
2 févr. 2013 à 15:08
Bonjour,

J'ai fait la manip :

=> #GRUB_HIDDEN_TIMEOUT_QUIET="true"

puis

=> sudo update-grub

hélas, le pc ne démarre toujours que sur ubuntu !


merci pour l'aide

--
0
jeanbi Messages postés 15118 Date d'inscription samedi 9 décembre 2006 Statut Contributeur Dernière intervention 6 février 2023 2 177
2 févr. 2013 à 17:44
bonjour
c'est
GRUB_DEFAULT="0" 

pour savoir quelle entree mettre
donne le contenu de /boot/grub/grub.cfg
a+
0
Jean Sandon Messages postés 252 Date d'inscription dimanche 31 octobre 2004 Statut Membre Dernière intervention 26 octobre 2014 24
2 févr. 2013 à 18:40
Bonsoir,
J'ai raté les envois précédents.
Voici la réponse à la question :

--christiane@christiane-System-Product-Name:~$ cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root dbde812c-02f0-44af-b91c-0857d566acd3
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root dbde812c-02f0-44af-b91c-0857d566acd3
set locale_dir=($root)/boot/grub/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu, avec Linux 3.2.0-37-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root dbde812c-02f0-44af-b91c-0857d566acd3
linux /boot/vmlinuz-3.2.0-37-generic-pae root=UUID=dbde812c-02f0-44af-b91c-0857d566acd3 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-37-generic-pae
}
menuentry 'Ubuntu, avec Linux 3.2.0-37-generic-pae (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root dbde812c-02f0-44af-b91c-0857d566acd3
echo 'Chargement de Linux 3.2.0-37-generic-pae ...'
linux /boot/vmlinuz-3.2.0-37-generic-pae root=UUID=dbde812c-02f0-44af-b91c-0857d566acd3 ro recovery nomodeset
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-3.2.0-37-generic-pae
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, avec Linux 3.2.0-23-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root dbde812c-02f0-44af-b91c-0857d566acd3
linux /boot/vmlinuz-3.2.0-23-generic-pae root=UUID=dbde812c-02f0-44af-b91c-0857d566acd3 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-23-generic-pae
}
menuentry 'Ubuntu, avec Linux 3.2.0-23-generic-pae (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root dbde812c-02f0-44af-b91c-0857d566acd3
echo 'Chargement de Linux 3.2.0-23-generic-pae ...'
linux /boot/vmlinuz-3.2.0-23-generic-pae root=UUID=dbde812c-02f0-44af-b91c-0857d566acd3 ro recovery nomodeset
echo 'Chargement du disque mémoire initial ...'
initrd /boot/initrd.img-3.2.0-23-generic-pae
}
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root dbde812c-02f0-44af-b91c-0857d566acd3
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root dbde812c-02f0-44af-b91c-0857d566acd3
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professionnel (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root D6D8FD73D8FD51EB
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
christiane@christiane-System-Product-Name:~$


Ensuite je devrai faire la modif que tu m'indiques et

(enlever le "#" mis précédemment ???)
Merci pour l'aide
0
Jean Sandon Messages postés 252 Date d'inscription dimanche 31 octobre 2004 Statut Membre Dernière intervention 26 octobre 2014 24
2 févr. 2013 à 19:06
Re,

SVP

que dois-faire exactement au sujet de :

c'est

GRUB_DEFAULT="0"
0
jeanbi Messages postés 15118 Date d'inscription samedi 9 décembre 2006 Statut Contributeur Dernière intervention 6 février 2023 2 177
Modifié par jeanbi le 2/02/2013 à 22:38
re
devrait etre.

 GRUB_DEFAULT="05"

a+
ps:mais si tu mets un nouveau kernel ça. ne serait plus bon
il vaudrait mieux écrire
GRUB_DEFAULT=" Microsoft Windows XP Professionnel (on /dev/sda1)"
je ne suis pas sur de l'exactitude de la ligne fait un tour sur le wiki d'ubuntu de grub 2

FC 18 - Mandriva 2010 -Debian 6.0-
Les meilleures choses ont besoin de patience.(JC ANGLADE)
0
Jean Sandon Messages postés 252 Date d'inscription dimanche 31 octobre 2004 Statut Membre Dernière intervention 26 octobre 2014 24
2 févr. 2013 à 22:56
Re
Avec => GRUB_DEFAULT="05"

Pas de menu au lancement !

(je n'ai pas fait le reste, le PC où j'ai installé Unity 12.04, est celui d'amis)

N.B C'est sans doute hors de cause, mais un message m'indique que la résolution conseillée est 1280x1024 que je ne peux avoir.
A+ et merci de ta disponibilité
0
mamiemando Messages postés 33073 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 16 avril 2024 7 748
3 févr. 2013 à 00:30
En fait il faut simplement reproduire ce que je t'ai donné dans mon premier message. Si tu lis ici :
https://askubuntu.com/questions/87409/i-cant-get-grub-menu-to-show-up-during-boot

... tu verras qu'il faut changer :

GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true


En :

GRUB_HIDDEN_TIMEOUT=10
GRUB_HIDDEN_TIMEOUT_QUIET=false


Bonne chance
0
Jean Sandon Messages postés 252 Date d'inscription dimanche 31 octobre 2004 Statut Membre Dernière intervention 26 octobre 2014 24
3 févr. 2013 à 09:41
Bonjour,

J'ai fait les modifications
(en enlevant le "#" devant GRUB_HIDDEN_TIMEOUT=10)

GRUB_HIDDEN_TIMEOUT=10
GRUB_HIDDEN_TIMEOUT_QUIET=false

Et toujours pas de menu au lancement.

Comment se sortir de cette impasse ?
merci



--
0
jeanbi Messages postés 15118 Date d'inscription samedi 9 décembre 2006 Statut Contributeur Dernière intervention 6 février 2023 2 177
Modifié par jeanbi le 3/02/2013 à 10:21
re,
GRUB_DEFAULT=" Microsoft Windows XP Professionnel (on /dev/sda1)"  

si tu ecris cette ligne , tu es sur d'avoir xp en choix 1 er , j'ai verifier c'est la bonne ligne
de plus il ne faut pas oublier à chaque modif de passer la commande
update-grub
qui va te t'indiquer exaxtement le contenu de ton fichier .
a+
ps: le man de grub2
`GRUB_DEFAULT'
The default menu entry. This may be a number, in which case it identifies
the Nth entry in the generated menu counted from zero, or the title of a menu
entry, or the special string `saved'. Using the title may be useful if you want
to set a menu entry as the default even though there may be a variable number
of entries before it.
For example, if you have:
menuentry 'Example GNU/Linux distribution' --class gnu-linux {
...
}
then you can make this the default using:
GRUB_DEFAULT='Example GNU/Linux distribution'
If you set this to `saved', then the default menu entry will be that saved by
`GRUB_SAVEDEFAULT', grub-set-default, or grub-reboot.
The default is `0'.
`GRUB_SAVEDEFAULT'
If this option is set to `true', then, when an entry is selected, save it as
a new default entry for use by future runs of GRUB. This is only useful if
`GRUB_DEFAULT=saved'; it is a separate option because `GRUB_DEFAULT=saved'


FC 18 - Mandriva 2010 -Debian 6.0-
Les meilleures choses ont besoin de patience.(JC ANGLADE)
0
Jean Sandon Messages postés 252 Date d'inscription dimanche 31 octobre 2004 Statut Membre Dernière intervention 26 octobre 2014 24
3 févr. 2013 à 10:40
Bonjour,

J'ai bien pris note de :

GRUB_DEFAULT=" Microsoft Windows XP Professionnel (on /dev/sda1)"

Pour ce qui concerne :

GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true



En :

GRUB_HIDDEN_TIMEOUT=10
GRUB_HIDDEN_TIMEOUT_QUIET=false


(qui m'était proposé), remettre :
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true

avec le"#" devant le premier ???


Sympa de continuer à me sortir de ce guêpier




--
0
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407
3 févr. 2013 à 11:18
Salut,

Extrait :
#GRUB_HIDDEN_TIMEOUT=0

Permet de définir si le menu de démarrage doit être affiché. Si ce paramètre est commenté, il sera affiché. Sinon, sa valeur est un nombre naturel (secondes). Ce nombre définit le nombre de secondes à attendre avant de lancer le boot de l'entrée par défaut. Si cette valeur est supérieure à 0, pendant le nombre de secondes définies, vous aurez la possibilité de faire afficher le menu manuellement en appuyant sur Esc par exemple.

#GRUB_HIDDEN_TIMEOUT_QUIET=true

Permet de définir si un chronomètre doit-être affiché durant les GRUB_HIDDEN_TIMEOUT secondes définies dans le paramètre précédent. Sa valeur est true ou false. Lorsque cette ligne est commentée, la valeur par défaut est false.

0
Jean Sandon Messages postés 252 Date d'inscription dimanche 31 octobre 2004 Statut Membre Dernière intervention 26 octobre 2014 24
3 févr. 2013 à 11:55
Re

Sans effet.

Je donne le nouveau contenu, afin que vous me disiez si tout est correct :
# 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=" Microsoft Windows XP Professionnel (on /dev/sda1)"

GRUB_HIDDEN_TIMEOUT="0"
#GRUB_HIDDEN_TIMEOUT_QUIET="0"
GRUB_TIMEOUT=10
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"

Help please
--
0
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407
3 févr. 2013 à 12:01
Qu'est-ce qui est sans effet ?
Le menu tel qu'il est ci-dessus ?
Ou le fait d'avoir commenté la ligne comme expliqué dans le lien ?
0
Jean Sandon Messages postés 252 Date d'inscription dimanche 31 octobre 2004 Statut Membre Dernière intervention 26 octobre 2014 24
3 févr. 2013 à 12:09
Re
Le démarrage se fait toujours sur uniquement ubuntu unity

A+
--
0
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407
3 févr. 2013 à 12:15
Oui ça on a compris, mais à partir de quelle configuration de grub ?
Je t'ai donné un lien, as-tu appliqué ce qui est dit ?
0
Jean Sandon Messages postés 252 Date d'inscription dimanche 31 octobre 2004 Statut Membre Dernière intervention 26 octobre 2014 24
3 févr. 2013 à 13:25
RE,
Je suis un peu perdu.

Dans le contenu actuel :

GRUB_DEFAULT=" Microsoft Windows XP Professionnel (on /dev/sda1)"

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


Qu'y a-t-il à modifier ?

Merci pour ta compréhension




--
0
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407
3 févr. 2013 à 13:32
GRUB_DEFAULT=" Microsoft Windows XP Professionnel (on /dev/sda1)"

#GRUB_HIDDEN_TIMEOUT="0"
#GRUB_HIDDEN_TIMEOUT_QUIET="0"
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR='lsb_release -i -s 2> /dev/null || echo Debian'
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
0
mamiemando Messages postés 33073 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 16 avril 2024 7 748
3 févr. 2013 à 13:40
Moi j'aurais mis ça :

# 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=5
GRUB_DISTRIBUTOR='lsb_release -i -s 2> /dev/null || echo Debian'
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
GRUB_HIDDEN_TIMEOUT=10
GRUB_HIDDEN_TIMEOUT_QUIET=false

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


Puis :

sudo update-grub


Bonne chance
0
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407
3 févr. 2013 à 13:46
Salut mamie,

Je t'invite à lire (ou relire) mon message en #14 concernant la variable "GRUB_HIDDEN_TIMEOUT" ;-\

Augmenter le délai ne sert pas à afficher le menu, mais à te laisser plus de temps afin d'appuyer sur la touche "ESC" pour pouvoir afficher le menu. C'est l'activation de la touche "ESC" qui permet d'afficher le menu.

En revanche, commenter cette ligne aurait pour conséquence d'afficher le menu d'entrée...
0
mamiemando Messages postés 33073 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 16 avril 2024 7 748
Modifié par mamiemando le 3/02/2013 à 13:48
Ah pardon. En fait ce qui me supprend c'est que sous debian on n'a pas toutes ces lignes (GRUB_HIDDEN_*) et du coup grub s'affiche correctement. Du coup il ne suffit pas de les dégager sous ubuntu et de faire un "sudo update-grub" ?
0
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407
3 févr. 2013 à 13:52
Depuis le passage à grub2, il y a longtemps que j'ai renoncé à comprendre la complexité affligeante de ce truc ;-(

De plus comme tu le soulignes, j'ai comme l'impression que chaque distrib a sa syntaxe particulière.
1
Jean Sandon Messages postés 252 Date d'inscription dimanche 31 octobre 2004 Statut Membre Dernière intervention 26 octobre 2014 24
3 févr. 2013 à 13:55
RE

Les modifications que l'on vient de me conseiller n'ont pas permis d'afficher le menu au lancement.

Peux-tu avoir l'amabilité de me dire ce que je dois faire d'une manière concrète, car maintenant je commence à bien nager.

A+
--
0
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407
3 févr. 2013 à 13:56
As-tu bien relancé grub avant de redémarrer ? (sudo update-grub)
1