[Wine] Re: not able to write on ntfs disk

christoff wineforum-user at winehq.org
Sat May 17 08:36:27 CDT 2008


For those of you who don't know how to modify the /etc/fstab file just follow this little howto and you will be able to write on your NTFS partition using Wine.

1. use your favorite editor to modify /etc/fstab

Code:
$ sudo gedit /etc/fstab

 or

Code:
$ kdesu kwrite /etc/fstab

or if you are really brave

Code:
$ sudo vi /etc/fstab



once in the editor of your choice you should see the following:

Code:
/dev/sda2       /                    xfs     noatime,nodiratime 1 1
/dev/sda1       /windows             ntfs-3g defaults 0 0
/dev/sda3       swap                 swap    defaults 0 0
proc            /proc                proc    defaults 0 0
sysfs           /sys                 sysfs   noauto 0 0
debugfs         /sys/kernel/debug    debugfs noauto 0 0
usbfs           /proc/bus/usb        usbfs   devgid=14,devmode=664 0 0
devpts          /dev/pts             devpts  mode=0620,gid=5 0 0
/windows/MP3    /MP3                 none    bind  0 0



2. Notice how /dev/sda1 is the windows NTFS partition using the ntfs-3g driver and at the defaults value.  As vitamin had posted previously from ntfs-3g's website you need to add the exec option to the end of the list.

Code:
/dev/sda1       /windows             ntfs-3g noatime,nodiratime,defaults,blksize=4096,locale=en_US.UTF-8,exec 0 0


3. The finished product.

Code:
/dev/sda2       /                    xfs     noatime,nodiratime 1 1
/dev/sda1       /windows             ntfs-3g noatime,nodiratime,defaults,blksize=4096,locale=en_US.UTF-8,exec 0 0
/dev/sda3       swap                 swap    defaults 0 0
proc            /proc                proc    defaults 0 0
sysfs           /sys                 sysfs   noauto 0 0
debugfs         /sys/kernel/debug    debugfs noauto 0 0
usbfs           /proc/bus/usb        usbfs   devgid=14,devmode=664 0 0
devpts          /dev/pts             devpts  mode=0620,gid=5 0 0
/windows/MP3    /MP3                 none    bind  0 0


4. Reboot

5. Further information on fstab
http://en.wikipedia.org/wiki/Fstab







More information about the wine-users mailing list