Unable to Save / restore data and settings


Forum: Other Help Topics
Topic: Unable to Save / restore data and settings
started by: icpeanuts

Posted by icpeanuts on Jan. 22 2006,02:37
I am new to DSL and Linux. I tried the save and restore method, I can not get it to work. Here is my setup and question.

I am booting and running the LiveCD DSL. The hard drive is partition hda1, hda2 hda3.

I want to point and store the /home and /opt to the hda3 drive. I use the Boot option "DSL home=hda3 opt=hda3", it boot fine and the home/opt dir are in hda3, but when I reboot the system, the dir is gone. I set the Backup in the DSL Control panel to hda1.

I opened the DSL Control Panel and turned on "BetaFTP" I want it to be always on after a reboot/system shutdown.

I want to add some users. I added few and everytime system reboot/shutdown, everything is gone.

I set the backup to the hda1 partition. It shows that data are backup and restored during shutdown and bootup, but the settings does not save.

I found and view the .filetool.lst file. there are bunch for dir info there. I am not sure what to put in there. What can you add in that file.

Can my requests setting from above be added to that file?

Please help. Thanks

Posted by mikshaw on Jan. 22 2006,03:46
Some tips....some things might be obvious, but i'm just saying what i know...

When you reboot with a liveCD, you *always* have to add "dsl home=hda3 opt=hda3".  If you don't it will revert back to the default directories.

Any daemon you want to run automatically will need to be told to run every time you boot.  As long as you have a persistent /opt, you can add commands to /opt/bootlocal.sh and you should be good.

If you add users, you will have to back up their home directories, as well as /etc/shadow, /etc/passwd, maybe one or two files i can't think of at the moment

Using both a persistent home and opt, and backup/restore, you will probably be backing up a lot of unnecessary stuff in both directories.  From my experiences, if you've got persistent directories it might be less complicated to not use backup/restore in its typical way, but instead use it to create mydsl packages of the few files outside of /home and /opt that you want to be persistent.  Basically what this means is to set up a backup containing only the stuff in directories other than home and opt, and rename the backup to load it as a mydsl extension rather than a restore.  For example, if you have files in /usr/something that you want to restore, rename the backup with a ".dsl" file extension so that it can be written to the system when you reboot.

I hope i made some sense...it's the weekend, and we all know what that can do to a person...

Posted by icpeanuts on Jan. 22 2006,05:03
Thank you very much. You answered alot of my questions.

Is there a way that I can add the "dsl home=hda3 opt=hda3" to DSL, so it will always boot using that command? and Set timeout to 5 seconds instead of the current.

Also can I disable the cd eject when the system shutdown?

Please give any suggestion.

Thanks

Posted by mikshaw on Jan. 22 2006,06:57
As long as you are using the liveCD you cannot change it unless you rebuild the CD with your desired changes.
To be honest, it sounds like what you want is a frugal install...this is the equivalent of a liveCD, but running from a harddrive, and it allows you to specify boot options permanently as well as disabling the cd eject at shutdown

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.