Editing Grub - cannot save changes

Asked by PMcG

I need to change the boot order, and delay before it boots to the default OS, so I followed the instructions I found on editing the /boot/grub/menu.lst file. The problem is I cannot save the edited file to that location, or rename the original file, so I'm effectively blocked from making any changes. I think it must be an issue with permissions, but I can't figure out what. Anybody know a quick fix?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Jeff Greene
Solved:
Last query:
Last reply:
Revision history for this message
Jeff Greene (jeffgreene) said :
#1

Were you editing it as root? Try typing:
gksudo gedit /boot/grub/menu.lst (graphical)
or:
sudo nano /boot/grub/menu.lst (terminal)

Revision history for this message
Jeff Greene (jeffgreene) said :
#2

Sorry for not explaining myself, if you didn't already know:
Everything in Linux/Ubuntu has permissions which is split up into users, groups, or everyone else.
Your system files are protected from being edited by regular users to help protect your system.
In order to edit them, you must give yourself "root" (administrator) privileges.
You can give yourself temporary root permission by typing "sudo" before a command.
After you type the command, you must authenticate yourself by typing in your password.
I hope that clears some of the stuff up.

Revision history for this message
PMcG (sanbvp) said :
#3

That worked! Thanks.