Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-12-2004, 09:36 PM
|
#1
|
Member
Registered: Mar 2004
Location: Barrie, ON
Distribution: Slackware 9.1, 10.0, 10.1, 11.0
Posts: 102
Rep:
|
LILO.conf wont write
for some reason, slackware will not allow me to write to lilo.conf, just says read-only, and even when i am root, still no go, any other ways to write to lilo
any suggestions?
|
|
|
03-12-2004, 09:38 PM
|
#2
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
well if you say you are root, what are you using to edit it
and what error does it output when you try to save it ?
|
|
|
03-13-2004, 01:43 AM
|
#3
|
Member
Registered: Mar 2004
Location: Barrie, ON
Distribution: Slackware 9.1, 10.0, 10.1, 11.0
Posts: 102
Original Poster
Rep:
|
root@darkstar:/home/w0lv3rin3# gedit /etc/lilo.conf
window pops up
I just cant type nuthing in it, just only can read
I login in as SU
and even under root, with and without X still no go.
|
|
|
03-13-2004, 05:13 AM
|
#4
|
Member
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Linux Mint
Posts: 194
Rep:
|
Could be a permissions issue. Try: "chmod u+w /etc/lilo.conf".
|
|
|
03-13-2004, 07:01 AM
|
#5
|
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938
Rep:
|
If you use VIM you can force a write by using to a read-only file.
|
|
|
03-13-2004, 03:43 PM
|
#6
|
Member
Registered: Mar 2004
Location: Barrie, ON
Distribution: Slackware 9.1, 10.0, 10.1, 11.0
Posts: 102
Original Poster
Rep:
|
root@darkstar:/home/w0lv3rin3# chmod u+w /etc/lilo.conf
chmod: changing permissions of `/etc/lilo.conf': Operation not permitted
|
|
|
03-13-2004, 03:44 PM
|
#7
|
Member
Registered: Mar 2004
Location: Barrie, ON
Distribution: Slackware 9.1, 10.0, 10.1, 11.0
Posts: 102
Original Poster
Rep:
|
Quote:
Originally posted by Komakino
If you use VIM you can force a write by using to a read-only file.
|
where can i get vim?
|
|
|
03-13-2004, 04:08 PM
|
#8
|
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938
Rep:
|
it's probably already installed. Try: vi or vim (the former is an older version but on many systems it's just a symlink to vim). I don't know the website, but search on google.
|
|
|
All times are GMT -5. The time now is 09:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|