LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-29-2002, 07:14 PM   #1
kpw
LQ Newbie
 
Registered: Jan 2002
Posts: 2

Rep: Reputation: 0
Setting up r/w NTFS mount in fstab


Hi, I was wondering if somebody could give me an example of setting up a r/w NTFS mount in the /etc/fstab file. Yeah yeah, I know it's dangerous. We all need to risk something sometimes, :-).
 
Old 01-29-2002, 08:53 PM   #2
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
No, it wont work. I've tried.
 
Old 01-30-2002, 01:58 PM   #3
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Rep: Reputation: 45
Therion12 wrote:
Quote:
No, it wont work. I've tried.
You know Therion, that is not a even an attempt at being helpful, just stupid.

Now ksw, I will see if I can help you.

The first thing you need to do is compile a new kernel with NTFS read/write enabled. Not to be mean, but do you know how to compile a kernel? I dont know how advanced you are.

Well, once you create a new kernel and it works, you need to mount the drive/partition. I am sorry, but I dont know the command line keystrokes off the top of my head for NTFS, but I can tell you how to do it using Linuxconf.

Just let me know.
 
Old 01-30-2002, 05:16 PM   #4
kpw
LQ Newbie
 
Registered: Jan 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Heh, yes, I know how to compile a kernel. Actually this isn't a problem of mine, it was for a friend. I know I can just slap the mount command mounting a ntfs partition as r/w to rc.local, I just wanted to know if you could do that in the /etc/fstab file. The kernel already had ntfs read and write enabled. I guess I'll just have to tell him to use rc.local. Thanks anyway
 
Old 01-30-2002, 05:39 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
will something like

/dev/hda1 /mnt/ntfs ntfs rw,defaults 0 0

not work? it should be listed in the man page for mount
 
Old 01-31-2002, 03:43 PM   #6
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
Sorry i was in a hurry so i only could type one line but what i meant is that yes you can set the rw command in the /etc/fstab file for a NTFS drive/partition but the changes dont work, and file managers and the terminal just ignore the line for some reason.

If you can find a trick, cool. From my experience its a bad idea to put in the "rw" in the fstab and then trying to save on it from something like GIMP.
 
Old 01-31-2002, 05:44 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally posted by therion12
Sorry i was in a hurry so i only could type one line but what i meant is that yes you can set the rw command in the /etc/fstab file for a NTFS drive/partition but the changes dont work, and file managers and the terminal just ignore the line for some reason.

If you can find a trick, cool. From my experience its a bad idea to put in the "rw" in the fstab and then trying to save on it from something like GIMP.
why don't you just go outside and play football like the other kids? If you're in a hurry, DON'T reply to stuff, it only makes things worse. especially when you don't know enough about what you're talking about.

i've never needed to use ntfs, but i had a look round, and i couldn't really find much info about rw. on the sourceforge homepage for ntfs they say you should always mount shares specifally as readonly only with an -r option to 'mount', so IF you've compiled in write support in the kernel, then i guess it'll let you write. they do say it is LIKELY to mess up data tho....
 
Old 01-31-2002, 05:52 PM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I think it is probably almost a sure thing that it will trash the data.

Unless you are doing it for good reason
(I can't think of a good reason for trashing your nt drive) You should not do it until it is stable.

There are still too many issues that are not "it may not work" but "does not work"

If your lucky it may only become unreadable by linux, if not it's toast.

Last edited by DavidPhillips; 01-31-2002 at 05:55 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
Why a FSTAB entry will mount using -a switch but will not mount automatically at boot mjen Linux - Newbie 3 05-19-2004 07:45 AM
What fstab mount setting do you use to get full access to a vfat drive? BarkingBonefish Linux - Newbie 4 03-12-2004 12:36 AM
/etc/fstab - NTFS mount problems dbc001 Linux - Hardware 12 02-22-2004 06:50 AM
Compiled RH7.3 to read WinXP NTFS partition, mounts in Console, but can't mount fstab BlackDogg Linux - Newbie 20 08-05-2002 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:46 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