Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 29/07/2018, à 21:31

Greggy

[Résolu] Memtest86+ ne s'affiche pas dans grub2

Bonsoir,
Je suis pas sûr d'être dans la bonne section du forum, mais je vous expose quand même mon problème hmm
J'ai besoin de votre aide : en effet, je souhaite tester mes barrette de ram avec Memtest86+, mais je n'arrive pas à le démarrer. Par défaut, je n'ai pas d'option pou le démarrer dans mon grub, mais je sais que la version 5.01-3ubuntu2 de Memtest86+ est installé.
J'ai essayé de modifier les droits d'écriture du fichier /etc/grub.d/20_memtest86+ pour faire apparaître une option, comme recommandé ici : https://doc.ubuntu-fr.org/tutoriel/grub … age_manuel, mais rien n'y fait.
J'ai aussi tenté d'ajouter une option manuellement dans 40_custom, mais avec guère plus de succès... neutral
J'espère avoir été assez clair (ce qui n'est pas sûr wink) et je vous remercie d'avance pour votre aide ! smile

Dernière modification par Greggy (Le 30/07/2018, à 23:26)

Hors ligne

#2 Le 29/07/2018, à 22:42

xabilon

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

Salut

Donne le résultat de ces commandes :

ls /boot
dpkg -l | grep memtest

Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#3 Le 30/07/2018, à 15:42

Greggy

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

Voilà les résultats des deux commandes
Désolé d'avoir tardé à répondre... smile

ls /boot : 

total 131M
drwxr-xr-x  4 root root 4,0K juil. 26 16:12 ./
drwxr-xr-x 25 root root 4,0K juil. 23 11:58 ../
-rw-r--r--  1 root root 1,5M mai   23 18:54 abi-4.15.0-23-generic
-rw-r--r--  1 root root 1,5M juil. 17 10:57 abi-4.15.0-29-generic
-rw-r--r--  1 root root 212K mai   23 18:54 config-4.15.0-23-generic
-rw-r--r--  1 root root 212K juil. 17 10:57 config-4.15.0-29-generic
drwx------  3 root root 4,0K janv.  1  1970 efi/
drwxr-xr-x  5 root root 4,0K juil. 29 20:53 grub/
-rw-r--r--  1 root root  52M juil.  8 22:17 initrd.img-4.15.0-23-generic
-rw-r--r--  1 root root  52M juil. 26 16:12 initrd.img-4.15.0-29-generic
-rw-r--r--  1 root root 179K janv. 28  2016 memtest86+.bin
-rw-r--r--  1 root root 181K janv. 28  2016 memtest86+.elf
-rw-r--r--  1 root root 181K janv. 28  2016 memtest86+_multiboot.bin
-rw-r--r--  1 root root    0 mai   23 18:54 retpoline-4.15.0-23-generic
-rw-r--r--  1 root root    0 juil. 17 10:57 retpoline-4.15.0-29-generic
-rw-------  1 root root 3,9M mai   23 18:54 System.map-4.15.0-23-generic
-rw-------  1 root root 3,9M juil. 17 10:57 System.map-4.15.0-29-generic
-rw-------  1 root root 7,9M mai   23 19:49 vmlinuz-4.15.0-23-generic
-rw-------  1 root root 7,9M juil. 17 17:26 vmlinuz-4.15.0-29-generic


dpkg -l | grep memtest : 

1496:ii  memtest86+                                 5.01-3ubuntu2                       amd64        thorough real-mode memory tester

Hors ligne

#4 Le 30/07/2018, à 16:18

xabilon

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

D'accord, memtest est installé et les fichiers sont bien présents dans /boot

Maintenant tape ces 2 commandes, et donne le résultat de la 2e (ce sera assez long) :

sudo update-grub
cat /boot/grub/grub.cfg

Dernière modification par xabilon (Le 30/07/2018, à 16:18)


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#5 Le 30/07/2018, à 18:15

Greggy

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

Voilà le résultat

