How to modify menu.lst
elmo
elmo at ne.rr.com
Tue May 13 15:10:34 UTC 2008
James Taji wrote:
> On Mon, May 12, 2008 at 7:37 PM, elmo <elmo at ne.rr.com> wrote:
>
>> If the changes you want to make are to be accepted by menu.lst, you
>> should prepare menu.lst before starting to make these changes Use a
>> terminal and type in; chmod go+rw /boot/grub/menu.ls, Thereafter,
>> any changes you make in menu.lst will be accepted on a save command.
>>
>
> This is rather bad advice to recommend making any system files world
> writeable. Permissions on system files do not generally need to be
> modified, instead one should use sudo before the editing command to
> gain root privileges, e.g.:
>
> sudo nano /boot/grub/menu.lst
>
> or preferably:
>
> sudoedit /boot/grub/menu.lst
>
> If a gui editor is desired then use gksudo, eg.:
>
> gksudo gedit /boot/grub/menu.lst
>
>
I've been doing it the way I posted for quite a while because it worked
and so far haven't had any problem. However,
I'll start doing it the sudo way from now on, just in case. Thanks.
elmo .
More information about the ubuntu-users
mailing list