files in .filetool.lst not restoringForum: Other Help Topics Topic: files in .filetool.lst not restoring started by: mike54703 Posted by mike54703 on Sep. 01 2006,18:53
Hi,I'm using DSL for a photo frame by following a recipe from another thread on this forum. However, some files that I'm adding to .filetool.lst are not being restored on a reboot. I've uncompressed and looked in the tar ball /mnt/hda2/backup.tar.gz and the files appear to be in the tar ball. I don't get any error messages during the boot other than a restore is being done. Restoring backup files from /mnt/hda2 Done. I've doubled check the spelling of all names - no mistakes there. The files I'm trying to backup are associated with zgv etc/zgv.conf etc/vga/libvga.config usr/bin/zgv usr/lib/libpng.so.2.1.0.12 usr/lib/libvga.so.1 usr/lib/libvga.so.1.4.3 usr/lib/libvgagl.so.1 usr/lib/libvgagl.so.1.4.3 The first two stick - they get restored, but the others do not. Posted by mikshaw on Sep. 01 2006,19:37
You can't restore files to /usr unless you first run mkwriteable (load a *.dsl extension).This will work only if you auto-load any myDSL package with a *.dsl filename, since it will be loaded before the restoration. Posted by mikshaw on Sep. 01 2006,20:03
An alternative to having these files in your backup:1) Make sure the files are properly installed and working 2) Make a list of the files (files.txt, for example): etc/zgv.conf etc/vga/libvga.config usr/bin/zgv usr/lib/libpng.so.2.1.0.12 usr/lib/libvga.so.1 usr/lib/libvga.so.1.4.3 usr/lib/libvgagl.so.1 usr/lib/libvgagl.so.1.4.3 3) Become root: sudo su 4) Move to the top level of the file system: cd / 5) Create a mydsl package: tar -czf /home/dsl/zgv.dsl --no-recursion --numeric-owner -T /path/to/files.txt 6) Put the dsl file in a place where it can be loaded automatically Posted by mike54703 on Sep. 01 2006,21:15
Exactly where I was headed... some type of alternate backup. I'll look into the myDSL approach.Thanks!!! Posted by khagberg on Sep. 27 2006,01:49
Did you do this:Now we will modify the boot menu. Type mount /dev/hda1 enter. We will use nano which is a text editor for editing all files. Type sudo nano /mnt/hda1/boot/grub/menu.lst enter. The default setting is to select which menu option it will default to with 0 being the first option. If you choose DSL fb1024x768 and your system is running fine, set the default to 2. Set the timeout to be 3 Under the timeout option type hiddenmenu Go down to the line title DSL fb1024x768 On the next line that starts with kernel add [/B]write quiet[B] to the end of the line. Type Ctrl-X and answer Y to save and enter. I know my directions had a few typos sorry. One more thing to add would be the acpid so that when you power it down it umounts everything clean |