#
# 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
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

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 {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  86051b51-ffa4-4fe1-aaa8-11c4b3e910c6
else
  search --no-floppy --fs-uuid --set=root 86051b51-ffa4-4fe1-aaa8-11c4b3e910c6
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=1
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=1
  fi
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,0; 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=1
	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
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-86051b51-ffa4-4fe1-aaa8-11c4b3e910c6' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  86051b51-ffa4-4fe1-aaa8-11c4b3e910c6
	else
	  search --no-floppy --fs-uuid --set=root 86051b51-ffa4-4fe1-aaa8-11c4b3e910c6
	fi
        linux	/boot/vmlinuz-4.15.0-29-generic root=UUID=86051b51-ffa4-4fe1-aaa8-11c4b3e910c6 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.15.0-29-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-86051b51-ffa4-4fe1-aaa8-11c4b3e910c6' {
	menuentry 'Ubuntu, avec Linux 4.15.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-29-generic-advanced-86051b51-ffa4-4fe1-aaa8-11c4b3e910c6' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  86051b51-ffa4-4fe1-aaa8-11c4b3e910c6
		else
		  search --no-floppy --fs-uuid --set=root 86051b51-ffa4-4fe1-aaa8-11c4b3e910c6
		fi
		echo	'Chargement de Linux 4.15.0-29-generic…'
	        linux	/boot/vmlinuz-4.15.0-29-generic root=UUID=86051b51-ffa4-4fe1-aaa8-11c4b3e910c6 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-29-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-29-generic-recovery-86051b51-ffa4-4fe1-aaa8-11c4b3e910c6' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  86051b51-ffa4-4fe1-aaa8-11c4b3e910c6
		else
		  search --no-floppy --fs-uuid --set=root 86051b51-ffa4-4fe1-aaa8-11c4b3e910c6
		fi
		echo	'Chargement de Linux 4.15.0-29-generic…'
	        linux	/boot/vmlinuz-4.15.0-29-generic root=UUID=86051b51-ffa4-4fe1-aaa8-11c4b3e910c6 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-29-generic
	}
	menuentry 'Ubuntu, avec Linux 4.15.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-23-generic-advanced-86051b51-ffa4-4fe1-aaa8-11c4b3e910c6' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  86051b51-ffa4-4fe1-aaa8-11c4b3e910c6
		else
		  search --no-floppy --fs-uuid --set=root 86051b51-ffa4-4fe1-aaa8-11c4b3e910c6
		fi
		echo	'Chargement de Linux 4.15.0-23-generic…'
	        linux	/boot/vmlinuz-4.15.0-23-generic root=UUID=86051b51-ffa4-4fe1-aaa8-11c4b3e910c6 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-23-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-23-generic-recovery-86051b51-ffa4-4fe1-aaa8-11c4b3e910c6' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  86051b51-ffa4-4fe1-aaa8-11c4b3e910c6
		else
		  search --no-floppy --fs-uuid --set=root 86051b51-ffa4-4fe1-aaa8-11c4b3e910c6
		fi
		echo	'Chargement de Linux 4.15.0-23-generic…'
	        linux	/boot/vmlinuz-4.15.0-23-generic root=UUID=86051b51-ffa4-4fe1-aaa8-11c4b3e910c6 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.15.0-23-generic
	}
}

### 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+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-1AFF-7F00' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  1AFF-7F00
	else
	  search --no-floppy --fs-uuid --set=root 1AFF-7F00
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### 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  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

Hors ligne

#6 Le 30/07/2018, à 18:29

xabilon

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

Effectivement, on voit dans le grub.cfg que le script /etc/grub.d/20_memtest86+ est bien lancé pour créer l'entrée correspondante dans le menu, mais celui-ci ne crée rien du tout.

Que donnent :

ls -l /etc/grub.d/
cat /etc/default/grub

Et tant qu'à faire, on va regarder le script en question :

cat -n /etc/grub.d/20_memtest86+

Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#7 Le 30/07/2018, à 18:59

Greggy

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

Voilà la sortie pour /etc/grub.d/ :

