LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 06-18-2003, 08:17 AM   #1
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Rep: Reputation: 30
Question Can Linux write to NTFS windows partitions?


I have a dual boot Windows XP / Linux Mandrake 9.1 system
Linux won't write or copy files (it will read ok) to my /mnt/win_d2/ ("E" Drive on second Hard drive in Windows). Will linux not write to NTFS partition or do I need to setup some permisions. If so how

Thanks in advance

Steve
 
Old 06-18-2003, 09:05 AM   #2
contrasutra
Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
If you write to NTFS in linux, you will most likely kill your partition. Its possible to do with a kernel recompile, but not recommended.


Short answer: No, you can't write to it, only read.
 
Old 06-18-2003, 09:40 AM   #3
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
what about FAT32?
 
Old 06-18-2003, 09:42 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
fat32 is a trivial file system, it can be safely written to no problem.
 
Old 06-18-2003, 10:54 AM   #5
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
In windows I converted it to FAT32 but now in Linux I can't see any of my files or folders in that drive...why? they're still there in windows!
 
Old 06-18-2003, 11:01 AM   #6
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
Quote:
Originally posted by Stevetgn
In windows I converted it to FAT32 but now in Linux I can't see any of my files or folders in that drive...why? they're still there in windows!
Well if you were loading it using the NTFS you need to remount the drive and tell it to mount it as a vfat filesystem.

Check your fstab if you have it mounted automatically at bootup and change it to suit your needs.
 
Old 06-18-2003, 11:05 AM   #7
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
I know I have seen cases where the partition table is changed, and what was hda5 becomes hda7 or something like that. I had a similar situation a while back (after a Win2k reinstall - somehow I don't seem to miss those AT ALL), and I just had to play around with fstab until I found the correct partition.

slight
 
Old 06-18-2003, 11:12 AM   #8
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
Quote:
Originally posted by slightcrazed
I know I have seen cases where the partition table is changed, and what was hda5 becomes hda7 or something like that. I had a similar situation a while back (after a Win2k reinstall - somehow I don't seem to miss those AT ALL), and I just had to play around with fstab until I found the correct partition.

slight
Why play around with a guessing game when you can just do a : fdisk -l to find the listed partition that way....
 
1 members found this post helpful.
Old 06-18-2003, 01:26 PM   #9
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
Quote:
Originally posted by trickykid
Why play around with a guessing game when you can just do a : fdisk -l to find the listed partition that way....
Cause I was a at the time, and I am probably only a hair above now.

*writes down fdisk -l in small linux command reference notebook*

thanks trickykid.



slight
 
Old 01-30-2004, 09:02 AM   #10
Killalotta
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
Lightbulb

Running linux again for the first time in 4 or 5 years. Wanted a decent file server. I.e. not WinBlows.

Anyways, I'm quite interested in getting r/w access on an NTFS volume. (There's no friggin' way that I'm going to copy that 50+G of data back and forth...)

I've found a couple of interesting web sites. Anybody have experience with either of the following two projects?

http://www.jankratochvil.net/project/captive/
http://linux-ntfs.sourceforge.net/status.html

Please let me know. Thanks.
 
Old 02-04-2004, 03:04 AM   #11
huibert.alblas
Member
 
Registered: Jan 2004
Location: Duesseldorf /Germany
Distribution: Gentoo amd64 / Debian
Posts: 226

Rep: Reputation: 30
It is possible to write to NTFS

Hi,

if you are not affraid of trying something new,
you should try captive.

see: http://www.jankratochvil.net/project/captive/

This enables you to read/write NTFS partitions directly.
I needs the original winntfs.sys and other files,
which are copyrighted by Microsoft, and not freely distributable.

On the other hand, you seem to allready have an Win NT* (2000, XP, whatever)
system, so you allready own these files, and you can use them
in this way.

I'm posting this, because it is important to debuk the myth
that it is not possible to dow ntfs r/w under linux.

Note that it is still true that you cannot do this
with full GPLled tools (currently).



Happy hacking!

Pankrat
 
Old 02-04-2004, 03:19 AM   #12
Nic-MDKman
Member
 
Registered: Feb 2004
Location: Sacramento, CA, USA
Distribution: Mandrake 9.2
Posts: 159

Rep: Reputation: 30
Quote:
*writes down fdisk -l in small linux command reference notebook*
Might want to write that down in your DOS command reference notebook instead. fdisk isnt a linux command. (at least not in any distro I have used)
 
Old 02-04-2004, 05:00 AM   #13
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
fdisk came with every linux distro I ever used. It might not come with distros that aren't x86-specific, though.

Better to use cfdisk.
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
read/write ntfs partitions!!!! mlu Linux - Software 2 01-20-2005 01:42 PM
Read multi partitions in Windows NTFS from linux java8964 Linux - General 5 11-19-2003 11:18 AM
Can't write to vfat and ntfs partitions linuxfond Linux - Newbie 7 11-12-2003 04:54 PM
I can't write enable my ntfs partitions ItWillNeverWork Linux - Hardware 5 10-26-2003 02:23 PM
what's the reason why Linux can't write on NTFS partitions? DaDdY SnEb Linux - General 10 09-06-2002 12:21 PM


All times are GMT -5. The time now is 10:44 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration