LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-10-2007, 12:01 AM   #1
Pyro Tony
LQ Newbie
 
Registered: Jul 2007
Location: Livermore, CA
Distribution: Damn Small Linux
Posts: 10

Rep: Reputation: 0
Changing menu.lst to writtable


I have finnaly gotten Damn Small Linux installed on my hard drive. My question now is how can i edit the GRUB config file. i have found it its called menu.lst but it is read only. when i right click menu.lst and change it to writtable my file browser says something along the lines of access denied and returns menu.lst to default settings. i can still read this file using the beaver editor i just cant write to it. any help is appriciated. thanks.
 
Old 07-10-2007, 12:07 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You probably need to be root in order to edit or change the permissions on that file. Fire up a terminal and do
Code:
$su -
#vim /boot/grub/menu.lst
Enter roots password when prompted and substitute vi with whatever text editor you are familiar with.
 
Old 07-10-2007, 10:11 AM   #3
Pyro Tony
LQ Newbie
 
Registered: Jul 2007
Location: Livermore, CA
Distribution: Damn Small Linux
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks a lot. As you can probably see i am quiet new to linux.
 
Old 07-10-2007, 11:13 AM   #4
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386

Rep: Reputation: 41
If you generally want to learn about access permissions and how to change them, execute:

Code:
$ man chmod
and read through the manuals. I strongly advise you however NOT to change the permissions of anything outside your /home directory, so that you as a user can access it easily. Log in as root for that kind of stuff while leaving all the restrictions as they are. That's part of why Linux is so secure, after all.
To log in as root in a terminal, as reddazz said:
Code:
$ su
or
$ su -
And to logout and go back to the user, just enter:

Code:
# logout
Or even quicker, on an empty command line, press Ctrl and d simultaneously.

-A
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Menu doesn't reflect menu.lst file fatsheep Linux - Software 4 06-11-2007 01:29 PM
some instances of menu.lst micro_xii Linux - Newbie 3 03-14-2007 10:30 PM
Changing GRUB menu.lst dosn't work raq1025 Linux - Newbie 4 09-28-2006 06:40 AM
Explain my Menu.lst Johnny Faster Ubuntu 5 06-22-2006 10:29 AM
need grub menu.lst example pk108 Mandriva 4 12-11-2004 06:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:01 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration