Live CD with swap file on USB?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

Live CD with swap file on USB?

Postby ibexslam on Fri Aug 31, 2007 1:38 pm

I'm still experimenting with live CDs...is it possible to (relatively easily) create a swap file on a usb flash drive to use while running off the CD?

I've been testing the new xfce version of mint which works much better than gnome on my machine that has 500 mb of ram...but it doesn't take long for that to fill up and choke. But if I could give it a little assistance with the memory issue, maybe I could avoid that problem.

Yes, I know I should just install the darned thing. Not ready for that yet.

Ideally, I'd like to have "mint on a stick," or perhaps a USB hard drive, but my understanding is that it would not be persistent (therefore no better than the CD) and creating one carries a risk of messing up my MBR (I understand it's something very important to my computer) unless I take my computer apart and disarm the hard drive. Ugh.

I.
ibexslam
Level 1
Level 1
 
Posts: 31
Joined: Sun Jul 15, 2007 9:32 pm

Linux Mint is funded by ads and donations.
 

Postby ibexslam on Fri Aug 31, 2007 11:42 pm

After a bit of research on the ol' www, I see that putting a swap file on a usb flash drive might not be such a good idea, as it may be destroyed by the multiple writes.

Presumably, now that I think about it, the same principle would apply to putting the OS in its entirety on a "stick." I'd think the same amount of swappin' would be going on. Somebody correct me if I'm mistaken.

I.
ibexslam
Level 1
Level 1
 
Posts: 31
Joined: Sun Jul 15, 2007 9:32 pm

Postby Lolo Uila on Sat Sep 01, 2007 7:33 pm

A lot of people get paranoid once they find out there is a limited number of write cycles with flash memory. The problem is they don't do the math. In reality that number is so high that it would be difficult to wear out a flash drive even if you tried. In normal use (even as a swap drive) your computer would probably fail well before the flash drive.

However, USB flash drives are notoriously slow. They are significantly slower than hard drives, so I don't know if it would improve your situation much.

You really should just install it.

I'm running Mint XFCE on an old Pentium-III 800 with 768MB of RAM and it runs extremely well. I was actually ready to throw that old P3 away because it was too slow, but I decided to try Mint XFCE on it just to test it out. Well I was very surprised by the result of that test. It runs so well I have decided to keep the computer and find it a home.
User avatar
Lolo Uila
Level 5
Level 5
 
Posts: 548
Joined: Thu Mar 15, 2007 3:40 am
Location: Kapolei, Hawaii


Return to Newbie Questions

Who is online

Users browsing this forum: panorain and 29 guests