Question sur grub-customizer - Page 2

Résolu
Précédent
  • 1
  • 2
  1. Jean Sandon Messages postés 258 Statut Membre 24
     
    Re

    Oui,
    et d'ailleurs on voit que windows y est pris en compte.

    Est-ce que la résolution conseillée (1280x1024) peut avoir une incidence ? Le pavé qui l'indique se déplace longuement avant le lancement d'ubuntu.

    --
    0
  2. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
     
    Bon je viens de faire un test sur une machine virtuelle avec une Ubuntu 12.04 qui était installée et dont le grub était masqué au démarrage.

    Le fichier original (/etc/default/grub) ressemblait à ceci :
    # 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"


    J'ai commenté les deux lignes ci-dessus en gras, ce qui m'a donné ç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_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"

    Et j'ai ensuite lancé un update de grub :
    sudo update-grub

    Et j'ai redémarré avec un joli écran de grub ;-))
    0
  3. Jean Sandon Messages postés 258 Statut Membre 24
     
    la dernière config =>

    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
    1. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
       
      Et toujours pareil ?
      0
  4. Jean Sandon Messages postés 258 Statut Membre 24
     
    RE

    Je dois abandonner => GRUB_DEFAULT=" Microsoft Windows XP Professionnel (on /dev/sda1)"

    et essayer :

    GRUB_DEFAULT=0
    #GRUB_HIDDEN_TIMEOUT=0
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10

    C'est bien ça ?

    Encore merci pour ta patience
    --
    0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. jeanbi Messages postés 15399 Date d'inscription   Statut Contributeur Dernière intervention   2 383
     
    re
    si tu veux toujours que le 1er choix soit xp , il ne faut pas mettre 0 0 etant la 1er ligne de lancement trouve
    0 a X = n ° des ligne de lancement comme dans grub 1
    saved = la derniere config lancer correctement ..
    "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx" = la ligne de lancement
    y a rien de complique dans grub 2 suffit de lire le man
    de plus il ne faut en aucun cas modifier directement /boot/grub/grub.cfg
    car ça ne marche pas comme ça il faut passer par /etc/default/grub
    exemple de fichier
    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR="Fedora"
    GRUB_DEFAULT=saved  ici tu mets " Microsoft Windows XP Professionnel (on /dev/sda1)" 
    GRUB_CMDLINE_LINUX="rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True LANG=fr_FR.UTF-8 rd.luks=0  KEYTABLE=fr-latin9 rhgb quiet"
    #GRUB_THEME="/boot/grub2/themes/system/theme.txt"
    GRUB_GFXMODE=1280x1024x32
    GRUB_GFXPAYLOAD_LINUX=keep
    GRUB_TERMINAL_OUTPUT=gfxterm
    

    c'est un exemple adapte en fonction de son fichier
    a+
    0
  7. Jean Sandon Messages postés 258 Statut Membre 24
     
    Pas de menu non plus avec cette configuration :

    GRUB_DEFAULT=0
    #GRUB_HIDDEN_TIMEOUT=0
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10

    C'est désespérant.
    Je ne vois pas non plus quel autre os installer puisque unity 12.04 ne veut rien savoir.

    Ca ne peut pas venir de la partition windows ???
    --
    0
    1. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
       
      En dernier recours (enfin me concernant), essaie de rajouter à la fin de ton fichier /etc/default/grub, cette directive :

      GRUB_DISABLE_OS_PROBER=true

      Relance un "sudo update-grub" et redémarre...
      0
  8. Jean Sandon Messages postés 258 Statut Membre 24
     
    Le rajout a été fait,
    et pas de menu au lancement

    Merci de ton aide, j'accepte tout conseil. Cette situation ne m'est jamais arrivée, et il a fallu que ce soit sur le pc d'amis.
    A+ et merci

    --
    0
  9. mamiemando Messages postés 33173 Date d'inscription   Statut Modérateur Dernière intervention   7 945
     
    Petites précisions :
    - une ligne qui commence par # est ignorée.
    - chaque fois que tu modifies le fichier de configuration, tu dois relancer "sudo update-grub"

    Est-ce que la résolution conseillée (1280x1024) peut avoir une incidence ? Le pavé qui l'indique se déplace longuement avant le lancement d'ubuntu.

    De quel pavé parles-tu ?

    Normalement si tu as suivi l'exemple que j'ai donné ici :
    https://forums.commentcamarche.net/forum/oldest/27048966-question-sur-grub-customizer#21

    ... la résolution est commentée et n'intervient pas.

    Bonne chance
    0
  10. jeanbi Messages postés 15399 Date d'inscription   Statut Contributeur Dernière intervention   2 383
     
    re,
    mais vous n'avez pas compris comment fonctionne grub2 il me semble
    le fichier /etc/default/grub n'a pas besoin de ligne avec des #
    puisque le fait de taper sudo update-grub reecrit entièrement le fichier grub.cfg
    en relisant
    /etc/default/grub
    et les fichiers attenant
    donc votre fichier /etc/grub/default doit contenir toutes infos necessaire à chaque fois
    j'ai donner un exemple de fichier
    peut tu me donner le tien
    cat /etc/default/grub
    a +
    0
  11. Jean Sandon Messages postés 258 Statut Membre 24
     
    RE bonsoir,

    cat /etc/default/grub

    # 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"
    GRUB_DISABLE_OS_PROBER=true

    christiane@christiane-System-Product-Name:~$

    Effectivement le mécanisme de grub m'échappe

    --
    0
  12. jeanbi Messages postés 15399 Date d'inscription   Statut Contributeur Dernière intervention   2 383
     
    re
    comment veux tu avoir un menu si tu n'a pas d'affichage
    #GRUB_GFXMODE=640x480
    enleve le #
    et revalide
    a+
    0
    1. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
       
      Euh... non, ça ça n'a rien à voir avec le fait que le menu s'affiche ou pas ;-\

      Chez moi c'est commenté et j'ai un menu au boot.
      0
  13. Jean Sandon Messages postés 258 Statut Membre 24
     
    Re

    cat /etc/defauft/grub

    # 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

    J'ai validé simplement sans => sudo update-grub

    Pas de menu à l'horizon
    A+

    --
    0
    1. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
       
      J'ai validé simplement sans => sudo update-grub

      Si tu fais ça depuis le début, ben on s'embête pour rien alors ;-(

      C'est LA condition sine qua non pour que les changements soient pris en compte ;-\
      1
  14. jeanbi Messages postés 15399 Date d'inscription   Statut Contributeur Dernière intervention   2 383
     
    re,
    pour zip31 tu as juste un menu style grub 1
    on se demande a quoi sert de repeter apres chaque modif il faut taper
    sudo update-grub
    ;-)
    a+
    0
    1. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
       
      pour zip31 tu as juste un menu style grub 1
      C'est possible, merci.
      Par contre c'est quoi un menu style grub 1 ? Et qu'est-ce que cela change par rapport à la directive GRUB_GFXMODE ?
      Ce qui laisserait à penser qu'il y a un menu style grub 2... right ? ;-)
      0
  15. Jean Sandon Messages postés 258 Statut Membre 24
     
    Re,

    Un magnifique menu, mais sans windows.

    (c'était la seule fois sans sudo update-grub) par mauvaise interprétation

    N.B Même avec :
    GRUB_DEFAULT=" Microsoft Windows XP Professionnel (on /dev/sda1)"


    voici avec windows :

    cat /etc/default/grub :
    christiane@christiane-System-Product-Name:~$ 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=" 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=""


    On commence à voir le bout du tunnel.
    A+
    désolé de vous solliciter tant de fois
    --
    0
  16. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
     
    Bon, histoire d'y voir plus clair à cause des nombreux messages et manipulations faits, peux-tu s'il te plaît afficher le résultat des commandes suivantes (merci de mettre chaque commande entre des balises codes (le bouton "<>" de la zone de rédaction d'un message) :

    sudo fdisk -l
    
    cat  /etc/default/grub
    
    cat /boot/grub/grub.cfg
    
    sudo update-grub

    0
  17. Jean Sandon Messages postés 258 Statut Membre 24
     
    Bonjour,

    Affichage des commandes :
    sudo fdisk -l

    christiane@christiane-System-Product-Name:~$ sudo fdisk -l
    [sudo] password for christiane: 
    
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 têtes, 63 secteurs/piste, 30401 cylindres, total 488397168 secteurs
    Unités = secteurs de 1 * 512 = 512 octets
    Taille de secteur (logique / physique) : 512 octets / 512 octets
    taille d'E/S (minimale / optimale) : 512 octets / 512 octets
    Identifiant de disque : 0x7e437e43
    
    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
    christiane@christiane-System-Product-Name:~$ 
    


    cat /etc/default/grub

     
    christiane@christiane-System-Product-Name:~$ 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=" 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 
    
    christiane@christiane-System-Product-Name:~$  


    cat /boot/grub/grub.cfg

    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=" Microsoft Windows XP Professionnel (on /dev/sda1)" 
    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 96c613a6-59c1-4eeb-bd14-4794cda2714b 
    if loadfont /usr/share/grub/unicode.pf2 ; then 
      set gfxmode=640x480 
      load_video 
      insmod gfxterm 
      insmod part_msdos 
      insmod ext2 
      set root='(hd0,msdos6)' 
      search --no-floppy --fs-uuid --set=root 96c613a6-59c1-4eeb-bd14-4794cda2714b 
      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 96c613a6-59c1-4eeb-bd14-4794cda2714b 
    	linux	/boot/vmlinuz-3.2.0-37-generic-pae root=UUID=96c613a6-59c1-4eeb-bd14-4794cda2714b 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 96c613a6-59c1-4eeb-bd14-4794cda2714b 
    	echo	'Chargement de Linux 3.2.0-37-generic-pae ...' 
    	linux	/boot/vmlinuz-3.2.0-37-generic-pae root=UUID=96c613a6-59c1-4eeb-bd14-4794cda2714b 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 96c613a6-59c1-4eeb-bd14-4794cda2714b 
    	linux	/boot/vmlinuz-3.2.0-23-generic-pae root=UUID=96c613a6-59c1-4eeb-bd14-4794cda2714b 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 96c613a6-59c1-4eeb-bd14-4794cda2714b 
    	echo	'Chargement de Linux 3.2.0-23-generic-pae ...' 
    	linux	/boot/vmlinuz-3.2.0-23-generic-pae root=UUID=96c613a6-59c1-4eeb-bd14-4794cda2714b 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 96c613a6-59c1-4eeb-bd14-4794cda2714b 
    	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 96c613a6-59c1-4eeb-bd14-4794cda2714b 
    	linux16	/boot/memtest86+.bin console=ttyS0,115200n8 
    } 
    ### END /etc/grub.d/20_memtest86+ ### 
    
    ### BEGIN /etc/grub.d/30_os-prober ### 
    ### 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:~$  


    sudo update-grub

    christiane@christiane-System-Product-Name:~$ sudo update-grub 
    Generating grub.cfg ... 
    
    Found linux image: /boot/vmlinuz-3.2.0-37-generic-pae 
    Found initrd image: /boot/initrd.img-3.2.0-37-generic-pae 
    Found linux image: /boot/vmlinuz-3.2.0-23-generic-pae 
    Found initrd image: /boot/initrd.img-3.2.0-23-generic-pae 
    Found memtest86+ image: /boot/memtest86+.bin 
    done 
    christiane@christiane-System-Product-Name:~$  


    Merci d'être toujours sur cette résolution d'affichage des deux systèmes.

    (Préférence pour ubuntu en premier, si possible).
    --
    0
    1. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
       
      Bon, commente la dernière ligne du fichier "/etc/default/grub" :
      #GRUB_DISABLE_OS_PROBER=true

      Puis relance la commande "sudo update-grub" et affiche la sortie.
      0
  18. Jean Sandon Messages postés 258 Statut Membre 24
     
    christiane@christiane-System-Product-Name:~$ sudo update-grub
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-3.2.0-37-generic-pae
    Found initrd image: /boot/initrd.img-3.2.0-37-generic-pae
    Found linux image: /boot/vmlinuz-3.2.0-23-generic-pae
    Found initrd image: /boot/initrd.img-3.2.0-23-generic-pae
    Found memtest86+ image: /boot/memtest86+.bin
    Found Microsoft Windows XP Professionnel on /dev/sda1
    done
    christiane@christiane-System-Product-Name:~$ 
    
     


    --
    0
    1. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
       
      Found Microsoft Windows XP Professionnel on /dev/sda1

      Ok, apparemment ton Windows a été pris en compte cette fois. Essaie de redémarrer en espérant qu'il apparaisse bien dans le menu.
      0
  19. Jean Sandon Messages postés 258 Statut Membre 24
     
    Le menu est arrivé, dans l'ordre, fonctionnel.

    Je vous suis infiniment reconnaissant d'avoir résolu ce problème sur le pc d'amis sur lequel j'installais cette nouvelle release.

    Merci aussi pour votre disponibilité et votre patience.

    Super le forum

    --
    0
    1. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
       
      De rien ;-)
      0
Précédent
  • 1
  • 2