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: Hard drive frugal install loses all files between, How can I prevent loss of all saved data< Next Oldest | Next Newest >
jfdutcher Offline





Group: Members
Posts: 2
Joined: April 2006
Posted: April 26 2006,00:10 QUOTE

Please help ...I completed a frugal install to the harddrive and it works well.

But between every boot my newly created PPP connection item is gone, all bookmarks are gone (Firefox), all downloaded files (say, to the 'desktop')
are gone. In the case of the ISP connection  the configure exercise states that it is saving the connection to a directory like: /etc/ppp/chatscripts/xxxxx or something like that. But at next boot time it's gone and I have to re-create just to get back on the internet. Again any saved bookmarks are gone...and files too.
How do I prevent this  ???   There seems to be a /ramdisk..... directory 'underneath' the /etc directory making me think that the connection is not under
/ramdisk directly which I presume would be a bad thing.........
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 26 2006,02:04 QUOTE

Frugal is in essence the same as a live CD....if you do nothing to change its default startup and shutdown behavior, the system will return to its original state.

In order to keep your changes, you must save those changes in a persistent location outside of the DSL filesystem.  The most commom way to do this is with DSL's backup/restore feature.  You must specify a partition for the backup.  If you do this properly, and if you tend to shut down or reboot properly, the backup will occur automatically each time you shut down or reboot.

The backup gui is available in the "system" section of your desktop menu, and i believe it's also available through the DSL control panel.  When you start the backup tool, you will be presented with a text field in which to enter the partition you desire for the backup.  You must enter the partition without a path.  In other words, if your target partition is /dev/hda1, you would type in hda1.  Once the partition is accepted, your backup/restore is activated.  You can also use this tool to make additional backups or restore from arbitrary backup files.

The backup itself is composed of files and directories listed in /home/dsl/.filetool.lst.  Any string listed in /home/dsl/.xfiletool.lst, which isn't also specified explicitly in .filetool.lst, will be ignored.

If the target partition is not the same as the partition where DSL resides, or if you have multiple backups on multiple partitions, you may need to specify dsl restore=<partition> in the configuration file of your bootloader.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
kerry Offline





Group: Members
Posts: 706
Joined: April 2006
Posted: April 26 2006,10:03 QUOTE

Can't we just put  /   in /home/dsl/.filetool.lst to have it save the whole set up, as if it were a snapshot and have it restore back to it's exact state upon boot up?
Back to top
Profile PM 
pr0f3550r Offline





Group: Members
Posts: 378
Joined: Dec. 2005
Posted: April 26 2006,12:19 QUOTE

/ does not contain the whole system, only the base of it.
You don't really want to carry with you the whole system around when most of it are static files.

However, other projects, not DSL, are experimenting with squashfs to perform a whole writable system but DSL developers have beasically rejected the idea, not that I advocate this anyway (search!)


--------------
THE QEMU FORUM: http://qemu.dad-answers.com/index.php

QEMU ON WINDOWS: http://www.h7.dion.ne.jp/~qemu-win/

How to use floppy, CD-ROM and hard disk - http://www.h7.dion.ne.jp/~qemu-win/HowToFloppyCdrom-en.html

How to use network - http://www.h7.dion.ne.jp/~qemu-win/HowToNetwork-en.html
Back to top
Profile PM 
torp Offline





Group: Members
Posts: 172
Joined: July 2005
Posted: April 26 2006,12:51 QUOTE

i had this same problem for a long time, and was either too dense, or to blinded by my winblows experience to see.....but i found my answer in grub's menu.lst. the following lines (with a few machine specific cheatcodes) saved the day for me...

Quote
#title DSL with mydsl, restore, persistentancy, hostname, and passwords
#kernel /boot/linux24 root=/dev/hda2 quiet vga=normal noacpi noapm noscsi frugal dma toram mydsl=hda3 restore=hda3 home=hda3 opt=hda3 host=DSL1 secure
#initrd /boot/minirt24.gz


once i modified my menu.lst and created persistent home, opt and mydsl persistency on the apprpriate drive it all fell into place. finally i place my .dsl and .uci files in "/" of the persistant drive and viola!

torp


--------------
-|||-----|||-
Back to top
Profile PM 
4 replies since April 26 2006,00:10 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Hard drive frugal install loses all files between

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