Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: accessing NTFS on Win 7 partion

  1. #1

    Default accessing NTFS on Win 7 partion

    I am not sure if this is the right place to ask, but I am trying to find out how I can modify forms on my Windows partion. I am running a dual boot with Win 7 and Open Suse 11.2. I can access and read the NTFS files but can not change them or add to the Win 7 Partion. How do I change ownership and permissions so that I can work on them from Open Suse 11.2

  2. #2
    Join Date
    Jan 2009
    Location
    USA Pennsylvania
    Posts
    1,287

    Default Re: accessing NTFS on Win 7 partion

    Hi,

    Could you please open a terminal and provide the output of:

    Code:
    fdisk -l
    Also, which version of openSUSE are you using, and which DE (KDE, GNOME, etc.)?

    Take Care,

    Ian
    Laptop: Dell Inspiron E1505 | OpenSUSE 12.1/Windows Vista | KDE | Intel CPU T2050 1.6 GHz | Intel 945GM | 3.2GB RAM
    Box: OpenSUSE 12.1/Windows 7 | KDE | Intel Core 2 Quad 8300 2.5GHz/core | nVidia Geforce 9500GT 1GB| 4 GB RAM

  3. #3
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,649

    Default Re: accessing NTFS on Win 7 partion

    It is not recommended to modify NTFS. YOu can casue damage if the NTFS file system is "dirty". That is why by default it is mounted read only.

    Mounting is controlled by a file /etc/fstab. You must be root to edit it. (DO NOT LOG INTO A GUI AS ROOT EVER!) become root in a console and start yuor editor

    I can not give more exact instruction with out seeing your file and know which GUI you use.

    cat /etc/fstab

  4. #4
    Join Date
    Jan 2009
    Location
    USA Pennsylvania
    Posts
    1,287

    Default Re: accessing NTFS on Win 7 partion

    Quote Originally Posted by gogalthorp View Post
    It is not recommended to modify NTFS. YOu can casue damage if the NTFS file system is "dirty". That is why by default it is mounted read only.

    Mounting is controlled by a file /etc/fstab. You must be root to edit it. (DO NOT LOG INTO A GUI AS ROOT EVER!) become root in a console and start yuor editor

    I can not give more exact instruction with out seeing your file and know which GUI you use.

    cat /etc/fstab
    gogalthorp, you can use Yast Partitioner to edit this file. And, if the NTFS file system is "dirty" it won't mount the dirty NTFS file system. At least that's how it is in KDE (should be no different in GNOME).

    Take Care,

    Ian
    Laptop: Dell Inspiron E1505 | OpenSUSE 12.1/Windows Vista | KDE | Intel CPU T2050 1.6 GHz | Intel 945GM | 3.2GB RAM
    Box: OpenSUSE 12.1/Windows 7 | KDE | Intel Core 2 Quad 8300 2.5GHz/core | nVidia Geforce 9500GT 1GB| 4 GB RAM

  5. #5
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,649

    Default Re: accessing NTFS on Win 7 partion

    Well that is the rational for mounting by default as RO. And we hope that a dirty NTFS would not mount but I do believe you can force it.

    I forgot about Yast. LOL But it would still be useful to see the fstab to see the mount parameters before proceeding

  6. #6

    Default Re: accessing NTFS on Win 7 partion

    ijbreakey: here is the result of fdisk -l, and I am running OpenSuse 11.2, Gnome;

    nitewalker@linux-t0va:~> su
    Password:
    linux-t0va:/home/nitewalker # fdisk -l

    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xe7e8e0a0

    Device Boot Start End Blocks Id System
    /dev/sda1 1 26 203776 7 HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2 26 12184 97663180 7 HPFS/NTFS
    /dev/sda3 37331 38914 12709888 7 HPFS/NTFS
    /dev/sda4 * 12185 37330 201985245 f W95 Ext'd (LBA)
    /dev/sda5 12185 19732 60621277 7 HPFS/NTFS
    /dev/sda6 30033 37330 58621153+ 7 HPFS/NTFS
    /dev/sda7 19732 19993 2104483+ 82 Linux swap / Solaris
    /dev/sda8 19994 22604 20972826 83 Linux
    /dev/sda9 22605 30032 59665378+ 83 Linux

    Partition table entries are not in disk order
    linux-t0va:/home/nitewalker #

  7. #7
    Join Date
    Jan 2009
    Location
    USA Pennsylvania
    Posts
    1,287

    Default Re: accessing NTFS on Win 7 partion

    Also post what gogalthorp asked for:

    Code:
    cat /etc/fstab
    This will hopefully let us see which partition is Windows 7.

    Take Care,

    Ian
    Laptop: Dell Inspiron E1505 | OpenSUSE 12.1/Windows Vista | KDE | Intel CPU T2050 1.6 GHz | Intel 945GM | 3.2GB RAM
    Box: OpenSUSE 12.1/Windows 7 | KDE | Intel Core 2 Quad 8300 2.5GHz/core | nVidia Geforce 9500GT 1GB| 4 GB RAM

  8. #8

    Default Re: accessing NTFS on Win 7 partion

    ijbreakey: here is the results of cat /etc/fstab

    nitewalker@linux-t0va:~> cat /etc/fstab
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part7 swap swap defaults 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part8 / ext4 acl,user_xattr 1 1
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part9 /home ext4 acl,user_xattr 1 2
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part2 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part3 /windows/E ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part5 /windows/F ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part6 /windows/G ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.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
    nitewalker@linux-t0va:~>

  9. #9

    Default Re: accessing NTFS on Win 7 partion

    ijbreakey: the windows partition that has the files I need to access is /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part5 /windows/F ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0

  10. #10
    Join Date
    Jan 2009
    Location
    USA Pennsylvania
    Posts
    1,287

    Default Re: accessing NTFS on Win 7 partion

    Quote Originally Posted by smj41 View Post
    ijbreakey: here is the results of cat /etc/fstab

    nitewalker@linux-t0va:~> cat /etc/fstab
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part7 swap swap defaults 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part8 / ext4 acl,user_xattr 1 1
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part9 /home ext4 acl,user_xattr 1 2
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part2 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part3 /windows/E ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part5 /windows/F ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part6 /windows/G ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.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
    nitewalker@linux-t0va:~>
    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xe7e8e0a0

    Device Boot Start End Blocks Id System
    /dev/sda1 1 26 203776 7 HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2 26 12184 97663180 7 HPFS/NTFS
    /dev/sda3 37331 38914 12709888 7 HPFS/NTFS
    /dev/sda4 * 12185 37330 201985245 f W95 Ext'd (LBA)
    /dev/sda5 12185 19732 60621277 7 HPFS/NTFS
    /dev/sda6 30033 37330 58621153+ 7 HPFS/NTFS
    /dev/sda7 19732 19993 2104483+ 82 Linux swap / Solaris
    /dev/sda8 19994 22604 20972826 83 Linux
    /dev/sda9 22605 30032 59665378+ 83 Linux

    Partition table entries are not in disk order
    A sure fire way would be to edit the /etc/fstab file and change your ntfs mounts to this:

    Code:
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part7 swap                 swap       defaults              0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part8 /                    ext4       acl,user_xattr        1 1
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part9 /home                ext4       acl,user_xattr        1 2
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part1 /windows/C           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part2 /windows/D           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part3 /windows/E           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part5 /windows/F           ntfs-3g    users,gid=users,fmask=133,dmask=002,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/ata-ST9320325AS_5VD1SVBY-part6 /windows/G           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.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
    Alternatively, you can open Yast Partitioner and click on your sda drive. Click edit on the ntfs partition (sda5) (make sure it's not formating the drive) and you'll see at the bottom it has the fstab entry. Erase everything and just type

    defaults

    then click ok and accept the changes. Reboot and you should be good to go!

    Take Care,

    Ian

    Edit: Now it should show which partition you need to change and what to change
    Last edited by ijbreakey; 18-Jun-2010 at 10:48. Reason: Modified Information
    Laptop: Dell Inspiron E1505 | OpenSUSE 12.1/Windows Vista | KDE | Intel CPU T2050 1.6 GHz | Intel 945GM | 3.2GB RAM
    Box: OpenSUSE 12.1/Windows 7 | KDE | Intel Core 2 Quad 8300 2.5GHz/core | nVidia Geforce 9500GT 1GB| 4 GB RAM

Page 1 of 2 12 LastLast

Posting Permissions

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