There are quite a lot of linux distros that run (or can run) from ram (https://en.wikipedia.org/wiki/List_of_Linux_distributions_th...). I've used porteus(http://porteus.org/) and slax(http://www.slax.org/) and although the experience was interesting, some things needed quite a lot of effort to work.