It would probably be easier to go by line number. There is a lot of stuff in that file. Open gedit, go to edit, preferences, and select "Display Line Numbers". Then open a terminal and run
- Code: Select all
sudo gedit /boot/grub/menu.lst
This will open the menu.lst file as administrator so we can edit it. Line 14 is where you put the default OS number. Grub starts counting at zero instead of 1, so count all of the menu entries at the bottom of the page (first entry is zero) and then change "0" on line 14 to the number you want to default to. Line 19 is the amount of seconds before the default OS boots. This will determine how many seconds you have to hit ESC to see the grub menu. Line 23 is where you set the hidden option. Remove the comment (#)to have it hidden. Lines with a comment (#) are not read. Save the file and reboot. If you choose to hide the grub menu, it will show a counter to countdown the seconds set at line 19 before the default OS boots. You can play with the settings, but you shouldn't change any of the menu entries unless you know what you are doing.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke