LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 02-16-2004, 09:58 AM   #1
dbc001
Member
 
Registered: Jan 2004
Distribution: Slackware, Ubuntu
Posts: 97

Rep: Reputation: 15
/etc/fstab - NTFS mount problems


I'm running Mandrake 9.2 (just reinstalled because things got too complicated!). so I have a fresh install, but for some reason it has mounted all my NTFS (windows) partitions as read-only. I tried removing the "ro" bit in /etc/fstab but after a reboot I still can't modify files on the NTFS drives. here's my /etc/fstab :


[root@dogma temp]# more /etc/fstab
/dev/hda5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda7 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-
1 0 0
//bias/fileserver /mnt/fileserver smbfs username=% 0 0
/dev/hda1 /mnt/win_c ntfs iocharset=iso8859-1,umask=0 0 0
/dev/hdc1 /mnt/win_c2 ntfs ro,iocharset=iso8859-1,umask=0 0 0
/dev/hdd5 /mnt/win_c3 ntfs ro,iocharset=iso8859-1,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0


any help would be greatly appreciated!

-dbc
 
Old 02-16-2004, 10:04 AM   #2
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
fat32

Maybe I am wrong, but I thought that you can write only on FAT32 files with Linux. Have a look around here, there is a whitepaper explaining that.
 
Old 02-16-2004, 10:14 AM   #3
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
ntfs on linux really only has read support, not write support as of yet (well, very dangerous write support)

if you want windows and linux to write to a partition, make a fat32 partition
 
Old 02-16-2004, 05:32 PM   #4
Li...
Member
 
Registered: Feb 2004
Posts: 31

Rep: Reputation: 15
If you have a "newer" kernel installen (e.g. 2.5.*) you can enable write support to the ntfs-module.
But as mentioned above, it' s dangerous.

Li
 
Old 02-17-2004, 09:43 AM   #5
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
convert files to fat32

Try using a Windows tool like Partition Magic 8 in order to convert a NTFS partition to a FAT32 partition, and then you will be able to use it in read/write mode.
Caution, some "old" versions like Partion Magic 6 can make your linux system unusable.
Regards
Zorba
 
Old 02-17-2004, 11:43 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
No real life experience

http://www.jankratochvil.net/project/captive/
 
Old 02-17-2004, 01:11 PM   #7
feiticeir0
LQ Newbie
 
Registered: Feb 2004
Location: Portugal - Castelo Branco
Distribution: Fedora Core 3
Posts: 6

Rep: Reputation: 0
Well, linux has write support in kernel-2.6. In distros as Redhat or fedora, u need to compile de module. But, i've tryed that, and mounted as RW, but, till now, no lucky. =

Does anyone knows how to do it? even mounted as R-W i still cant write in NTFS. Even not changing the file size...
 
Old 02-17-2004, 01:31 PM   #8
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
Did you also compile the write support? It's a separate option. But why do you want to do it? It's extremely limited. From the linux-ntfs page:
Quote:
The new driver, introduced in 2.5.11, has some write code, but it's very limited. The driver can overwrite existing files, but it cannot change the length, add new or delete existing files.
You are much better off using an fat 32 partition or use a windows program that can read from a linux partiton if you want to copy things over to an ntfs partition.
 
Old 02-17-2004, 04:37 PM   #9
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
@quatsch : do you really know a Windows program that knows how to read Linux files ?
 
Old 02-17-2004, 09:45 PM   #10
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
go to the linux-ntfs page and they list a few. I've never tried them but they are read-only so they won't destroy your data. The page is:
http://linux-ntfs.sourceforge.net/info/ntfs.html#3.2
 
Old 02-18-2004, 01:20 PM   #11
Li...
Member
 
Registered: Feb 2004
Posts: 31

Rep: Reputation: 15
@zorba4: Explore2fs, the NT/95 explorer for Linux ex2fs partitions

clique ici: http://uranus.it.swin.edu.au/~jn/linux/
 
Old 02-21-2004, 08:28 PM   #12
dbc001
Member
 
Registered: Jan 2004
Distribution: Slackware, Ubuntu
Posts: 97

Original Poster
Rep: Reputation: 15
thanks for all the help, i finally re-formatted the windows drive to FAT for compatibility...
 
Old 02-22-2004, 06:50 AM   #13
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
also,
@quatsch, @li : thanks for the additionnal info.
 
  


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
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 03:30 PM
mount problems by fstab mickeyboa Fedora 2 10-09-2004 11:31 AM
NTFS/Win2k Mount Problems wetrix Linux - Newbie 6 03-30-2003 01:24 PM
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
Setting up r/w NTFS mount in fstab kpw Linux - General 7 01-31-2002 05:52 PM

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

All times are GMT -5. The time now is 05:56 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
Open Source Consulting | Domain Registration