wasgate
Group: Members
Posts: 7
Joined: Nov. 2003 |
|
Posted: Oct. 20 2004,01:32 |
|
Thanks, ke4nt/Kent, for the thorough reply.
I've had some success, but ran into a problem with the backup.tar.gz creation process.
First though, I want to mention that I decided to keep the 'start_myfav' bash script and my Python script(s) on the keydrive (sda1), so that I wouldn't have to modify filetool.sh for their sake.
Next, even though /dev/sda1 is automatically mounted as /cdrom, I added 'mount -t vfat /dev/sda1 /mnt/sda1' to bootlocal.sh. The next line after this was '/mnt/sda1/MyPython/start_myfav' to execute the 'start_myfav' bash script (/mnt/sda1/MyPython is where I'm keeping the bash script and Python scripts).
The advantage to keeping the bash script 'start_myfav' and my Python script(s) on the sda1 keydrive, in my mind, is so that I won't have to modify filetool.lst on their behalf (bootlocal.sh is already in the list of backed up file, in filetool.lst).
I then attempted to do a backup (to backup the change to 'bootlocal.sh'), but had a bit of trouble figuring out what to type into the filetool 'Device:' input field. I finally settled on 'sda1' which eventually created 'backup.tar.gz' on the root of sda1. So far so good.
I then rebooted, and used 'dsl restore=sda1 mydsl=sda1' at the 'boot:' prompt.
Once booted, I verified that bootlocal.sh executed by checking that /dev/sda1 got mounted to /mnt/sda1, which it had. However, the line '/mnt/sda1/MyPython/start_myfav' apparently didn't get executed, as my Python script didn't start up.
So, I started tweaking this particular line to try to get it to work. I'd make a change to bootlocal.sh and then do a backup, prior to rebooting. I did this once, and for some reason decided to manually delete backup.tar.gz on sda1, just prior to doing another backup, after modifying bootlocal.sh.
Then, the problem cropped up. I'd attempt to do the backup, using either the DSLPanel or DSLMenu, but it wouldn't create backup.tar.gz on sda1.
Since I was starting to get tired, I decided to call it quits and post this progress report post. I hope it's written well enough to get the idea of the problem across, as I'm still tired!
I'll return to the problem tomorrow, with a fresh mind. I'll get it figured out.
Thanks again for the detailed info.
Wasgate
-------------- Wasgate ====================================================== Zu leben ist ein Bier und ein Linux! Eins, zwei G'Suffa! ======================================================
|