1

How to hide/remove memtest86 menu entries from Grub2. I have Ubuntu 15.04

2 Answers2

2

I think I found. Maybe there is a better way but it works for me

sudo chmod -x /etc/grub.d/20_memtest86+

and than

sudo update-grub
0

You can remove memtest86+ by running

sudo apt-get remove memtest86+

It can always be installed back by

sudo apt-get install memtest86+
Pilot6
  • 90,100
  • 91
  • 213
  • 324
  • Who downvoted and why? – Pilot6 Sep 19 '15 at 11:12
  • Me, it's very short, doesn't explain how to revert the change or what "running" is (never a bad thing to explain). It also appeared in LQP queue because of length and content (another reason to downvote), as did another answer (not a reason). I allowed both to stay but wasn't sure. I've hence flagged this for custom moderator for them to decide what should happen. – Tim Sep 19 '15 at 11:24
  • @Tim It gives full explanation on what the command does. Short is not always bad. I added how to revert it. – Pilot6 Sep 19 '15 at 11:26
  • If (when) you need to run memtest86+, your system will NOT be healthy enough to sudo apt-get install memtest86+ - memtest86+ is a tool to boot when Ubuntu cannot, and your computer has memory, and might have memory problems. Also, if memtest86+ fails, your hardware problem is obvious. – waltinator Sep 19 '15 at 16:15
  • @waltinator I wrote that in my comments too. But if someone wants to remove it, it is his/her choice. I never seriously used memtest in my life. I am probably lucky. – Pilot6 Sep 19 '15 at 16:19
  • The denser memory gets (and I've seen "core memory" being made by hand), the more likely the Cosmic Ray God is to Zap! something. "We'll never need this diagnostic!" is never the beginning of a fun story. – waltinator Sep 19 '15 at 16:33