boot-menu: Memtest86+  [Solved]

Message
Author
User avatar
Duliwi
Posts: 1178
Joined: Sun Jul 07, 2019 9:34 am

boot-menu: Memtest86+

#1 Post by Duliwi »

Hello

Why do we no longer have the option Memtest86+ when we boot MX-23 Xfce?
(We had this option in MX-19.)

Just out of curiosity. Actually this was once a nice feature.

User avatar
AK-47
Developer
Posts: 1220
Joined: Sun Mar 24, 2019 7:04 pm

Re: boot-menu: Memtest86+

#2 Post by AK-47 »

The boot item is still there when booted from the live media (DVD/ISO/USB), called Memory Test.

Charlie Brown

Re: boot-menu: Memtest86+

#3 Post by Charlie Brown »

What's the output of this?

Code: Select all

ls -la /etc/grub.d/20_memtest86+ 
Normally it's

Code: Select all

-rwxr-xr-x 1 root root ... /etc/grub.d/20_memtest86+
One can sudo chmod -x to disable and ... +x to enable back ...

User avatar
Duliwi
Posts: 1178
Joined: Sun Jul 07, 2019 9:34 am

Re: boot-menu: Memtest86+

#4 Post by Duliwi »

Yes, that's my output:

Code: Select all

$ ls -la /etc/grub.d/20_memtest86+ 
-rwxr-xr-x 1 root root 1444 10. Mai 2023  /etc/grub.d/20_memtest86+
Does this mean that it should actually appear in the boot menu?

Charlie Brown

Re: boot-menu: Memtest86+

#5 Post by Charlie Brown »

Actually the entry is empty in grub.cfg

Code: Select all

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
So it must be disabled somewhere else.

User avatar
dolphin_oracle
Developer
Posts: 22413
Joined: Sun Dec 16, 2007 12:17 pm

Re: boot-menu: Memtest86+

#6 Post by dolphin_oracle »

I still have it.

UEFI boot.

Code: Select all

System:
  Kernel: 6.8.5-1-liquorix-amd64 [6.8-3~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable rcupdate.rcu_expedited=1 BOOT_IMAGE=/boot/vmlinuz-6.8.5-1-liquorix-amd64
    root=UUID=<filter> ro quiet splash nvidia_drm.modeset=1
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.2_ahs_x64 Libretto January 21  2024 base: Debian GNU/Linux
    12 (bookworm)
Machine:
  Type: Laptop System: LENOVO product: 20Y5007FUS v: ThinkPad X1 Extreme Gen 4i
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20Y5007FUS v: SDK0T76530 WIN serial: <superuser required> UEFI: LENOVO
    v: N40ET38W (1.20 ) date: 10/06/2022
Battery:
  ID-1: BAT0 charge: 74.6 Wh (100.0%) condition: 74.6/90.1 Wh (82.8%) volts: 17.2 min: 15.5
    model: SMP 5B11B79217 type: Li-poly serial: <filter> status: full cycles: 199
CPU:
  Info: model: 11th Gen Intel Core i7-11850H bits: 64 type: MT MCP arch: Tiger Lake gen: core 11
    level: v4 note: check built: 2020 process: Intel 10nm family: 6 model-id: 0x8D (141) stepping: 1
    microcode: 0x4E
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 640 KiB
    desc: d-8x48 KiB; i-8x32 KiB L2: 10 MiB desc: 8x1.2 MiB L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 862 high: 1115 min/max: 800/2501 boost: enabled scaling: driver: acpi-cpufreq
    governor: ondemand cores: 1: 782 2: 800 3: 1100 4: 1115 5: 800 6: 900 7: 800 8: 800 9: 800
    10: 900 11: 800 12: 800 13: 1000 14: 800 15: 800 16: 800 bogomips: 79872
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional; RSB filling;
    PBRSB-eIBRS: SW sequence; BHI: Syscall hardening, KVM: SW loop
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Lenovo driver: i915 v: kernel
    alternate: xe arch: Gen-12.1 process: Intel 10nm built: 2020-21 ports: active: eDP-1 empty: DP-1,
    DP-2, DP-3, DP-4, HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:9a60 class-ID: 0300
  Device-2: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile] vendor: Lenovo driver: N/A
    alternate: nouveau non-free: 530.xx+ status: current (as of 2023-03) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 8 link-max: lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:25a0 class-ID: 0300
  Device-3: Chicony Integrated Camera type: USB driver: uvcvideo bus-ID: 3-8:2 chip-ID: 04f2:b71d
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 2560x1600 s-dpi: 96 s-size: 677x423mm (26.65x16.65") s-diag: 798mm (31.43")
  Monitor-1: eDP-1 model: AU Optronics 0x6a9f built: 2021 res: 2560x1600 hz: 60 dpi: 189
    gamma: 1.2 size: 344x215mm (13.54x8.46") diag: 406mm (16") ratio: 16:10 modes: 2560x1600
  API: OpenGL v: 4.6 Mesa 23.1.2-1~mx23ahs renderer: Mesa Intel UHD Graphics (TGL GT1)
    direct-render: Yes
