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: Unable to Save / restore data and settings, .filetool.lst file question??< Next Oldest | Next Newest >
icpeanuts Offline





Group: Members
Posts: 32
Joined: Jan. 2006
Posted: Jan. 22 2006,02:37 QUOTE

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
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 22 2006,03:46 QUOTE

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...


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





Group: Members
Posts: 32
Joined: Jan. 2006
Posted: Jan. 22 2006,05:03 QUOTE

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
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 22 2006,06:57 QUOTE

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


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
3 replies since Jan. 22 2006,02:37 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Unable to Save / restore data and settings

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