This question already has an answer here:
I am completely new to ubuntu, and I created a live usb with ubuntu 14.10. I booted up to the usb, but it was soo slow compared to using the test version of ubuntu. How can I get my live usb to run nearly as fast as the test version of ubuntu but still be able to install programs to the usb and save files without them getting deleted on restart?
A little bit of further background: I have two usb's. A two gig sd card, and a 32 gig thumb drive. I booted to the (iso) test version of ubuntu on my two gig sd card and formatted the 32 gig thumb drive and installed ubuntu 14.10 to it. I shut down and removed my 2 gig (try ubuntu) sd card. I then booted my computer back up and ran the official copy of ubuntu off of my Usb Thumb drive, but since it was no longer running from ram, it was incredibly slow and lagged so bad. I would like to have this thumb drive as a portable Operating system that I can boot to multiple computers, but I cannot run at this slow rate. Is there a way to load more data to the ram so that it runs faster? Utimately, I would like to be able to run the majority of the OS in ram, but be able to install programs to the usb thumb drive, and save files (like cpp files) to the usb as well.