total 96K
drwxr-xr-x   2 root root 4,0K juil. 29 20:49 ./
drwxr-xr-x 130 root root  12K juil. 27 15:10 ../
-rwxr-xr-x   1 root root 9,6K mars   4 14:11 00_header*
-rwxr-xr-x   1 root root 6,2K mars   4 14:11 05_debian_theme*
-rwxr-xr-x   1 root root  13K mars   4 14:11 10_linux*
-rwxr-xr-x   1 root root  12K mars   4 14:11 20_linux_xen*
-rwxr-xr-x   1 root root 2,0K janv. 28  2016 20_memtest86+*
-rwxr-xr-x   1 root root  12K mars   4 14:11 30_os-prober*
-rwxr-xr-x   1 root root 1,4K mars   4 14:11 30_uefi-firmware*
-rwxr-xr-x   1 root root  213 juil. 29 20:49 40_custom*
-rwxr-xr-x   1 root root  216 mars   4 14:11 41_custom*
-rw-r--r--   1 root root  483 mars   4 14:11 README 

Pour le 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=1
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 enfin pour le cat de 20_memtest86+

#!/bin/sh
set -e

if [ -f /usr/lib/grub/grub-mkconfig_lib ]; then
  . /usr/lib/grub/grub-mkconfig_lib
  LX=linux16
elif [ -f /usr/lib/grub/update-grub_lib ]; then
  . /usr/lib/grub/update-grub_lib
  LX=linux
else
  # no grub file, so we notify and exit gracefully
  echo "Cannot find grub config file, exiting." >&2
  exit 0
fi

# We need 16-bit boot, which isn't available on EFI.
if [ -d /sys/firmware/efi ]; then
  exit 0
fi

