Question sur grub-customizer

Résolu
Jean Sandon Messages postés 258 Statut Membre -  
mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   -
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

  • 1
  • 2
Résumé de la discussion

Problème récurrent lors d'un dual-boot Linux et Windows : l'absence d'un menu de sélection des systèmes au démarrage et l'affichage de grub-customizer qui montre des engrenages ou des icônes plutôt que des cases à cocher. Plusieurs intervenants recommandent d'appliquer sudo update-grub après modification pour que les changements soient pris en compte et que le menu apparaisse au prochain démarrage correctement. D'autres rappellent que grub2 peut sembler complexe et que les paramètres du fichier /etc/default/grub, tels que GRUB_HIDDEN_TIMEOUT ou GRUB_TIMEOUT, influencent l'affichage du menu et nécessitent vérification et décommentage éventuel. Par ailleurs, certains échanges indiquent que la résolution graphique et les choix de GRUB_GFXMODE peuvent influencer l'affichage du menu et nécessiter des ajustements pour que le menu apparaisse.

Généré automatiquement par IA
sur la base des meilleures réponses
  1. mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   7 943
     
    @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
    1. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
       
      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
    2. mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   7 943
       
      Merci zipe31 :-)
      0
  2. mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   7 943
     
    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
  3. Jean Sandon Messages postés 258 Statut Membre 24
     
    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
  4. mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   7 943
     
    À 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
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. Jean Sandon Messages postés 258 Statut Membre 24
     
    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
  7. jeanbi Messages postés 15399 Date d'inscription   Statut Contributeur Dernière intervention   2 383
     
    bonjour
    c'est
    GRUB_DEFAULT="0" 

    pour savoir quelle entree mettre
    donne le contenu de /boot/grub/grub.cfg
    a+
    0
  8. Jean Sandon Messages postés 258 Statut Membre 24
     
    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
  9. Jean Sandon Messages postés 258 Statut Membre 24
     
    Re,

    SVP

    que dois-faire exactement au sujet de :

    c'est

    GRUB_DEFAULT="0"
    0
  10. jeanbi Messages postés 15399 Date d'inscription   Statut Contributeur Dernière intervention   2 383
     
    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
  11. Jean Sandon Messages postés 258 Statut Membre 24
     
    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
  12. mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   7 943
     
    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
  13. Jean Sandon Messages postés 258 Statut Membre 24
     
    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
  14. jeanbi Messages postés 15399 Date d'inscription   Statut Contributeur Dernière intervention   2 383
     
    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
  15. Jean Sandon Messages postés 258 Statut Membre 24
     
    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
  16. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
     
    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
  17. Jean Sandon Messages postés 258 Statut Membre 24
     
    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
    1. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
       
      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
  18. Jean Sandon Messages postés 258 Statut Membre 24
     
    Re
    Le démarrage se fait toujours sur uniquement ubuntu unity

    A+
    --
    0
    1. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
       
      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
  19. Jean Sandon Messages postés 258 Statut Membre 24
     
    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
    1. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
       
      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
  20. mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   7 943
     
    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
    1. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
       
      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
    2. mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   7 943
       
      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
    3. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
       
      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
  21. Jean Sandon Messages postés 258 Statut Membre 24
     
    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
    1. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
       
      As-tu bien relancé grub avant de redémarrer ? (sudo update-grub)
      1
  • 1
  • 2