Liebe Ubuntu-Kenner!
In meinem Boot-Menü fehlt memtest86+.
Ich habe memtest86+ und grub2 neu installiert. Trotzdem fehlt nach update-grub der Eintrag für memtest86+ in der grub.cfg.
Meine Konfiguration ist : EFI-Bootsystem
bmx@BMLTU:~$ uname -a Linux BMLTU 3.19.0-18-generic #18~14.04.1-Ubuntu SMP Wed May 20 09:38:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
bmx@BMLTU:/boot$ ls -l insgesamt 67597 -rw-r--r-- 1 root root 1208061 Jul 7 18:30 abi-3.16.0-44-lowlatency -rw-r--r-- 1 root root 1269284 Mai 20 12:40 abi-3.19.0-18-generic -rw-r--r-- 1 root root 171815 Jul 7 18:30 config-3.16.0-44-lowlatency -rw-r--r-- 1 root root 177708 Mai 20 12:40 config-3.19.0-18-generic drwxr-xr-x 3 root root 1024 Jan 1 1970 efi drwxr-xr-x 5 root root 12288 Jul 28 21:51 grub -rw-r--r-- 1 root root 19404005 Jul 26 15:49 initrd.img-3.16.0-44-lowlatency -rw-r--r-- 1 root root 19797397 Jul 16 11:14 initrd.img-3.19.0-18-generic -rw-r--r-- 1 root root 176500 Mär 12 2014 memtest86+.bin -rw-r--r-- 1 root root 178176 Mär 12 2014 memtest86+.elf -rw-r--r-- 1 root root 178680 Mär 12 2014 memtest86+_multiboot.bin -rw------- 1 root root 3512964 Jul 7 18:30 System.map-3.16.0-44-lowlatency -rw------- 1 root root 3622300 Mai 20 12:40 System.map-3.19.0-18-generic -rw------- 1 root root 6355184 Jul 7 18:30 vmlinuz-3.16.0-44-lowlatency -rw------- 1 root root 6562560 Mai 20 12:40 vmlinuz-3.19.0-18-generic -rw------- 1 root root 6564472 Mai 22 11:14 vmlinuz-3.19.0-18-generic.efi.signed
bmx@BMLTU:/boot/grub$ ls -l insgesamt 2644 -rw-r--r-- 1 root root 123904 Jul 4 2014 core.efi drwxr-xr-x 2 root root 4096 Dez 2 2014 fonts -r--r--r-- 1 root root 8689 Jul 28 18:40 grub.cfg -rw-r--r-- 1 root root 123904 Jul 4 2014 grub.efi -rw-r--r-- 1 root root 1024 Jul 28 21:58 grubenv -rw-r--r-- 1 root root 87 Jul 4 2014 load.cfg drwxr-xr-x 2 root root 4096 Jul 26 18:11 locale -rw-r--r-- 1 root root 371 Jul 28 21:51 menu.lst -rw-r--r-- 1 root root 0 Jan 15 2014 setup_left_core_image_in_filesystem -rw-r--r-- 1 root root 2405285 Jul 26 18:11 unicode.pf2 drwxr-xr-x 2 root root 12288 Jul 26 18:11 x86_64-efi
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 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 77469728-4433-4bce-ad2e-f131e4c426ea else search --no-floppy --fs-uuid --set=root 77469728-4433-4bce-ad2e-f131e4c426ea 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=de_DE insmod gettext fi terminal_output gfxterm if [ "${recordfail}" = 1 ] ; then set timeout=30 else if [ x$feature_timeout_style = xy ] ; then set timeout_style=hidden set timeout=0 # Fallback hidden-timeout code in case the timeout_style feature is # unavailable. elif sleep --interruptible 0 ; then set timeout=0 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=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 menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-77469728-4433-4bce-ad2e-f131e4c426ea' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio 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 77469728-4433-4bce-ad2e-f131e4c426ea else search --no-floppy --fs-uuid --set=root 77469728-4433-4bce-ad2e-f131e4c426ea fi linux /boot/vmlinuz-3.19.0-18-generic.efi.signed root=UUID=77469728-4433-4bce-ad2e-f131e4c426ea ro quiet splash $vt_handoff initrd /boot/initrd.img-3.19.0-18-generic } submenu 'Erweiterte Optionen für Ubuntu' $menuentry_id_option 'gnulinux-advanced-77469728-4433-4bce-ad2e-f131e4c426ea' { menuentry 'Ubuntu, mit Linux 3.19.0-18-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-18-generic-advanced-77469728-4433-4bce-ad2e-f131e4c426ea' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio 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 77469728-4433-4bce-ad2e-f131e4c426ea else search --no-floppy --fs-uuid --set=root 77469728-4433-4bce-ad2e-f131e4c426ea fi echo 'Linux 3.19.0-18-generic wird geladen …' linux /boot/vmlinuz-3.19.0-18-generic.efi.signed root=UUID=77469728-4433-4bce-ad2e-f131e4c426ea ro quiet splash $vt_handoff echo 'Initiale Ramdisk wird geladen …' initrd /boot/initrd.img-3.19.0-18-generic } menuentry 'Ubuntu, with Linux 3.19.0-18-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-18-generic-recovery-77469728-4433-4bce-ad2e-f131e4c426ea' { recordfail load_video insmod gzio 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 77469728-4433-4bce-ad2e-f131e4c426ea else search --no-floppy --fs-uuid --set=root 77469728-4433-4bce-ad2e-f131e4c426ea fi echo 'Linux 3.19.0-18-generic wird geladen …' linux /boot/vmlinuz-3.19.0-18-generic.efi.signed root=UUID=77469728-4433-4bce-ad2e-f131e4c426ea ro recovery nomodeset echo 'Initiale Ramdisk wird geladen …' initrd /boot/initrd.img-3.19.0-18-generic } menuentry 'Ubuntu, mit Linux 3.16.0-44-lowlatency' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-44-lowlatency-advanced-77469728-4433-4bce-ad2e-f131e4c426ea' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio 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 77469728-4433-4bce-ad2e-f131e4c426ea else search --no-floppy --fs-uuid --set=root 77469728-4433-4bce-ad2e-f131e4c426ea fi echo 'Linux 3.16.0-44-lowlatency wird geladen …' linux /boot/vmlinuz-3.16.0-44-lowlatency root=UUID=77469728-4433-4bce-ad2e-f131e4c426ea ro quiet splash $vt_handoff echo 'Initiale Ramdisk wird geladen …' initrd /boot/initrd.img-3.16.0-44-lowlatency } menuentry 'Ubuntu, with Linux 3.16.0-44-lowlatency (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-44-lowlatency-recovery-77469728-4433-4bce-ad2e-f131e4c426ea' { recordfail load_video insmod gzio 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 77469728-4433-4bce-ad2e-f131e4c426ea else search --no-floppy --fs-uuid --set=root 77469728-4433-4bce-ad2e-f131e4c426ea fi echo 'Linux 3.16.0-44-lowlatency wird geladen …' linux /boot/vmlinuz-3.16.0-44-lowlatency root=UUID=77469728-4433-4bce-ad2e-f131e4c426ea ro recovery nomodeset echo 'Initiale Ramdisk wird geladen …' initrd /boot/initrd.img-3.16.0-44-lowlatency } } ### 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 (auf /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-0A67-A703' { 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 0A67-A703 else search --no-floppy --fs-uuid --set=root 0A67-A703 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 ### ### 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 ###
Ich bin schon soweit gekommen, dass das Fehlen des Eintrages wahrscheinlich an /etc/grub.d/20_memtest86+ (Zeile 18 - 21) liegt.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | #!/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 |
Ich müsste dringend meinen Hauptspeicher testen, da mir dort etwas nicht in Ordnung erscheint.
Ich hoffe, Ihr könnt mir Helfen .
Mit bestem Dank für eure Bemühungen im Voraus
Buschmensch, der 44.