LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-16-2006, 05:20 PM   #1
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Rep: Reputation: 15
Change ntfs line in fstab


I've added a line in fstab to automatically mount ntfs. Right now the ntfs partition is in "read only" state.

Code:
/dev/hda1 /mnt/windows1 ntfs ro,umask=0222,user,gid=users                0 0
How to change the line to so that I can read and write as well...?
 
Old 06-16-2006, 05:36 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
The correct answer -- read/write access from linux to NTFS is dangerous and you risk hosing your NTFS partition. The proper way to share files is to use a shared FAT32 partition.

Now that you've been warned, you have to load a read write module (or recompile your kernel with it involved). I've also used Captive NTFS (a year or so ago) out of desperation to reset the admin password of an XP install and nothing went bad. But a friend of mine tried the same thing and ended up having to reinstall Windows...
 
Old 06-16-2006, 05:37 PM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Smile Module

Quote:
Originally Posted by jojojo
I've added a line in fstab to automatically mount ntfs. Right now the ntfs partition is in "read only" state.

Code:
/dev/hda1 /mnt/windows1 ntfs ro,umask=0222,user,gid=users                0 0
How to change the line to so that I can read and write as well...?
Look here:

http://www.linux-ntfs.org/
 
Old 06-16-2006, 06:13 PM   #4
adilturbo
Member
 
Registered: Jun 2006
Location: morocco
Posts: 195

Rep: Reputation: 30
but how to do that pljvaldez.i mean load the RW module for ntfs.

many thanks.
 
Old 06-16-2006, 06:18 PM   #5
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Honestly you're better off not writing to the ntfs partition. As already stated, is better to use a FAT32 shared partition.
 
Old 06-16-2006, 06:27 PM   #6
adilturbo
Member
 
Registered: Jun 2006
Location: morocco
Posts: 195

Rep: Reputation: 30
but my goal in general is how to load a module for a device?

thanks
 
Old 06-17-2006, 12:51 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Use "modprobe module name"?
 
Old 06-17-2006, 02:59 PM   #8
adilturbo
Member
 
Registered: Jun 2006
Location: morocco
Posts: 195

Rep: Reputation: 30
sorry i did not get what u are saying i'm null in linux
Quote:
"modprobe module name"
.
plz step by step
 
Old 06-17-2006, 04:17 PM   #9
adilturbo
Member
 
Registered: Jun 2006
Location: morocco
Posts: 195

Rep: Reputation: 30
i think u want to say modprobe program.
but from where can i get the module?
for example the RW ntfs module.
i'm curious i just want to know

many thanks
 
Old 06-17-2006, 05:20 PM   #10
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
The kernel must be compiled with that function either as a module or into the kernel itself. If it wasn't selected to be compiled one way or the other when the kernel was compiled, you'll have to recompile the kernel to add it.
 
Old 06-17-2006, 06:42 PM   #11
adilturbo
Member
 
Registered: Jun 2006
Location: morocco
Posts: 195

Rep: Reputation: 30
but how to select a module to be compiled?

thanks
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
FSTAB (line 7 is bad)- mounting NTFS filesystem lebabyg Fedora 5 03-19-2006 05:36 PM
fstab help, ntfs. aje Slackware 13 12-19-2004 07:56 PM
fstab ntfs and permissions zorlock Linux - Newbie 1 11-17-2004 04:06 AM
NTFS FSTAB Entry Campy19 Mandriva 2 11-02-2004 07:37 PM
Mounting ntfs in fstab calimer Mandriva 2 11-28-2003 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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