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
 

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

reply to topic new topic new poll
Topic: Editing R/O files, Is there a way of making them R/W< Next Oldest | Next Newest >
Rhino Offline





Group: Members
Posts: 5
Joined: May 2005
Posted: May 24 2005,00:09 QUOTE

Hi again guys,

Got a new one for you, is it possible to make the frugal install R/W? if not is there a way to change the files I need to edit to R/W?
I keep getting that really annoying 'you have entered an incorrect mode number' comming up when I boot which is followed by having to enter my XVESA settings.... every....single....time...I boot. So Im thinking I need to change my lilo.conf file to do this but it is R/O so no go.

I have tried this:

sudo su
rm /etc/lilo.conf
cp {/KNOPPIX,}/etc/lilo.conf

but I get:

cp: '/KNOPPIX/etc/lilo.conf' and '/etc/lilo.conf' are the same file

This is getting really frustrating so any help to fix this will be greatly appreicated believe me.

Thank You in advance
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 24 2005,01:20 QUOTE

backup /home/dsl/.xserverrc after you get xvesa configured properly.

Editing /etc/lilo.conf would be useless for two reasons: 1) it has nothing to do with X, and 2) it wouldn't be restored until after its usefulness has expired.
I know i posted the other hint, but that was before i really thought about it =o)


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





Group: Members
Posts: 5
Joined: May 2005
Posted: May 24 2005,04:14 QUOTE

Thanks for the fast reply,

Sorry to be such a pain about this but I have read through some many post on here that I've completely confused myself, can you boil it down and explain the quickest and easiest way of backing up that file (/home/dsl/.xserverrc). And will that work with any file because I also need to change the .xinitrc file as well plus are you able to install .debs on the ramdisk get them working then back them up so they will start up every time?
BTW the only reason I ask this is because all I have is the R/O frugle install and since I can't change any files on the drive it seems everything has to be done on the ramdisk then put on the drive, is this correct?

Thanks again
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 24 2005,05:14 QUOTE

Specify a partition on which to back up your files....you can do this through the control panel. (tools > control panel, i think).

Open up EmelFM and browse to the files/directories you want to save.
Select the file(s) and press the "Add2filetool" button.
Alternatively, you can manually add the paths to these files to filetool.lst.
These files should be backed up automatically when you shut down, provided the partition you specified is writeable.

You can do it with any files in /home/dsl and /opt

You probably won't have much success backing up deb-installed programs this way, but there is a script available called deb2dsl which should help you make an auto-loadable extension out of your deb application.

You might also look into the persistent home and opt, which allows you to keep home and opt on a harddrive while the rest of the system stays in the typical read-only state, or in ramdisk


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
3 replies since May 24 2005,00:09 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Editing R/O files

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