Audio:
  Device-1: Intel Tiger Lake-H HD Audio vendor: Lenovo driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:43c8 class-ID: 0401
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 8 link-max: lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:2291 class-ID: 0403
  API: ALSA v: k6.8.5-1-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel modules: wl pcie:
    gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 09:00.0 chip-ID: 8086:2725 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-14:4 chip-ID: 8087:0032
    class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter>
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept
    service-classes: rendering, capturing, object transfer, audio, telephony
Drives:
  Local Storage: total: 953.87 GiB used: 340.69 GiB (35.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN730 SDBQNTY-1T00-1001
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 11170101 temp: 42.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 70 GiB size: 68.35 GiB (97.64%) used: 17.08 GiB (25.0%) fs: ext4
    dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 30.9 MiB (12.1%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p11
    maj-min: 259:11
Sensors:
  System Temperatures: cpu: 56.0 C mobo: N/A
  Fan Speeds (RPM): fan-1: 2483 fan-2: 2339
Repos:
  Packages: pm: dpkg pkgs: 2287 libs: 1179 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mxrepo.com/mx/repo/ bookworm main non-free
    2: deb-src http://mxrepo.com/mx/repo/ bookworm main non-free
    3: deb http://mxrepo.com/mx/repo/ bookworm ahs
    4: deb http://mxrepo.com/mx/repo/ bookworm ahs-staging
Info:
  Processes: 436 Uptime: 1m wakeups: 1218 Memory: 31.06 GiB used: 2.07 GiB (6.7%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
grub.cfg

Code: Select all

┌─[dolphin@mxXfceAHS]─[06:59:45 am]──────────────────────────────────────────────────────────────[~]
└─> sudo cat /boot/grub/grub.cfg 
[sudo] password for dolphin:     
#
# 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 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
search --no-floppy --fs-uuid --set=root 5ba104a7-4803-4018-8cfc-df2810e97c2b
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1024x768
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 5ba104a7-4803-4018-8cfc-df2810e97c2b
insmod gfxmenu
insmod jpeg
insmod png
set theme=($root)/boot/grub/themes/mx_linux/theme.txt
export theme
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'MX 23.2 Libretto, with Linux 6.8.5-1-liquorix-amd64' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.8.5-1-liquorix-amd64-advanced-5ba104a7-4803-4018-8cfc-df2810e97c2b' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	search --no-floppy --fs-uuid --set=root 5ba104a7-4803-4018-8cfc-df2810e97c2b
	echo	'Loading Linux 6.8.5-1-liquorix-amd64 ...'
	linux	/boot/vmlinuz-6.8.5-1-liquorix-amd64 root=UUID=5ba104a7-4803-4018-8cfc-df2810e97c2b ro  quiet splash nvidia_drm.modeset=1
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-6.8.5-1-liquorix-amd64
}
menuentry 'MX 23.2 Libretto, with Linux 6.8.5-1-liquorix-amd64 (systemd)' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.8.5-1-liquorix-amd64-init-systemd-5ba104a7-4803-4018-8cfc-df2810e97c2b' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	search --no-floppy --fs-uuid --set=root 5ba104a7-4803-4018-8cfc-df2810e97c2b
	echo	'Loading Linux 6.8.5-1-liquorix-amd64 ...'
	linux	/boot/vmlinuz-6.8.5-1-liquorix-amd64 root=UUID=5ba104a7-4803-4018-8cfc-df2810e97c2b ro  quiet splash nvidia_drm.modeset=1 init=/lib/systemd/systemd
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-6.8.5-1-liquorix-amd64
}

### 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+ ###
if [ "${grub_platform}" == "efi" ]; then
   if [ "${grub_cpu}" == "x86_64" ]; then
true
menuentry "Memory Test (64-bit UEFI)" {
	insmod part_gpt
	insmod ext2
	search --no-floppy --fs-uuid --set=root 5ba104a7-4803-4018-8cfc-df2810e97c2b
	chainloader	/boot/uefi-mt/mtest-64.efi
}
  fi
fi
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/nvme0n1p1)' --class windows --class os $menuentry_id_option 'osprober-efi-72DB-0E81' {
	insmod part_gpt
	insmod fat
	search --no-floppy --fs-uuid --set=root 72DB-0E81
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
	menuentry 'MX 23.1 Libretto (on /dev/nvme0n1p6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-13-amd64--a7b2c838-7cf9-4d24-8a90-88b270c59069' {
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root a7b2c838-7cf9-4d24-8a90-88b270c59069
		linux /boot/vmlinuz-6.1.0-13-amd64 root=UUID=a7b2c838-7cf9-4d24-8a90-88b270c59069 ro quiet splash
		initrd /boot/initrd.img-6.1.0-13-amd64
	}
	menuentry 'MX 23.1 Libretto, with Linux 6.1.0-13-amd64 (on /dev/nvme0n1p6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-13-amd64--a7b2c838-7cf9-4d24-8a90-88b270c59069' {
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root a7b2c838-7cf9-4d24-8a90-88b270c59069
		linux /boot/vmlinuz-6.1.0-13-amd64 root=UUID=a7b2c838-7cf9-4d24-8a90-88b270c59069 ro quiet splash
		initrd /boot/initrd.img-6.1.0-13-amd64
	}
	menuentry 'MX 23.1 Libretto, with Linux 6.1.0-13-amd64 (systemd) (on /dev/nvme0n1p6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-13-amd64--a7b2c838-7cf9-4d24-8a90-88b270c59069' {
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root a7b2c838-7cf9-4d24-8a90-88b270c59069
		linux /boot/vmlinuz-6.1.0-13-amd64 root=UUID=a7b2c838-7cf9-4d24-8a90-88b270c59069 ro quiet splash init=/lib/systemd/systemd
		initrd /boot/initrd.img-6.1.0-13-amd64
	}

	menuentry 'MX 23 Libretto (on /dev/nvme0n1p7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-10-amd64--ff9fe227-5cb7-4e4f-8b21-7f52a5c9d9ff' {
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root ff9fe227-5cb7-4e4f-8b21-7f52a5c9d9ff
		linux /boot/vmlinuz-6.1.0-10-amd64 root=UUID=ff9fe227-5cb7-4e4f-8b21-7f52a5c9d9ff ro quiet splash
		initrd /boot/initrd.img-6.1.0-10-amd64
	}
	menuentry 'MX 23 Libretto, with Linux 6.1.0-10-amd64 (on /dev/nvme0n1p7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-10-amd64--ff9fe227-5cb7-4e4f-8b21-7f52a5c9d9ff' {
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root ff9fe227-5cb7-4e4f-8b21-7f52a5c9d9ff
		linux /boot/vmlinuz-6.1.0-10-amd64 root=UUID=ff9fe227-5cb7-4e4f-8b21-7f52a5c9d9ff ro quiet splash
		initrd /boot/initrd.img-6.1.0-10-amd64
	}
	menuentry 'MX 23 Libretto, with Linux 6.1.0-10-amd64 (systemd) (on /dev/nvme0n1p7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-6.1.0-10-amd64--ff9fe227-5cb7-4e4f-8b21-7f52a5c9d9ff' {
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root ff9fe227-5cb7-4e4f-8b21-7f52a5c9d9ff
		linux /boot/vmlinuz-6.1.0-10-amd64 root=UUID=ff9fe227-5cb7-4e4f-8b21-7f52a5c9d9ff ro quiet splash init=/lib/systemd/systemd
		initrd /boot/initrd.img-6.1.0-10-amd64
	}

