LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2006, 05:24 AM   #1
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
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?

Last edited by Zmyrgel; 01-27-2006 at 05:39 AM.
 
Old 01-27-2006, 06:17 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,732

Rep: Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584
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

Last edited by bathory; 01-27-2006 at 07:06 AM.
 
Old 01-27-2006, 08:07 AM   #3
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Original Poster
Rep: Reputation: 37
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?

Last edited by Zmyrgel; 01-27-2006 at 08:10 AM.
 
Old 01-27-2006, 08:41 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,732

Rep: Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584Reputation: 1584
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
 
Old 01-27-2006, 05:06 PM   #5
Arles
Member
 
Registered: Oct 2005
Location: Venezia
Distribution: Ubuntu 10.10
Posts: 42

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting NTFS partitions question danritter Linux - Newbie 2 09-12-2005 02:14 AM
Mounting NTFS Partitions on Ubuntu vivekian Ubuntu 2 08-01-2005 10:34 AM
Mounting NTFS Partitions in RH9 smevans Red Hat 26 11-09-2003 02:47 PM
mounting ntfs partitions as a user in suse8.2 Anubis Linux - Software 6 08-31-2003 05:07 PM
Mounting NTFS Partitions TheMad Slackware 8 01-21-2003 05:16 PM


All times are GMT -5. The time now is 03:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration