persistent files on a mouted disk image?


Forum: DSL Embedded
Topic: persistent files on a mouted disk image?
started by: michaelbez

Posted by michaelbez on May 03 2006,14:11
I am running DSL on a machine with 64 MB would like to find a way storing persistent files on a mounted disk image instead of using the DSL backup restore feature. I would like to do this so that I will be able to install more extensions that I can onto the ramdisk, and I like the idea of my files still existing if DSL hangs if it runs out of memory. I am not able to have any swap as I am booting off of a internal CF card from a frugal install.

I did try by creating an a disk image /cdrom/hd.img, mounting on /mnt/hd, and do copying everything from /ramdisk (except var) to /mnt/hd. I then I edited the /opt/bootlocal.sh so that it removers /ramdisk/opt and /ramdisk/home, then creates symlinks in /ramdisk to every directory in /mnt/hd. Then I used the DSL backup to and backup to hda1. When DSL boots it all works great until I try to install an new extension the everything stops working :( !

Posted by doobit on May 03 2006,14:31
If you have the space on your CF card, then you can copy anything (as root) to /mnt/hda1 since that is probably where your CF disk is mounted. The in your boot loader's boot command line put dsl mydsl=hda1 to have them restore automatically at boot. uci extentions will be mounted automatically and .dsl extentions will be placed in the mydsl menu list for selection.
Posted by michaelbez on May 03 2006,15:02
That is what I'm doing at present, but I would like to use an image that contains my home directory and installed extensions.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.