LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mounting NTFS-partitions (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-ntfs-partitions-408527/)

Zmyrgel 01-27-2006 05:24 AM

Mounting NTFS-partitions
 
Okay, I problem arose while installing SuSE 10.0. I adjusted my SATA drive and now after the installation the linux didnīt mount my windows drives at all.

I know that I can mount them manually but is there a automatic procedure for this and if I do this manually (editing /etc/fstab) what kind of options I need for those NTFS-partitions?

So far I have this kind of line:
/dev/sd6 /Windows/Images ntfs ro,user 0 0
/dev/sd7 /Windows/Movies ntfs ro,user 0 0
/dev/sd8 /Windows/Games ntfs ro,user 0 0
/dev/sd9 /Windows/Temp ntfs ro,user 0 0

Are these okay or not?
If I understood the system correctly I just add the above lines to fstab and boot the machine and the drives should be mounted? Also the /Windows/Movies etc. directories must be created before fstab will work, right?

bathory 01-27-2006 06:17 AM

Quote:

If I understood the system correctly I just add the above lines to fstab and boot the machine and the drives should be mounted?
You're right. You can change the "user" option to "users" to let everyone on your system mount/unmount ntfs partitions. Also you can add "auto" to mount partitions on boot.
Quote:

Also the /Windows/Movies etc. directories must be created before fstab will work, right?
Yes, you have to create those dirs berfore mounting

Zmyrgel 01-27-2006 08:07 AM

Okay, I got it working with these kind of lines in fstab:
/dev/sda6 /mnt/Movies ntfs auto,ro,users 0 0

Problem now is that I still can't access those partitions although I can see them. When I click a partition it states "could't move to directory /mnt/Movies". Any idea where's the problem?

Edit: Apparantly only root can access the partitions even though I have the "users" option in the fstab. How can I fix this so that all users can access these partitions?

bathory 01-27-2006 08:41 AM

Code:

/dev/sda6 /mnt/Movies ntfs auto,ro,users 0 0
Add the "umask=000":
Code:

/dev/sda6 /mnt/Movies ntfs auto,ro,users,umask=000 0 0

Arles 01-27-2006 05:06 PM

I have ubuntu 5.10 breezy and I tried this but it isn't working. I need to mount my ntfs partition and another harddisk so I can read files from them.. this might help:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 7649 61440561 7 HPFS/NTFS
/dev/sda2 7650 9567 15406335 83 Linux
/dev/sda3 9568 9729 1301265 f W95 Ext'd (LBA)
/dev/sda5 9568 9729 1301233+ 82 Linux swap / Solaris

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

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 14593 117218241 7 HPFS/NTFS

Disk /dev/sdc: 506 MB, 506462208 bytes
255 heads, 63 sectors/track, 61 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 1 60 481918+ b W95 FAT32


All times are GMT -5. The time now is 06:15 PM.