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: Small Complaint, 2 weeks of frustration uneeded< Next Oldest | Next Newest >
JohnnyH Offline





Group: Members
Posts: 16
Joined: Dec. 2005
Posted: Aug. 07 2007,08:27 QUOTE

1] Default practice - harmless if nugatory in the circumstances  :;):

2] If there's already swap on the host I would use that & swapoff the USB, but would always assume that I should never make swap on the host - it might be somebody else's machine  :;):
Oh, BTW I have DSL working up to a sizable system, with OpenOffice.org and so on ...

3] My first attempt was indeed to use the DSL script tool installation of frugal on USB, and the bootfloppy-usb.img  that goes with it.
But on my system it would only load the USB drivers if booted in 'expert' mode.
I messed about with the linuxrc startup script in minrt24.gz for a bit, but not making quick progress I just went for the 'vanilla' bootfloppy.img instead, which does the job perfectly for the way I use the system.


To summarise, this set-up could be viewed as a 'standard' DSL that is distributed across a bootcd|bootfloppy and USB stick, bringing the convenience of recordability on the USB, although in over-all functionality it's not much different to a DSL CD with USB as an auxiliary data repository.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Aug. 07 2007,14:28 QUOTE

2) okay, but afaik using a swap on a flash-based drive will kill it much faster due to all the rw operations.

3) uhh, not sure what you did here, as I think the bootfloppy-usb just is the vanilla bootfloppy image with the "fromusb" code.
Back to top
Profile PM 
JohnnyH Offline





Group: Members
Posts: 16
Joined: Dec. 2005
Posted: Aug. 07 2007,16:21 QUOTE

2) Yes those are my thoughts too, that's why I would swapoff the USB unless forced to use it.

3) From examination of the respective linuxrc scripts, the bootfloppy-usb seems to be adapted from the 'vanilla' bootfloppy, being tailored to suit the frugal usb configuration produced by the script in DSL tools. The fromusb cheatcode is available in the 'vanilla' bootfloppy (and CD) and luckily that's what works best in my systems  :)
Back to top
Profile PM 
tinker Offline





Group: Members
Posts: 33
Joined: May 2007
Posted: Aug. 07 2007,18:48 QUOTE

Quote (JohnnyH @ Aug. 07 2007,12:21)
2) Yes those are my thoughts too, that's why I would swapoff the USB unless forced to use it.


If I were doing this I would choose to do it the opposite way, turn on swap on the USB stick only when I needed it, if I needed it. If you wait until the end of boot up to turn it off, on a low RAM system, it might already have written to swap, thus using up some of the life of the USB stick, if the stick is flash memory. YMMV.

As far as I can tell, DSL does not make a swap on a system hard drive unless a linux swap partition already exists on the drive. So, you could choose to run without one or turn the one on your USB stick on when needed.  

However, if the reason you don't want to use an existing swap on the system is because you're worried about leaving traces behind when you shut down, there is a thread about encryption in the archives somewhere.
Back to top
Profile PM 
JohnnyH Offline





Group: Members
Posts: 16
Joined: Dec. 2005
Posted: Aug. 07 2007,20:42 QUOTE

Quote
If I were doing this I would choose to do it the opposite way, turn on swap on the USB stick only when I needed it, if I needed it....

Good point :)
Quote
...However, if the reason you don't want to use an existing swap on the system ...

I would happily use an existing swap, but I would not create one on somebody else's system (afterthought - at least not without asking for informed consent :;):     )

Thanks for the responses everybody - all stimulating thought  :)
Back to top
Profile PM 
10 replies since Aug. 06 2007,01:12 < 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: Small Complaint

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