# We can't cope with loop-mounted devices here.
case ${GRUB_DEVICE_BOOT} in
  /dev/loop/*|/dev/loop[0-9]) exit 0 ;;
esac

export TEXTDOMAIN=memtest86+

prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/")"

if test -e /boot/memtest86+.elf ; then
  MEMTESTPATH=$( make_system_path_relative_to_its_root "/boot/memtest86+.elf" )
  echo "Found memtest86+ image: $MEMTESTPATH" >&2
  cat << EOF
menuentry '$(gettext_printf "Memory test (memtest86+)")' {
EOF
  printf '%s\n' "${prepare_boot_cache}"
  cat << EOF
	knetbsd	$MEMTESTPATH
}
EOF
fi

if test -e /boot/memtest86+.bin ; then
  MEMTESTPATH=$( make_system_path_relative_to_its_root "/boot/memtest86+.bin" )
  echo "Found memtest86+ image: $MEMTESTPATH" >&2
  cat << EOF
menuentry '$(gettext_printf "Memory test (memtest86+, serial console 115200)")' {
EOF
  printf '%s\n' "${prepare_boot_cache}"
  cat << EOF
	$LX	$MEMTESTPATH console=ttyS0,115200n8
}
EOF
fi

#if test -e /boot/memtest86+_multiboot.bin ; then
#  MEMTESTPATH=$( make_system_path_relative_to_its_root "/boot/memtest86+_multiboot.bin" )
#  echo "Found memtest86+ multiboot image: $MEMTESTPATH" >&2
#  cat << EOF
#menuentry '$(gettext_printf "Memory test (memtest86+, experimental multiboot)")' {
#EOF
#  printf '%s\n' "${prepare_boot_cache}"
#  cat << EOF
#	multiboot	$MEMTESTPATH
#}
#menuentry '$(gettext_printf "Memory test (memtest86+, serial console 115200, experimental multiboot)")' {
#EOF
#  printf '%s\n' "${prepare_boot_cache}"
#  cat << EOF
#	multiboot	$MEMTESTPATH console=ttyS0,115200n8
#}
#EOF
#fi

Hors ligne

#8 Le 30/07/2018, à 20:59

xabilon

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

Ok, je ne vois rien d'inhabituel... on va quand même faire une réinstallation :

sudo apt install --reinstall memtest86+

Puis donne le résultat de :

sudo update-grub

Dernière modification par xabilon (Le 30/07/2018, à 21:01)


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#9 Le 30/07/2018, à 21:27

Babdu89

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

Bonjour.

Dans le grub/cfg, on voit que la rubrique;

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

est vide.

Chez moi j'ai;

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  041cfc74-96e1-4c0f-ad6f-61ae768a1a3c
	else
	  search --no-floppy --fs-uuid --set=root 041cfc74-96e1-4c0f-ad6f-61ae768a1a3c
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  041cfc74-96e1-4c0f-ad6f-61ae768a1a3c
	else
	  search --no-floppy --fs-uuid --set=root 041cfc74-96e1-4c0f-ad6f-61ae768a1a3c
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

Si le script 20_memtest86+  est valide.

Peut-être qu'il ne s’exécute pas lors de la mise à jour de grub?. (dans  "propriétés" "permissions" du script; est-ce que "Autoriser l'exécution du fichier comme un programme" est coché?.).

Une piste peut-être?.

@+.   Babdu89   .


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne

#10 Le 30/07/2018, à 21:57

Greggy

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

Voilà le résultat de sudo update-grub après la réinstallation de memtest86+

Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-4.15.0-29-generic
Image mémoire initiale trouvée : /boot/initrd.img-4.15.0-29-generic
Image Linux trouvée : /boot/vmlinuz-4.15.0-23-generic
Image mémoire initiale trouvée : /boot/initrd.img-4.15.0-23-generic
Windows Boot Manager trouvé sur /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
fait

Dernière modification par Greggy (Le 30/07/2018, à 22:03)

Hors ligne

#11 Le 30/07/2018, à 22:02

Greggy

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

Babdu89, j'ai trouvé la permission dont tu parles, et la case "Autoriser l'exécution du fichier comme un programme" est bien coché smile

Hors ligne

#12 Le 30/07/2018, à 22:18

Nuliel

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

Bonjour,

J'ai malheureusement trouvé cela: https://askubuntu.com/questions/917961/ … using-uefi

Ton bios est en mode EFI j'imagine?

Dernière modification par Nuliel (Le 30/07/2018, à 22:20)

Hors ligne

#13 Le 30/07/2018, à 22:27

Greggy

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

Je n'en ai aucune idée, comment peut-on savoir ?

Hors ligne

#14 Le 30/07/2018, à 22:30

Nuliel

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

Avec la commande

[ -d /sys/firmware/efi ] && echo "Installé en mode EFI" || echo "Installé en mode classique"

(à coller dans un terminal avec crtl+shift+v)

Hors ligne

#15 Le 30/07/2018, à 22:34

Greggy

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

Oui, il est en mode EFI.
Si j'ai bien compris, c'est donc totalement impossible de lancer memtest86+ au démarrage sans passer par une clé usb ou un cd avec memtest86 V5 ou supérieur, c'est ça ?

Dernière modification par Greggy (Le 30/07/2018, à 22:50)

Hors ligne

#16 Le 30/07/2018, à 23:07

xabilon

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

En effet, le script 20_memtest86+ s'exécute bien, mais on y trouve :

# We need 16-bit boot, which isn't available on EFI.
if [ -d /sys/firmware/efi ]; then
  exit 0
fi

Et donc il ne crée aucune option memtest dans grub parce que le boot est EFI.

Je viens de vérifier sur mon portable en EFI : pas de memtest au grub...


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#17 Le 30/07/2018, à 23:15

Nuliel

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

Je suis aussi en mode EFI et j'ai pas non plus de memtest86+
Deux possibilités: utiliser memtest86 qui est pas un logiciel libre mais gratuit et compatible EFI, ou trouver un moyen de lancer memtest86+ (qui est un logiciel libre et gratuit) en jouant avec le mode legacy.
Pour la deuxième possibilité, ça reviendrait à passer de EFI à legacy, utiliser un live usb qui puisse lancer memtest86+ puis repasser de legacy à EFI

Bizarrement, j'ai tenté de passer en legacy puis j'ai démarré sur un live usb et memtest86+ n'apparaît pas dans le menu grub du live usb

Dernière modification par Nuliel (Le 30/07/2018, à 23:15)

Hors ligne

#18 Le 30/07/2018, à 23:25

Greggy

Re : [Résolu] Memtest86+ ne s'affiche pas dans grub2

Merci de votre aide, je vais certainement utiliser memtest86 en faisant une clé USB bootable.

Hors ligne