Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: persistent files on a mouted disk image?, Using mounted image instead of backup< Next Oldest | Next Newest >
michaelbez Offline





Group: Members
Posts: 9
Joined: April 2006
Posted: May 03 2006,14:11 QUOTE

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 :( !
Back to top
Profile PM 
doobit Offline





Group: Members
Posts: 912
Joined: July 2005
Posted: May 03 2006,14:31 QUOTE

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.

--------------
"Help stop internet piracy...use Linux!"
Back to top
Profile PM WEB MSN 
michaelbez Offline





Group: Members
Posts: 9
Joined: April 2006
Posted: May 03 2006,15:02 QUOTE

That is what I'm doing at present, but I would like to use an image that contains my home directory and installed extensions.
Back to top
Profile PM 
2 replies since May 03 2006,14:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: persistent files on a mouted disk image?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code