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.
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:
1) install ubuntu on virtualbox – I’ve read that CUDA won’t work using this method?
2) install ubuntu onto a flash drive permanently – would this work? can persistent USB OS’s utilise the PC’s graphics card?
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)?
Thanks guys!
To virtual box I can’t say anything how it works with cuda.
If you install ubuntu on a flashdrive you can use unetbootin. It creates a “live” cd on the flash drive, but you can also add a seperate memory which stores everything you change on the live system (It’s called like “Spaces used to preserve files… (Ubuntu only)” ). This will include all manual installed programs and drivers. So it will act like a real installed ubuntu.
Also you can install ubuntu direct to your flashdrive. Therefore you have to install grub in the mbr of the flashdrive. Additional it’s better to edit the fstab, too and write the uuid of the partitions instead of the original entry.
The probably best way is to make a dual boot system. Ubuntu have a comfortable installer which gives you the option to install it besides your existing windows system. But it will need free space on your hard disk.