how to access windows ntfs partitions

hello guys im a new user for opensuse 11.1
i dont know much about linux

i was a user of windows for about 6+ years

now i have got a very serious probem

im not able to access any of my ntfs partions after mounting them by using ntfs-3g

ntfs-3g details:

ntfs-3g - Linux NTFS-3G userspace filesystem with full write support

Version:
*1.5012-2.10
Build Time:
Wed 03 Dec 2008 12:31:56 PM IST
Package Group:
System/Filesystems
License:
GPL v2 or later
Installed Size:
347.0 K
Download Size:
157.0 K
Distribution:

Vendor:
openSUSE
Packager:

Architecture:
i586
Build Host:

URL:

Media No.:
1
Authors:
Szabolcs Szakacsits
*

fdisk imformation:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 11717352 3496868 7625276 32% /
udev 446112 184 445928 1% /dev
/dev/sda4 17180592 627448 15680416 4% /home

if u observe the above information i cant find my sda5,sda6,sd7

/etc/fstab information:
/dev/disk/by-id/ata-ST3160215A_9RA027QT-part2 swap swap defaults 0 0
/dev/disk/by-id/ata-ST3160215A_9RA027QT-part3 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/ata-ST3160215A_9RA027QT-part4 /home ext3 acl,user_xattr 1 2
/dev/disk/by-id/ata-ST3160215A_9RA027QT-part5 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-ST3160215A_9RA027QT-part6 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-ST3160215A_9RA027QT-part7 /windows/E 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

guys please help me out of this problem

even i want to get write access to ntfs filesystem please help me through this too

That fdisk output looks incomplete.

Please, can you provide the output of:df -Th
su -c ‘fdisk -l’
and enter root password when prompted after the “su -c ‘fdisk -l’” command. And then post here the complete output.

Also, with respect to NTFS drives, its VERY important that you boot to Windows and close windows properly. Do not hibernate windows, but rather shut down windows properly.

Device Boot Start End Blocks Id System
/dev/sda1 3825 19456 125564040 f W95 Ext’d (LBA)
/dev/sda2 1 169 1357461 82 Linux swap / Solaris
/dev/sda3 * 170 1651 11904165 83 Linux
/dev/sda4 1652 3824 17454622+ 83 Linux
/dev/sda5 3825 7648 30716248+ 7 HPFS/NTFS
/dev/sda6 7649 12747 40957686 7 HPFS/NTFS
/dev/sda7 12748 19456 53890011 7 HPFS/NTFS

this is the output i got after the process u said about

this is the message i get when im using my dolphin browser to access those ntfs partiotions

error occured while accessing ‘nash’,the system responded:’/dev/sda6’ error opening: permission denied
failed to mount’dev/sda6’: permission denied
please check ‘/dev/sda6’ and ntfs-3g binary permissions,and the mounting user id

I’m trying to help, but it would make it a lot easier if you ran what I asked. Thats the output of some permutation of “df”, but its definitely not the complete output of “df -Th” , which is what I asked for. Please, can you provide the output of “df -Th”.

Can you also provide the complete output of:
su -c ‘fdisk -l’

enter root password when prompted.

Also, PLEASE take note of what I stated previous, which is:

pardon,

this is the whole out put i have got after the process

*muzikaerotika@linux-q68l:~> df -Th
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda3 ext3 12G 3.4G 7.3G 32% /
udev tmpfs 436M 184K 436M 1% /dev
/dev/sda4 ext3 17G 614M 15G 4% /home
muzikaerotika@linux-q68l:~> su -c ‘fdisk -l’
Password:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x280027ff

Device Boot Start End Blocks Id System
/dev/sda1 3825 19456 125564040 f W95 Ext’d (LBA)
/dev/sda2 1 169 1357461 82 Linux swap / Solaris
/dev/sda3 * 170 1651 11904165 83 Linux
/dev/sda4 1652 3824 17454622+ 83 Linux
/dev/sda5 3825 7648 30716248+ 7 HPFS/NTFS
/dev/sda6 7649 12747 40957686 7 HPFS/NTFS
/dev/sda7 12748 19456 53890011 7 HPFS/NTFS

Partition table entries are not in disk order
*

Also, with respect to NTFS drives, its VERY important that you boot to Windows and close windows properly. Do not hibernate windows, but rather shut down windows properly.

i am using windows xp as other operating system on the other hard disk, but its actually on the other hard disk,

hey this is the out i have got after using windows and shut it down properly

