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: (3) </ [1] 2 3 >/

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

reply to topic new topic new poll
Topic: DSL - Memory run only, DSL only system running in memory< Next Oldest | Next Newest >
mengesb Offline





Group: Members
Posts: 4
Joined: June 2006
Posted: June 18 2006,06:33 QUOTE

Ok, now before I get flamed, I've tried to search a bit before posting this request, so I hope that I brought my fire retardant smilies because I feel my stupidity getting to the best of me.

I want to run DSL completely within memory at boot time.  This system will have a /usr partition on a HD, but otherwise I want the system to run in memory.  I want to see a performance difference so I can try and run a gaming server within memory, referencing only user data on HD for local file installations.

So - how in the world do I do this - because it says I can but I just can't find the help documents.

So if you want to point me in the right direction, or link me some threads, just no middle fingers please.  I hope this explains enough:

AMD Athlon system
2gb memory - want to utilize this space only
20gb hd
Back to top
Profile PM 
kerry Offline





Group: Members
Posts: 706
Joined: April 2006
Posted: June 18 2006,06:37 QUOTE

The cheat code is> dsl toram
You can press F2 and F3 to see the various cheat codes.
Back to top
Profile PM 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: June 18 2006,10:51 QUOTE

But that loads /usr to ram too...

To load everything all to ram except /usr you'll have to start with 'dsl toram' boot options and  (for example) mount your hd to /usr. (Add to /opt/bootlocal.sh?)
In that case you'll have all the DSL /usr contents in ram but all other /usr contents from your hd.

I hope this helps...


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
kerry Offline





Group: Members
Posts: 706
Joined: April 2006
Posted: June 18 2006,11:53 QUOTE

How about> dsl toram usr=hd? ?
There some reference to something like that in the cheat codes.
Back to top
Profile PM 
tedmoore99 Offline





Group: Members
Posts: 67
Joined: Mar. 2006
Posted: June 18 2006,16:34 QUOTE

Kerry:
Using the cheat codes modifies the way your data is stored after you shutdown.  For example: mydsl=hda4, home=hda4, etc tells the bootloader that you want those directories stored on hda4.  However the toram cheatcode tells the system to copy the entire system into ram at boot time.  

There is the script "bootlocal.sh" which allows you to have some commands/scripts run at boot time which modifies this.  Entering the command: "mount /dev/hda3 /usr" in bootlocal.sh tells the system to mount the hd as a filesystem at the mount point during boot time.

Enjoy
--Ted
Back to top
Profile PM 
10 replies since June 18 2006,06:33 < Next Oldest | Next Newest >

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

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: DSL - Memory run only

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