DSL Embedded :: mydsl problem with frugal
Alright, thanks for the reply roberts.
Hi,
I've a similar problem with backup/restore!
DSL just won't, no matter what I'm trying.
The last thing I did was:
Reformatting and Reinstalling frugal to hda2 (hda1 is swap, hda3 is my precious stuff) with following parameters given when the install script asks for command line:
restore=hda3 home=hda3 opt=hda3 mydsl=hda3 dma
All other questions of the scrip regarding mydsl and restore I have answered with NO.
When booting, I can see the DSL message of restoring from hda3
Then I changed /opt/bootlocal.sh and /opt/powerdown.sh.
Then I checked for /opt/.backup_device , it exists and contains hda3
Then I did a shutdown, power off, power on.
DSL again displayed the message restoring from hda3,
but the code I added to bootlocal.sh isn't executed.
When opening /opt/bootlocal.sh with emelf, it doesn't contain
my previous changes anymore.
I've also tried the desktop backup/restore feature.
No success.
I'm really lost
Any ideas? Thanks
Pio
@roberts
>Yes, I would not recommend swap on a CF, nor persistent home on CF, as the >cache would also be very hard on CF device.
Could you elaborate on the cache mechanism, I am using a frugal install on a CF card. hda1= dsl boot image hda2 = /opt /dsl /home ect. no swap
Is this setup caching to the CF device?
What is persistant home?
regards b1m1
OK, I think I found out, why my backup/restore didn't work.
Maybe some of you more experienced guys can confirm this:
1) I have been loggin onto DSL using SSH/Putty as root.
(This should not be related to what I found but .....)
2) I had a look at
/KNOPPIX/usr/sbin/filetool.sh
and saw that a file xfiletool.lst is being referenced.
3) I ran
filetool.sh backup
and got the error message
"tar: /home/dsl/xfiletool.lst : No such file or directory"
"tar: Error is not recoverable: exiting now"
4) This means, the script is actually looking for xfiletool.lst
and not filetool.lst on my system.
Why this I don't know yet.
5) Solution:
cp /home/dsl/filetool.lst /home/dsl/xfiletool.lst
6) I ran filetool.sh again, this time without error.
Rebooted.
Backup seems to work now !!
Is this a bug?
Would be nice if somebody could check my assumption.
Pio
Response to magicpio. It sounds to me like you did not have a file named xfiletool.lst to begin with for some reason. By doing the "cp /home/dsl/filetool.lst /home/dsl/xfiletool.lst" command you created one which allowed the backup script to run error free.
I searched the forums and found the following entry detailing the use of xfiletool.lst.
http://damnsmalllinux.org/cgi-bin....ool.lst
This file allows you to exclude individual files or directories from a directory that you are backing up which is pretty neat.
The thing I do not understand is that by coping filetool.lst to xfiletool.lst, it seems that you would cause the filetool.sh script to exclude everything that you want to backup. I am reasonablly new to DSL and I am trying to learn and understand as much as I can.
Can anyone else verify my thoughts and explain how this works?
Thanks
Next Page...
original here.