LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 03-12-2004, 09:36 PM   #1
w0lv3rin3
Member
 
Registered: Mar 2004
Location: Barrie, ON
Distribution: Slackware 9.1, 10.0, 10.1, 11.0
Posts: 102

Rep: Reputation: 15
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?
 
Old 03-12-2004, 09:38 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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 ?
 
Old 03-13-2004, 01:43 AM   #3
w0lv3rin3
Member
 
Registered: Mar 2004
Location: Barrie, ON
Distribution: Slackware 9.1, 10.0, 10.1, 11.0
Posts: 102

Original Poster
Rep: Reputation: 15
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.
 
Old 03-13-2004, 05:13 AM   #4
tk31337
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Mandrake 10.0 Official
Posts: 193

Rep: Reputation: 31
Could be a permissions issue. Try: "chmod u+w /etc/lilo.conf".
 
Old 03-13-2004, 07:01 AM   #5
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
If you use VIM you can force a write by using
Code:
 :w!
to a read-only file.
 
Old 03-13-2004, 03:43 PM   #6
w0lv3rin3
Member
 
Registered: Mar 2004
Location: Barrie, ON
Distribution: Slackware 9.1, 10.0, 10.1, 11.0
Posts: 102

Original Poster
Rep: Reputation: 15
root@darkstar:/home/w0lv3rin3# chmod u+w /etc/lilo.conf
chmod: changing permissions of `/etc/lilo.conf': Operation not permitted
 
Old 03-13-2004, 03:44 PM   #7
w0lv3rin3
Member
 
Registered: Mar 2004
Location: Barrie, ON
Distribution: Slackware 9.1, 10.0, 10.1, 11.0
Posts: 102

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Komakino
If you use VIM you can force a write by using
Code:
 :w!
to a read-only file.
where can i get vim?
 
Old 03-13-2004, 04:08 PM   #8
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 03:15 AM
[FC2] How to write a modprobe.conf from a module.conf??? Coume Fedora 0 05-31-2004 03:40 AM
lilo.conf.anaconda v. lilo.conf rbaird2001 Red Hat 1 04-01-2004 12:16 PM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 08:22 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 03:53 PM


All times are GMT -5. The time now is 12:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration