Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: converting the file system from read-only, need help on doing this< Next Oldest | Next Newest >
lantian2004 Offline





Group: Members
Posts: 30
Joined: May 2006
Posted: May 26 2006,14:45 QUOTE

I have a hard drive install and need to edit my hosts file, which is read only. At some point I managed to change everything to read-write, but messsed up that install and cant remember how I did it. Anyone know how to convert the filesystem over to read-write? Yes, I am trying to edit the file as SU, before you ask :)

This is a frugal install
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 26 2006,15:28 QUOTE

/etc/hosts is a writeable file in a typical frugal system, so i'd have to ask if you are sure you're editing it as root?
Another poosibility....are you trying to edit /KNOPPIX/etc/hosts?  This can't be done without remastering the KNOPPIX file.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
lantian2004 Offline





Group: Members
Posts: 30
Joined: May 2006
Posted: May 26 2006,15:33 QUOTE

I am going in as SU, and when I open the file it says RO and wont let me edit it, also blue instead of black. No it is not in the knoppix directory.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 26 2006,15:44 QUOTE

I don't really know why that is.  You somehow mounted / as readonly?  Try the command "mount" with no parameters to see if it says "(ro)" for /dev/root.  I believe you can remount a filesystem read-write, but i can't recall what the command is.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 26 2006,15:47 QUOTE

Quote
found a way of jsut locking su out completely, so will just apply that when the config is set.

I wonder if this has something to do with it.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
6 replies since May 26 2006,14:45 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: converting the file system from read-only

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code