How to change grub2 OS options in 9.10

Asked by Lachlan Summer on 2009-11-07

I want to remove the memtest entries from the list of OS boot options in Grub2 at startup. In 9.04 I did this by modifying File System / boot / grub / menu.lst. However this text file does not seem to exist in this location in 9.10.

How do I now modify my boot options in grub?

Thanks in advance

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Aurevoir
Solved:
2009-11-08
Last query:
2009-11-08
Last reply:
2009-11-07
Shashank Sahni (shredder12) said : #1

try this link..
https://wiki.ubuntu.com/Grub2#Removing Entries from Grub 2

it says that run "sudo chmod -x /etc/grub.d/20_memtest86+" and then run "sudo update-grub"
you may read all about grub2 on this page.

And grub2 doesn't have a menu.lst file.. the configuration file is /boot/grub/grub.cfg but it shouldn't be modified manually.. read more about it on that page..

Aurevoir (aurevoir) said : #2

Do these steps
1. sudo chmod +w /boot/grub/grub.cfg
2. sudo gedit /boot/grub/grub.cfg
3. place # in front of the menuentry you don't want to see at boot up screen

Best Aurevoir (aurevoir) said : #3

Do these steps
1. sudo chmod +w /boot/grub/grub.cfg
2. sudo gedit /boot/grub/grub.cfg
3. place # in front of the menuentry you don't want to see at boot up screen

Lachlan Summer (lachlansummer) said : #4

Thanks Aurevoir, that solved my question.

Lachlan Summer (lachlansummer) said : #5

I tried playing around with shredder12's suggestion, but being a newbie, didn't quite get there (I think its an abbreviation of an actual solution).

Aurevoir's step by step suggestion worked perfectly, thank you very much.