Please help me with mounting NTFS....

Happy New Year! :slight_smile:

I just installed 11.1 on my laptop (dualboot with XP) and everything is great… but I can’t see my NTFS partitions. I’ve been reading through these boards and have modified fstab but still can’t figure it out.

Here is my fstab:

/dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part9 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part8 /                    ext3       acl,user_xattr        1 1
/dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part7 /home                ext3       acl,user_xattr        1 2
/dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part1 /windows/C           ntfs-3g     users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part5 /windows/D           ntfs-3g     users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0
/dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part6 /windows/E           ntfs-3g     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
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

I have also installed ntfs-config, through which I was able to set read/write permissions on my C, D & E Windows drives, so those partitions are being seen by the system.

What else do I need to do? Thanks!
El

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What happens when you try to mount them? For example, assuming
/windows/C, /windows/D and /windows/E all exist:

#run as ‘root’
mount /windows/E

What do you see in /var/log/messages?

Good luck.

ElEdwards wrote:
> Happy New Year! :slight_smile:
>
> I just installed 11.1 on my laptop (dualboot with XP) and everything is
> great… but I can’t see my NTFS partitions. I’ve been reading through
> these boards and have modified fstab but still can’t figure it out.
>
> Here is my fstab:
>
> Code:
> --------------------
> /dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part9 swap swap defaults 0 0
> /dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part8 / ext3 acl,user_xattr 1 1
> /dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part7 /home ext3 acl,user_xattr 1 2
> /dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part1 /windows/C ntfs-3g users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0
> /dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part5 /windows/D ntfs-3g users,gid=users,fmask=113,dmask=002,locale=en_US.UTF-8 0 0
> /dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part6 /windows/E ntfs-3g 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
> devpts /dev/pts devpts mode=0620,gid=5 0 0
>
> --------------------
>
>
> I have also installed ntfs-config, through which I was able to set
> read/write permissions on my C, D & E Windows drives, so those
> partitions are being seen by the system.
>
> What else do I need to do? Thanks!
> El
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJXQV23s42bA80+9kRArcDAKCC4rvPMd+vN1Cuy553GCFp21xs8QCeNrqL
c7gPc0Hjun0szWHOBpgQ4IQ=
=l6OE
-----END PGP SIGNATURE-----

Like this:

/dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part1 /windows/C ntfs-3g defaults 0 0
/dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part5 /windows/D ntfs-3g defaults 0 0
/dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part6 /windows/E ntfs-3g defaults 0 0

HowTo Mount NTFS Filesystem Partition Read Write Access in openSUSE 10, 11

To EIEDWARDS >>
What do you exactly mean by

I can’t see my NTFS partitions
?
Post output of fdisk -l and mount after starting system.

Tip: If in the fstab you change the mount points to some folder in /media/ the drives will automatically appear on the desktop. e.g. create a folder named D in /media and change the /windows/D by /media/D in fstab.

**

Tip: If in the fstab you change the mount points to some folder in /media/ the drives will automatically appear on the desktop. e.g. create a folder named D in /media and change the /windows/D by /media/D in fstab.

NOTE:
So long as the folders you are mounting to are in the tree (which I feel sure they are, by the way fstab is already written) leave them as they are eg: /windows/D
It should work as I quote above in Bold and earlier

If I try to mount one of the ntfs partitions, I get:

linux-o9kf:/home/elwood # mount /windows/C
ntfs-3g-mount: mount failed: Device or resource busy
linux-o9kf:/home/elwood # 

I changed fstab from my earlier post to:

/dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part9 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part8 /                    ext3       acl,user_xattr        1 1
/dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part7 /home                ext3       acl,user_xattr        1 2
/dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part1 /windows/C           ntfs-3g    defaults		0 0
/dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part5 /windows/D           ntfs-3g    defaults		0 0
/dev/disk/by-id/ata-IC25N040ATCS04-0_CSL409DLHZXV5A-part6 /windows/E           ntfs-3g    defaults		0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

Here’s the output of fdisk -l and mount:

linux-o9kf:/home/elwood # fdisk -l

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x33ed33ec

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2040    16386268+   7  HPFS/NTFS
/dev/sda2   *        2041        4864    22683780    f  W95 Ext'd (LBA)
/dev/sda5            2041        2678     5124703+   7  HPFS/NTFS
/dev/sda6            2679        3316     5124703+   7  HPFS/NTFS
/dev/sda7            3317        4106     6345643+  83  Linux
/dev/sda8            4107        4775     5373711   83  Linux
/dev/sda9            4776        4864      714861   82  Linux swap / Solaris

linux-o9kf:/home/elwood # mount
/dev/sda8 on / type ext3 (rw,acl,user_xattr)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda7 on /home type ext3 (rw,acl,user_xattr)
/dev/sda1 on /windows/C type fuseblk (rw,allow_other,blksize=4096)
/dev/sda5 on /windows/D type fuseblk (rw,allow_other,blksize=4096)
/dev/sda6 on /windows/E type fuseblk (rw,allow_other,blksize=4096)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
gvfs-fuse-daemon on /home/elwood/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=elwood)
linux-o9kf:/home/elwood # 


By the way, there is nothing in /media.

El

So are you saying it’s not working.

You need to reboot, hit the Esc key at the green splash and you will see any failed mounts.

Do you actually have a directory /windows in your tree??? And within it a folder C, D, and E???

Ah! There is indeed a directory named “/windows” and folders in it named C, D and E. Going to those in File Browser, I can see the contents of those NTFS drives.

I’m not used to seeing this in other distros I’ve used…and usually, the C, D and E drives show up in the left panel of the File Browser…but not in openSUSE 11.1.

So it appears things are working and I need to get used to a different way of doing things :slight_smile: Thanks.

El

To Edwards: Just giving one example >>
Create a folder named C in /media (use mkdir /media/C as su).
Change the /windows/C part by /media/C in fstab.
Reboot
Your C drive will appear on Desktop (Like most other distros). You Don’t need to get used to a different way of doing things. I think you can do the same with the rest drives.

Beautiful! Worked like a charm :slight_smile: Thanks!

El