LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-01-2011, 12:04 AM   #1
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora
Posts: 77

Rep: Reputation: 16
Grub sometimes adds memtest lines


Using Ubuntu 10.10 and Win XP - dual drives booted by GNU Grub version 1.98 +20100804-5ubuntu 3


Every now and then, a "Memory Test (memtest 86+)" and a "Memory Test (memtest86+, serial console 115200)" line are added to my Grub startup screen. This causes Grub to start-up a different line than I have set to default. (Ubuntu vs. Windows, etc.)

1. How do I edit the start-up Grub to remove the "memtest" lines?
2. How do I prevent this from occurring?

Any help is appreciated.
 
Old 04-01-2011, 09:01 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
Just
Code:
sudo chmod -x /boot/memtest86+.bin
and also memtest86+_multiboot.bin if you have it.
Quote:
Originally Posted by https://help.ubuntu.com/community/Grub2
20_memtest86+ Searches for /boot/memtest86+.bin and includes it as an option on the GRUB 2 boot menu. There is currently no line option to remove this entry from the menu. The display of memtest86+ can be inhibited by removing the executable bit from this file and running sudo update-grub.
 
1 members found this post helpful.
Old 04-02-2011, 02:04 PM   #3
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora
Posts: 77

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by andrewthomas View Post
Just
Code:
sudo chmod -x /boot/memtest86+.bin
and also memtest86+_multiboot.bin if you have it.
Many thanks. I'll try it when I get back to it Monday and let you know.
 
Old 04-03-2011, 10:28 PM   #4
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora
Posts: 77

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by andrewthomas View Post
Just
Code:
sudo chmod -x /boot/memtest86+.bin
and also memtest86+_multiboot.bin if you have it.
I used the cli and did the chmod -x on both files. That should stop new lines from being added in the future. Thank you.

Now, how do I edit / remove some of the extraneous entries from the Grub Menu? It has the old memtest lines and continually adds ubuntu version lines. I can go in with vi and remove the unnecessary lines if I knew which file to edit.
 
Old 04-04-2011, 05:47 AM   #5
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Here is a great article that explains editing grub2 better than I can

grub2
 
1 members found this post helpful.
Old 04-05-2011, 02:14 AM   #6
loftus49
Member
 
Registered: May 2010
Location: Phoenix
Distribution: Ubuntu, CentOS5, Fedora
Posts: 77

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Larry Webb View Post
Here is a great article that explains editing grub2 better than I can

grub2
A very good link and info on Grub. Thank you.
 
  


Reply

Tags
grub, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] grub doesn't recognize memtest entry bojus Linux - Software 11 02-17-2011 04:17 PM
No GRUB entries except for memtest after 8.04 upgrade mikebikemusic Linux - Newbie 9 05-01-2008 08:08 PM
Need help identifying the lines of Grub.conf file Sarge_P Linux - Newbie 5 09-25-2006 01:03 PM
Memtest-86 v3.1 LadyVadalon Linux - General 1 08-16-2005 08:59 AM
memtest in grub Incanus Linux - General 1 02-07-2004 08:50 PM


All times are GMT -5. The time now is 10:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration