Results 1 to 5 of 5

Thread: ntfs Read/Write problem

  1. #1
    solmisation NNTP User

    Default ntfs Read/Write problem


    Hi
    I sometimes need to read/write files to my windows partition,but
    although I can read and copy files from windows I cannot write to the
    windows partition, I get the message
    "Access denied-could not write to /windows/D/media.
    I have ntfs-config installed also ntfs-3g. This has worked in the past
    when running Suse10.3. The only other difference in my system is that I
    have installed Wubi on my windows partition so that i could play about
    with Ubuntu, could this cause this problem?

    Thanks for any help and advice given.


    --
    solmisation
    ------------------------------------------------------------------------
    solmisation's Profile: http://forums.opensuse.org/member.php?userid=325
    View this thread: http://forums.opensuse.org/showthread.php?t=401392


  2. #2
    oldcpu NNTP User

    Default Re: ntfs Read/Write problem


    solmisation;1905965 Wrote:
    > I sometimes need to read/write files to my windows partition,but
    > although I can read and copy files from windows I cannot write to the
    > windows partition, I get the message
    > "Access denied-could not write to /windows/D/media.
    > I have ntfs-config installed also ntfs-3g. Its likely you simply need to tune your /etc/fstab file. Can you post

    here the output of copying and pasting the following, one line at a
    time, in a gnome-terminal or a kde konsole:::cat /etc/fstab
    df -Th
    su -c 'fdisk -l'::and enter root password when prompted.

    solmisation;1905965 Wrote:
    > This has worked in the past when running Suse10.3. The only other
    > difference in my system is that I have installed Wubi on my windows
    > partition so that i could play about with Ubuntu, could this cause this
    > problem?Unlikely, although I confess I do not know the first thing about Wubi.



    With the information I requested, we can likely provide you an edit to
    your /etc/fstab file that will solve your problem.


    --
    Thoughts Re: KDE3 vs KDE4 - The King is dead. Long live the King !!
    ------------------------------------------------------------------------
    oldcpu's Profile: http://forums.opensuse.org/member.php?userid=77
    View this thread: http://forums.opensuse.org/showthread.php?t=401392


  3. #3
    solmisation NNTP User

    Default Re: ntfs Read/Write problem


    Hi the output is as follows
    ian@linux-hs47:~> cat /etc/fstab
    /dev/disk/by-id/scsi-SATA_SAMSUNG_SP2014NS088J1JL803742-part1 swap
    swap defaults 0 0
    /dev/disk/by-id/scsi-SATA_SAMSUNG_SP2014NS088J1JL803742-part2 /
    ext3 acl,user_xattr 1 1
    /dev/disk/by-id/scsi-SATA_SAMSUNG_SP2014NS088J1JL803742-part3 /home
    ext3 acl,user_xattr 1 2
    /dev/disk/by-id/scsi-SATA_WDC_WD1200JB-00WD-WMACM2070708-part1
    /windows/C ntfs-3g
    users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
    /dev/disk/by-id/scsi-SATA_WDC_WD1200JB-00WD-WMACM2070708-part5
    /windows/D ntfs-3g
    users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 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 noauto
    0 0
    devpts /dev/pts devpts mode=0620,gid=5
    0 0
    ian@linux-hs47:~> df -Th
    Filesystem Type Size Used Avail Use% Mounted on
    /dev/sdb2 ext3 20G 16G 3.4G 83% /
    udev tmpfs 506M 108K 506M 1% /dev
    /dev/sdb3 ext3 162G 106G 48G 69% /home
    /dev/sda1 fuseblk 21G 19G 1.1G 95% /windows/C
    /dev/sda5 fuseblk 92G 53G 39G 58% /windows/D
    ian@linux-hs47:~> su -c 'fdisk -l'
    Password:

    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x97499747

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 2611 20972826 7 HPFS/NTFS
    /dev/sda2 2612 14593 96245415 5 Extended
    /dev/sda5 2612 14593 96245383+ 7 HPFS/NTFS

    Disk /dev/sdb: 200.0 GB, 200049647616 bytes
    255 heads, 63 sectors/track, 24321 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00077b1d

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 262 2104483+ 82 Linux swap /
    Solaris
    /dev/sdb2 263 2873 20972857+ 83 Linux
    /dev/sdb3 2874 24321 172281060 83 Linux

    Thanks for the reply


    --
    solmisation
    ------------------------------------------------------------------------
    solmisation's Profile: http://forums.opensuse.org/member.php?userid=325
    View this thread: http://forums.opensuse.org/showthread.php?t=401392


  4. #4
    oldcpu NNTP User

    Default Re: ntfs Read/Write problem


    solmisation;1905978 Wrote:
    > Hi the output is as follows
    > ian@linux-hs47:~> cat /etc/fstab ............ snipped .......OK thanks. That looks very straight forward.


    I believe you need to
    - Change fmask=133 to fmask=113
    - Change dmask=022 to dmask=002
    So please change your /etc/fstab file to:

    Code:
    --------------------
    /dev/disk/by-id/scsi-SATA_SAMSUNG_SP2014NS088J1JL803742-part1 swap swap defaults 0 0
    /dev/disk/by-id/scsi-SATA_SAMSUNG_SP2014NS088J1JL803742-part2 / ext3 acl,user_xattr 1 1
    /dev/disk/by-id/scsi-SATA_SAMSUNG_SP2014NS088J1JL803742-part3 /home ext3 acl,user_xattr 1 2
    /dev/disk/by-id/scsi-SATA_WDC_WD1200JB-00WD-WMACM2070708-part1 /windows/C ntfs-3g users,gid=users,fmask=113,dmask=002,locale=en_GB.U TF-8 0 0
    /dev/disk/by-id/scsi-SATA_WDC_WD1200JB-00WD-WMACM2070708-part5 /windows/D ntfs-3g users,gid=users,fmask=113,dmask=002,locale=en_GB.U TF-8 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 noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0
    --------------------


    Then restart your PC to MS-Windows, and ensure you close Windows
    properly. Then restart to openSUSE, and if you closed MS-Windows
    properly, you should have (under openSUSE) read-write to your NTFS
    drives. They will be mounted under /windows/C and /windows/D.

    My reference for this is:
    'NTFS - openSUSE' (http://en.opensuse.org/NTFS)

    Note, you need to use root permissions to edit the /etc/fstab file. If
    running KDE you can open an editor with:::kdesu kwrite
    /etc/fstab::and if using gnome, something like
    ::gnomesu gedit /etc/fstab::enter root password when
    prompted for a password when editing. *Be very careful*, for if you
    mess this up, you will not be able to boot your PC.


    --
    oldcpu
    ------------------------------------------------------------------------
    oldcpu's Profile: http://forums.opensuse.org/member.php?userid=77
    View this thread: http://forums.opensuse.org/showthread.php?t=401392


  5. #5
    solmisation NNTP User

    Default Re: ntfs Read/Write problem


    That worked.

    Thank you very much for your help.


    --
    solmisation
    ------------------------------------------------------------------------
    solmisation's Profile: http://forums.opensuse.org/member.php?userid=325
    View this thread: http://forums.opensuse.org/showthread.php?t=401392


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •