Thursday, October 4, 2007

Mounting windows partition for read-write

On my windows installation I always partition my hard drive to:
C - 10G size - Windows installation and Microsoft Office.
D,E.... - My Data files (Music, Photos, Documents) and the rest of the programs files.

One of the most important things in running Ubuntu is having read/write access to those partitions.

The fresh installation of Ubuntu 7.04 had 2 major problems which I managed to solve:

1. Read only access
This was solved using a driver called ntfs-3g. A quick search in ubuntu Wiki has a good HOWTO guide on installing it.
2. Hebrew folders dissappeared
I couldn't see my hebrew named folders. This was solved by adding this option to the /etc/fstab file:
locale=he_IL.utf8
You have to add it in the line the describes your partition. I placed it here:

# /dev/sda2
UUID=D23C06113C05F171 /media/sda2 ntfs-3g defaults,locale=he_IL.utf8,nls=utf-8,umask=007,gid=46 0 1


I used the following links to solve my problems:
1. Hebrew HOWTO
2. Disappearing folders question in ntfs-3g FAQ