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
Pages: (12) </ 1 2 3 4 [5] 6 7 8 9 10 ... >/

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

reply to topic new topic new poll
Topic: Frugal Explanation< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: June 17 2005,16:46 QUOTE

3. I'm not sure, but i seem to recall reading something about frugal install not working right with a custom CD.  Maybe that was embedded or something, though...or maybe i'm just hallucinating.
In any case, with Frugal you don't really need to create a new CD to get custom applications.  myDSL apps are used in the same manner in frugal as they are with liveCD, so you could have them available to auto-load when you boot up.

4. the /home and /opt are not persistent by default.  You will need to pass a boot parameter to DSL from your bootloader to tell it where your files are (e.g. home=hda1 opt=hda1).


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





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: June 17 2005,17:00 QUOTE

He's only got 32mb ram so he may have to remaster a few apps into the base if they are .dsl files. You can remaster apps into the base and use frugal as long as you don't change any of the DSL config files.

Chris

EDIT: I should say that remastering the base should be avoided if at all possible because yuo won't be able to easily upgrade.
Back to top
Profile PM MSN YIM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: June 17 2005,18:00 QUOTE

Quote

Posted on June 17 2005,00:20This has been a great thread!! I realise that there are so many things with frugal installs that I haven't yet got a correct understanding of. But I am getting more and more convinced that this is the best way of running a computer!

I have one question to Green, or at least a question that popped up reading his reply. You said:

Quote
If  'toram'  is chosen as a boot time option, then  /home/dsl and /opt are loaded into ram, but not if you don't choose  'toram'.  If you've got the ram, you might as well use it.


Does that mean that if you store a lot of personal files in your /home/dsl, all of that is loaded into ram? Even documents, pictures, etc.? If I use my computer that way I guess the ram disk would be overloaded? Is that really so? Or is it just the files you have put in your filetool.lst that are loaded?


As I understand it...,

If you use the persistant /home and /opt bootoptions
they are only placed on your HD, and not in ramspace.
Same with your backup.tar.gz, it is written to HD, not ram.

If you aren't using persistancy, then the /home and /opt
dirs ARE in ram, but only contain the minimal default stuff.
From there, you add to them using your backup to
save/restore things you want to keep, and they are ALSO
added to your ramspace..

73
ke4nt
Back to top
Profile PM 
newOldUser Offline





Group: Members
Posts: 241
Joined: Oct. 2004
Posted: June 18 2005,02:00 QUOTE

Great thread.

I've done a frugal install and done some experimenting. I probably should have done this long ago.

I don't use the toram option when I boot, I have:
dsl nomce nodma quiet restore=hdc6 frugal host=dsl120 home=hda2 mydsl=hda2 opt=hda2 fromhd=/dev/hda4

I want it to load dsl from the file on /dev/hda4
I want to save most of the other files on hda2
When it does the backup/restore I want it to use hdc6

When I booted I was worried because it looked like the home directory was in the ramdisk. I did a little test.  I opend a terminal and listed what was in the /mnt/hda2/home/dsl directory. This should actually be on my hard drive.  I then used Beaver to modify one of the files in the /ramdisk/home/dsl directory and saved it.  When I went back and relisted /mnt/hda2/home/dsl the file was modified.

So.... now I'm convinced that my home directory will be kept on my hard drive.    If this is the case then what should I put in Filetools.lst?  I guess I would only put the names of files that reside outside of the /opt  or  /home   directories  that I want saved.

Thanks again to all of you for having the patience to go over this subject again and again.


--------------
======== Note =========
The DSL Forum Search default is 'OR'
If you search for "cat dog" you will get all "cat" posts and all "dog" posts.
If you search for "cat AND dog" you will only find results that contain BOTH "cat" and "dog"
Add '*' for wildcards, " cat* and dog* "
Back to top
Profile PM 
newOldUser Offline





Group: Members
Posts: 241
Joined: Oct. 2004
Posted: June 18 2005,11:29 QUOTE

Did a little more testing, rebooting, playing....

I've answered my own question about filetool.lst

assuming you use the home= and opt= parms on bootup you still need to put file names in filetool.lst if they will be overwrittin by .dsl packages at boot time.  

So lets say you download and  install Samba.dsl   You make your mods to /opt/samba/smb.conf and life is good.  

Then you do something stupid, like rebooting your computer...

If the Samba.dsl package is in your mydsl= path then it will be reinstalled at boot time. This is probably a good thing since you may want Samba each time you boot up.  The bad thing is that since the smb.conf is part of the Samba.dsl package it gets put back into your /opt/samba directory and overlays your pretty smb.conf that you spent hours setting up.

The solution is to add the /opt/samba/smb.conf file to your filetool.lst   They made it real easy to do.  Go into emelfm. Highlight the file. Click no the Add2Filetool button.

Now the next time you reboot (you fool!).  The Samba.dsl package will be reinstalled just like before, putting the default smb.conf in the  /opt/samba directory,  but then along comes the restore and wham-bam your smb.conf is copied from the backup file to /opt/samba/smb.conf

pretty neat.  It's taking some time to get my head around such a dynamic environment. It's very different then what I was use to.


--------------
======== Note =========
The DSL Forum Search default is 'OR'
If you search for "cat dog" you will get all "cat" posts and all "dog" posts.
If you search for "cat AND dog" you will only find results that contain BOTH "cat" and "dog"
Add '*' for wildcards, " cat* and dog* "
Back to top
Profile PM 
56 replies since June 16 2005,14:01 < Next Oldest | Next Newest >

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

Pages: (12) </ 1 2 3 4 [5] 6 7 8 9 10 ... >/
reply to topic new topic new poll
Quick Reply: Frugal Explanation

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