my files!


Forum: Other Help Topics
Topic: my files!
started by: sock

Posted by sock on May 12 2005,21:14
For some reason, every time I shut down linux I lose all my files and settings. I boot from the floppy/live CD and was wondering if there was a way to save everything. I tried mounting hda1 but it won't let me save things there, because I do not have permission, I am quite new to linux so any help will be appreciated.
Posted by mikshaw on May 12 2005,22:31
Just for clarification, what you are experiencing is not typical of Linux, but it is typical of a liveCD.  Your files are all being saved into ram rather than on a disk, so when you shut down everything goes away.

In order to save things you'll need to utilize DSL's backup/restore feature. I don't think it has much in the way of official documentation at this time, but doing a search on these forums will give you all the info you need.

Here's a start:
< http://damnsmalllinux.org/cgi-bin....1a931bd >

Posted by sock on May 12 2005,23:13
thanks. I have just one more question, if I want to save the backup to the main HD, what do I put in the 'device' field? /mnt/hda1?
Posted by mikshaw on May 13 2005,01:20
if your HD is /dev/hda1, you'd enter just "hda1".  The script will deal with the full path.

Alternatively, you could probably bypass the backup_device interface by using the command "echo /mnt/hda1 > /opt/.backup_device", or by editing (or creating) the file /opt/.backup_device using "/mnt/hda1" as its content.  These two options are probably a little less user-friendly, but since you're new to linux i thought it could be helpful to give an example of how there is always more than one way to accomplish a given task.  If you don't care, just concentrate on the first line of this post =o)

Posted by sock on May 13 2005,18:08
Thanks a lot. Your help is VERY appreciated. :P
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.