title: CUDA/OpenCL on ubuntu that is installed on a USB drive
body: <p>I've been trying to get CUDA/OpenCL running on my windows system. I can get them working (I have a compatible video card and I've installed the CUDA toolkit) but compiling the sample programs is proving to be very annoying and has just led to more errors. So, I want to try installing CUDA on ubuntu. Forgive the following noob questions. </p>
  
  <p>I want to keep windows as my main drive for gaming etc. I don't have a second hard drive (I could buy one but not if I can avoid it!) so my options are:</p>
  
  <p>1) install ubuntu on virtualbox - I've read that CUDA won't work using this method? </p>
  
  <p>2) install ubuntu onto a flash drive permanently - would this work? can persistent USB OS's  utilise the PC's graphics card?</p>
  
  <p>3) dual boot both OS's to my existing hard drive - I assume this would work and be stable? What kind of risk does it pose to my existing data (I've got a lot of mp3's etc and nowhere to back them up)? </p>
  
  <p>Thanks guys! </p>