When installing the memtest86+ package, four GRUB menu entries get added nowadays: memtest86+ memtest86+, serial console 115200 memtest86+, experimental multiboot memtest86+, serial console 115200, experimental multiboot In order to reduce that, I've added two variables and some if-statements to /etc/grub.d/20_memtest86+. In /etc/default/grub: GRUB_MEMTEST_ENABLE_SERIAL=[true|false] GRUB_MEMTEST_ENABLE_MULTIBOOT=[true|false] In addition, I've added a variable holding the memtest86+ serial params: GRUB_MEMTEST_SERIAL_PARAMS="ttyS0,115200n8" In /etc/grub.d/20_memtest86+: Have a look at the diff file. I think it would be nice if this would make it into upstream.
Dear package maintainer or DBS admin, I've realised that I've filed this bugreport against the wrong package. I've filed a new one against memtest86+, so you may delete this one here. I'm sorry for the caused inconvenience.
Hi, is right opened here because is not enought patch memtest86+ (that I'm trying to improve recently https://salsa.debian.org/fantu-guest/memtest86plus/-/commits/debian/experimental) but is needed also a patch in grub2 in /etc/default/grub and grub-mkconfig, or at least grub-mkconfig to make it working. This is something that would be very useful as I have seen on dozens of computers (or more) over the years, I had workaround for now with "chmod -x /etc/grub.d/20_memtest86+" when needed but is not optimal can be considered adding option to at least disable memtest in grub2 please? if yes I'll prepare and test patches for both grub2 and memtest86+ thanks for any reply and sorry for my bad english
Found a way to disable creation of memtest entries without touch grub2: https://salsa.debian.org/fantu-guest/memtest86plus/-/commit/554a0c278d6c24f436a781b3dd5faedd873d1c09 For now I keep this bug assigned on grub2 if someone want to implement it better by modifying also grub2 package