Joined: Aug. 2005
||Posted: Aug. 12 2005,14:19
Managed to solve my own problem after spending a number of hours on it.
Running DSL on a USB thumbdrive w/ that has only a single partition (i.e. sda1). USB-HDD boot type, although I don't think that matters to this problem.
Anyway, sda1 needs to be unmounted prior to shutdown for the backup to work. For anybody experiencing these problems, here's the solution:
1) rename your backup.tar.gz to something without a .tar.gz extension (if you can afford to delete it you might as well since we have to replace it)
2) reboot so you have a "backup free" environment.
3) edit /opt/powerdown.sh to unmount /mnt/sda1 prior to backup
4) reboot; new backup.tar.gz will be created and one will not end up with "broken pipe" error messages on shutdown
A helpful hint: I cleaned out the powerdown.sh and bootlocal.sh so all they do is call to scripts on sda1 (bootlocal.sh obviously mounts sda1 prior to calling it). That way I can modify the scripts regardless of whether the backup.tar.gz is working and I don't have to remaster the KNOPPIX image.
I hope this helps people out; I was unable to find any relevant posts on this isue previously.