Executing file on NTFS partition in Ubuntu

sudo gedit /etc/fstab

add a line
# <file system>  <mount point>    <type>      <options>       <dump>  <pass>
Ex:
/dev/sda5         /media/Data      ntfs       utf8,uid=1000,gid=1000,umask=000    0      0

Advertisements

Install CUDA 5.0 in Ubuntu 12.04

1. The order of installing the Nvidia driver and CUDA 5.0 is not important.
2. The CUDA 5.0 requires Nvidia driver 304 or later.
3. Disable Nouveau by adding

blacklist nouveau

in /etc/modprobe.d/nvidia-graphics-drivers.conf

so that Nvidia driver can be actived.

4. Dependent library should be installed, such as libxmu-dev.

Problem:
After I installed Nvidia driver, tty1-tty6 is not working.
When I push ctrl+alt+F1~F6, only a blinking cursor on the screen.
Current solution:
If I need to use tty1-tty6, I first boot to recovery mode, and then normally strat Ubuntu. From this way, tty1-tty6 can be accessible again.