### 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 ###
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Charlie Brown

Re: boot-menu: Memtest86+

#7 Post by Charlie Brown »

The weird thing is that they are not commented out in 20_memtest86+

Code: Select all

if [ ! -e "$efi_dir" ] && [ -e /boot/memtest86+.bin ]; then
  MEMTESTPATH=$( make_system_path_relative_to_its_root "/boot/memtest86+.bin" )
  echo "Found memtest86+ image: $MEMTESTPATH" >&2
  cat << 'EOF'
if [ "${grub_platform}" == "pc" ]; then
true
menuentry "Memory test (memtest86+)" {
EOF
  printf '%s\n' "${prepare_boot_cache}"
  cat << EOF
	$LX	$MEMTESTPATH
}
fi
EOF
fi

if [ -e "$efi_dir" ] && [ -e /boot/uefi-mt/mtest-64.efi ]; then
  MEMTESTPATH=$( make_system_path_relative_to_its_root "/boot/uefi-mt/mtest-64.efi" )
  echo "Found mtest-64.efi image: $MEMTESTPATH" >&2
  cat << 'EOF'
if [ "${grub_platform}" == "efi" ]; then
   if [ "${grub_cpu}" == "x86_64" ]; then
true
menuentry "Memory Test (64-bit UEFI)" {
EOF
  printf '%s\n' "${prepare_boot_cache}"
  cat << EOF
	chainloader	$MEMTESTPATH
}
  fi
