I installed Systemrescue from the System | Kernel page and manually edited the /etc/grub.d/42_sysresccd file to allow booting to a serial console and then ran update-grub. This all worked, but when I boot to Systemrescue in the grub boot menu I don't see the option to boot memtest86+. I could have sworn that older versions provided this. Am I missing something?

Memtest86+
-
- OMV 6.x
- gderf
-
-
Am I missing something?
The kernel plugin has a dependency on the memtest86+ package which should install the grub menu entry. Do you have the /etc/grub.d/20_memtest86+ file?
-
The kernel plugin has a dependency on the memtest86+ package which should install the grub menu entry. Do you have the /etc/grub.d/20_memtest86+ file?
/etc/grub.d/20_memtest86+ is missing.
I do have a 20_linux_xen file, but it seems unrelated. I reinstalled the memtest86+ package, but it didn't drop a 20_memtest86+ file.
I also reinstalled openmediavault-kernel but it didn't change anything.
-
-
No idea why reinstalling memtest86+ doesn't drop the /etc/grub.d/20_memtest86+ file. So I extracted it out of the package and dropped it in by hand. I edited it to change the serial port to ttyS1 and ran update-grub.
Able to boot into memtest86+ now but it locks up soon after starting. I seem to remember this is what happened the last time I tried this, but was never able to get it sorted out.
-
I reinstalled the memtest86+ package, but it didn't drop a 20_memtest86+ file.
I also reinstalled openmediavault-kernel but it didn't change anything.The package should be installing the 20_memtest86+ file - https://packages.debian.org/bu…amd64/memtest86+/filelist. Not sure why it isn't. You did sudo apt-get install --reinstall memtest86+?
Reinstalling the kernel plugin won't help since it isn't doing anything with memtest other than telling apt it needs to be installed when the plugin is installed.
-
You did sudo apt-get install --reinstall memtest86+?
Yes, that was the command I used.
-
-
I would try purging memtest86+ (which will remove the kernel plugin) and reinstall. It doesn't make sense why it wouldn't put the file there.
-
I tried this and it threw errors when removing the kernel plugin.
Code
Display Morefred@omv:/etc/grub.d$ sudo apt-get remove --purge memtest86+ [sudo] password for fred: Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be REMOVED: memtest86+* openmediavault-kernel* 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. After this operation, 2513 kB disk space will be freed. Do you want to continue? [Y/n] Y (Reading database ... 152852 files and directories currently installed.) Removing openmediavault-kernel (6.4.6) ... /var/lib/dpkg/info/openmediavault-kernel.postrm: 34: remote_action: not found dpkg: error processing package openmediavault-kernel (--remove): installed openmediavault-kernel package post-removal script subprocess returned error exit status 127 dpkg: too many errors, stopping Errors were encountered while processing: openmediavault-kernel Processing was halted because there were too many errors. E: Sub-process /usr/bin/dpkg returned an error code (1)
-
Go figure there would be a typo in the remove. Fixed on github - https://github.com/OpenMediaVa…5fb9f70628afb8927ef55e923
Just do:
sudo sed -i "s/remote/remove/g" /var/lib/dpkg/info/openmediavault-kernel.postrm
then purge memtest86+.
-
-
That fixes it, thanks. Still going to try to figure out why it crashes/locks up the SOL session.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!