LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Change ntfs line in fstab (https://www.linuxquestions.org/questions/linux-newbie-8/change-ntfs-line-in-fstab-455520/)

jojojo 06-16-2006 05:20 PM

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...?

pljvaldez 06-16-2006 05:36 PM

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...

AwesomeMachine 06-16-2006 05:37 PM

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/

adilturbo 06-16-2006 06:13 PM

but how to do that pljvaldez.i mean load the RW module for ntfs.

many thanks.

masonm 06-16-2006 06:18 PM

Honestly you're better off not writing to the ntfs partition. As already stated, is better to use a FAT32 shared partition.

adilturbo 06-16-2006 06:27 PM

but my goal in general is how to load a module for a device?

thanks

Nylex 06-17-2006 12:51 AM

Use "modprobe module name"?

adilturbo 06-17-2006 02:59 PM

sorry i did not get what u are saying i'm null in linux
Quote:

"modprobe module name"
.
plz step by step

adilturbo 06-17-2006 04:17 PM

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

masonm 06-17-2006 05:20 PM

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.

adilturbo 06-17-2006 06:42 PM

but how to select a module to be compiled?

thanks


All times are GMT -5. The time now is 05:14 PM.