Monday, August 3, 2009

Mounting ntfs file system

1) sudo apt-get install ntfs-3g

Installs ntfs-3g library
2) sudo fdisk -l

Shows all the disk drives
3) sudo mkdir /media/windowsC

Create a directory for mounting your NTFS file system

Ubuntu logo
4) sudo cp /etc/fstab /etc/fstab.bak

Take a backup of old conf file

5) gksudo gedit /etc/fstab

Edit the configuration file

6) /dev/sda2 /media/windowsC ntfs-3g defaults,locale=en_US.utf8 0 0

Add the above line to the end of that file. (Here sda2 is the ntfs partition, getting from fdisk -l )


It is common to want to update the system after you have made changes to the fstab config without having to reboot the computer.

To remount everything in fstab without restarting do:
sudo mount -a

No comments:

Post a Comment