*Filesystem Type Size Used Avail Use% Mounted on
/dev/sda3 ext3 12G 3.4G 7.3G 32% /
udev tmpfs 436M 184K 436M 1% /dev
/dev/sda4 ext3 17G 615M 15G 4% /home
/dev/sda5 fuseblk 30G 28G 1.7G 95% /windows/C
/dev/sda6 fuseblk 40G 30G 9.3G 77% /windows/D
/dev/sda7 fuseblk 52G 40G 12G 78% /windows/E
muzikaerotika@linux-q68l:~> su -c ‘fdisk -l’
Password:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x280027ff

Device Boot Start End Blocks Id System
/dev/sda1 3825 19456 125564040 f W95 Ext’d (LBA)
/dev/sda2 1 169 1357461 82 Linux swap / Solaris
/dev/sda3 * 170 1651 11904165 83 Linux
/dev/sda4 1652 3824 17454622+ 83 Linux
/dev/sda5 3825 7648 30716248+ 7 HPFS/NTFS
/dev/sda6 7649 12747 40957686 7 HPFS/NTFS
/dev/sda7 12748 19456 53890011 7 HPFS/NTFS

Partition table entries are not in disk order
*

OK, thanks for the updated output. It confirmed technically what you had noted verbally (I know, that reads funny, but you would be surprised how many users state inaccurate assessments when things go wrong). Clearly your NTFS partitions are not being mounted, even though they are in your fstab and they are identified by fdisk.

I think the safest way for you to read those disks, is to “boot” to this other hard disk with MS-Windows, and close those partitions properly. It appears to me that they are “dirty” and were not closed properly. The NTFS-3G driver will nominally refuse to mount hard disks that are dirty.

Hence this suggestion of mine from above is valid:

If there are technical reasons why that is not possible, then we could consider forcing the mount of the drives, but forcing is NEVER a good idea if there are alternatives.

now i am able to have access over those ntfs partiotions

but please i need ur help to have the write permissions over my ntfs partitions

i heard that only copy and read data is possible over ntfs drivers but not the write and delete options. is this true

If there are technical reasons why that is not possible, then we could consider forcing the mount of the drives, but forcing is NEVER a good idea if there are alternatives.

please help me to mount the ntfs partitions so that i can read as well as write any data…

thanks for helping me so far for accessing the partitions… u guys rock…

OK, assuming the fstab you gave me was complete and correct, then change this:

to this:

/dev/disk/by-id/ata-ST3160215A_9RA027QT-part2 swap                 swap       defaults              0 0                                                                                                   
/dev/disk/by-id/ata-ST3160215A_9RA027QT-part3 /                    ext3       acl,user_xattr        1 1                                                                                                   
/dev/disk/by-id/ata-ST3160215A_9RA027QT-part4 /home                ext3       acl,user_xattr        1 2
/dev/disk/by-id/ata-ST3160215A_9RA027QT-part5 /windows/C           ntfs-3g    user,users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-ST3160215A_9RA027QT-part6 /windows/D           ntfs-3g    user,users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-ST3160215A_9RA027QT-part7 /windows/E           ntfs-3g    user,users,gid=users,fmask=113,dmask=002,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 

Note I have changed fmask=133 to 113. And I have changed dmask=022 to 002. And I added a “user,” in front of “users”.

My reference for that suggested change is here:
NTFS - openSUSE

After making the change, reboot and test.

This is more or less true with the old “NTFS” driver, but it is not true with the new 3rd generation driver “NTFS-3G”, where NTFS-3G provides read and write to NTFS partitions.

Edit: Didn’t see further posts by OP and oldcpu. Behind the 8 ball…

i tried to change that file “fstab” using terminal
i have got a message that
“E45;'read only option is set(add ! to override)”

Make sure you are root first.

System files require root (administrator) permissions to change. This is a very important requirement. It drives new MS-Windows users absolutely crazy, but trust me when I say its important. Its very very important. After some TBD time (more for some, less for others) you will learn the importance of it. For now, unfortunately, you really should and really need to suffer through it. :slight_smile:

Anyway, if you are using KDE, simply type:kdesu kwrite /etc/fstabenter the root password, and then edit/save the file.

If you are using Gnome, simply type:gnomesu gedit /etc/fstabenter the root password, and then edit/save the file.

thank you very much i have got my problem solved…

i restarted the operating system after editing the /etc/fstab

its works all fine i am able to read ,write.read,delete

thank for all the help…

hope u will be right there for me for any consultance on using opensuse…

all the best for every thing

how can i be the root …
if u have any steps to follow for it… im very much interested in linux bcoz i heard its a opensource and can edit the os in what ever the way i need it,

any way its just a beginning… plz help me