You need to reboot your system,
towards the beginning of the boot you will see an option to press I to go interactive.
Keep pressing it till you are asked if you want to load
x module, keep saying yes to loading all of the modules, there will be a few of them, when it asks you if you want to load
local say no
your system will then boot completely.
when you get into a working system edit your rc.local
Code:
gedit /etc/rc.local
and add a
& to the end of the line that you start folding.
this allows the folding program to run in the background and your system can continue to boot.
Dave