LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-27-2002, 11:02 AM   #1
Redukt
LQ Newbie
 
Registered: Nov 2002
Posts: 3

Rep: Reputation: 0
Question NTFS mount trouble


Hi. I'm having some trouble with my NTFS mount. I'm running Mandrake 9.0, and when it installed it mounted my NTFS partition for me. Currently though, I can only access it as root. I've tried changing owners and permissions and whatnot, but when I try, even as root, it says that its read only and can't be changed.

How can I access my NT partition from a user account? Thanks in advance for your help!
 
Old 11-27-2002, 11:27 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,512

Rep: Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223Reputation: 6223
NTFS is read only.
add the options to your /etc/fstab, change mount point for your system
/dev/hda1 /mnt/win_c ntfs ro,auto,user,umask=0 0 0
 
Old 11-27-2002, 07:22 PM   #3
Donald1000
Member
 
Registered: Oct 2002
Location: Germany
Distribution: Debian, Non-Linux: Solaris, FreeBSD
Posts: 107

Rep: Reputation: 15
Do not try to write on your NTFS patition! This could erase all your files on it!!
 
Old 11-27-2002, 07:41 PM   #4
Redukt
LQ Newbie
 
Registered: Nov 2002
Posts: 3

Original Poster
Rep: Reputation: 0
I wasn't trying to write to it, but I can't even get to the files on it unless I'm root. All my mp3s are on that partition, so it'd be nice to have access to the under user accounts....
 
Old 12-28-2002, 09:30 PM   #5
KarmaEnforcer
LQ Newbie
 
Registered: Dec 2002
Distribution: Debian 3.0r1
Posts: 8

Rep: Reputation: 0
I know this is dredging up a REALLY old post, but I'm having the same problems. Any solution for it?

<Edit because I'm a stupidass.>
This came from here
Accessing your NTFS partitions

You will have to create a mount point and add an entry to /etc/fstab for the NTFS partitions you want to access.

There are many different options you can use to mount the partition depending upon your needs.

If you have a single user system or don't need to give others access to the partition, you can use this.
Replace "xxx" on uid and gid with your userid and group id.

/dev/hdc2 /mnt/windows ntfs noauto,user,uid=xxx,gid=xxx,umask=007 0 0


You can find out what your userid and groupid is with:

$ cat /etc/passwd | grep username
username:x:500:500:realname:/home/username:/bin/bash

If you were using the above user, the /etc/fstab entry would be:

/dev/hdc2 /mnt/windows ntfs noauto,user,uid=500,gid=500,umask=007 0 0

Last edited by KarmaEnforcer; 12-28-2002 at 09:35 PM.
 
Old 01-13-2003, 01:00 AM   #6
Maqo
LQ Newbie
 
Registered: Jan 2003
Location: NY
Distribution: Mandrake 10.0 Official
Posts: 21

Rep: Reputation: 15
NTFS mount trouble

Is it really possible to erase the entire NTFS partition simply by trying to write to it? Is there any way to mount an NTFS partition as anything other than read-only? I have old NTFS partitions with MP3's on them left over from a Windows machine...what is a better FS type for sharing with Windows users via Samba?

Also, can anyone explain what the "unmask" option is used for and what the various choices are?

Many thanks!
 
Old 01-14-2003, 12:35 AM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
MS keep changing the specs for ntfs and as a result the linux driver currently only offers read support, you can get write support if you recompile your kernel but this is extremly dangerous for the data on the ntfs partition. The best file system for sharing data between linux and windows is fat32.
Do "man umask" for a description of what umask is/does.
 
Old 01-14-2003, 10:37 AM   #8
Spooky
Member
 
Registered: Dec 2002
Location: Portugal
Distribution: Fedora Core 5
Posts: 82

Rep: Reputation: 15
about NTFS ... for exemple is it possible to use vmware from Linux with XP's NTFS?
 
Old 01-14-2003, 10:44 AM   #9
Maqo
LQ Newbie
 
Registered: Jan 2003
Location: NY
Distribution: Mandrake 10.0 Official
Posts: 21

Rep: Reputation: 15
Are you asking if it's possible to install Linux on an NTFS partition?
 
Old 01-14-2003, 11:01 AM   #10
Spooky
Member
 
Registered: Dec 2002
Location: Portugal
Distribution: Fedora Core 5
Posts: 82

Rep: Reputation: 15
no...to use vmware in linux to see XP with NTFS... in the linux system...
 
Old 01-15-2003, 04:05 AM   #11
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I have Mandrake 9.0 installed and I don't have the problem you describe. That was how it was when I had 8.2 however. Anyway, here is an /etc/fstab entry for an NTFS partition on my machine.

/dev/hda5 /mnt/nt ntfs iocharset=iso8859-1,ro,umask=0 0 0
 
Old 02-17-2003, 06:31 AM   #12
kedman
LQ Newbie
 
Registered: Feb 2003
Location: Cardiff
Distribution: Fedora core 3
Posts: 18

Rep: Reputation: 0
This is what worked for me and allows access for users
after d/loading the kernal mods and loading them

/dev/hdb1 /mnt/windows ntfs ro,umask=0222 0 0


Go here for real help:
http://linux-ntfs.sourceforge.net/info/redhat.html

Cheers
Kedman

Ps
Redhat 7.3
now updated to 8
on an athlon
 
Old 02-17-2003, 11:54 AM   #13
Yttrium
LQ Newbie
 
Registered: Oct 2002
Location: belgium
Distribution: redhat 9.0
Posts: 7

Rep: Reputation: 0
Quote:
Originally posted by kedman
This is what worked for me and allows access for users
after d/loading the kernal mods and loading them

/dev/hdb1 /mnt/windows ntfs ro,umask=0222 0 0


Go here for real help:
http://linux-ntfs.sourceforge.net/info/redhat.html

Cheers
Kedman

Ps
Redhat 7.3
now updated to 8
on an athlon
exactly what i did ...
 
Old 02-17-2003, 12:24 PM   #14
kedman
LQ Newbie
 
Registered: Feb 2003
Location: Cardiff
Distribution: Fedora core 3
Posts: 18

Rep: Reputation: 0
Problem I have is every time I update my Kernal I have to re-install the mod rpm, is there anyway of avoiding this?
Cheers
Kedman
 
  


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
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 08:29 PM
mount ntfs tkmuthuvel Linux - Networking 3 09-15-2005 02:05 AM
can't access ntfs mount through nfs mount bezoomny Linux - Networking 9 04-14-2004 11:25 AM
trouble w/user account & ntfs mount Blow Linux - Hardware 11 03-25-2004 03:41 AM
Mount NTFS gary8744 Linux - General 5 12-01-2002 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:07 AM.

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
Open Source Consulting | Domain Registration