and it generates that in your grub.cfg (on a uefi machine) but not here on a Bios (non-uefi)

Charlie Brown

Re: boot-menu: Memtest86+

#8 Post by Charlie Brown »

It may be this:

It's looking for /boot/memtest86+.bin

However the existing files are named differently::

/boot/memtest86+ia32.bin
/boot/memtest86+x64.bin

Charlie Brown

Re: boot-menu: Memtest86+  [Solved]

#9 Post by Charlie Brown »

Yep. After copying the existing file with that name :

Code: Select all

sudo cp /boot/memtest86+x64.bin /boot/memtest86+.bin
... it's there:

Code: Select all

$ sudo update-grub
Generating grub configuration file ...
Found ...
...
Found memtest86+ image: /boot/memtest86+.bin

Code: Select all

### BEGIN /etc/grub.d/20_memtest86+ ###
if [ "${grub_platform}" == "pc" ]; then
true
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root=...
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root -...
	else
	  search --no-floppy --fs-uuid --set=root ...
	fi
	linux16	/boot/memtest86+.bin
}
fi
### END /etc/grub.d/20_memtest86+ ###

User avatar
Duliwi
Posts: 1178
Joined: Sun Jul 07, 2019 9:34 am

Re: boot-menu: Memtest86+

#10 Post by Duliwi »

Wow. This was successful.

Thank you Charlie Brown.

(Yes I do not boot with UEFI. Sorry that I have not mentioned this.)

Post Reply

Return to “General”