diff --git a/20_memtest86+ b/20_memtest86+
index 2880b2a..8e77599 100644
--- a/20_memtest86+
+++ b/20_memtest86+
@@ -19,6 +19,14 @@ set -e
# You should have received a copy of the GNU General Public License
# along with the script. If not, see .
+# WARNING WARNING WARNING WARNING WARNING WARNING WARNING
+# This file is deprecated, it is going to be removed soon
+# and it's functionality has been disabled.
+# The package memtest86+ is going to provide a similar file.
+# Until that happens, you can reenable this file by
+# adding to it the execute permission.
+# WARNING WARNING WARNING WARNING WARNING WARNING WARNING
+
. "$pkgdatadir/grub-mkconfig_lib"
export TEXTDOMAIN=grub2
diff --git a/grub2.changes b/grub2.changes
index 6355dfc..6aaa53f 100644
--- a/grub2.changes
+++ b/grub2.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Fri Mar 1 12:44:37 UTC 2024 - Giacomo Comes
+
+- disable the file 20_memtest86+
+ * added a deprecation note in the header
+
-------------------------------------------------------------------
Thu Feb 29 10:12:12 UTC 2024 - Dr. Werner Fink
diff --git a/grub2.spec b/grub2.spec
index 261def4..ee95f38 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -1017,7 +1017,7 @@ find %{buildroot}/%{_datadir}/%{name} \
install -m 755 %{SOURCE1} %{buildroot}/%{_sysconfdir}/grub.d/
# Script to generate memtest86+ menu entry
-install -m 755 %{SOURCE7} %{buildroot}/%{_sysconfdir}/grub.d/
+install -m 644 %{SOURCE7} %{buildroot}/%{_sysconfdir}/grub.d/
# Ghost config file
install -d %{buildroot}/boot/%{name}