LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-31-2004, 05:59 PM   #1
McBrain
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Rep: Reputation: 15
Kernel 2.6.1 ad NTFS write...


Hi there,
i have just upgraded to the kernel 2.6.1. One of the reasons was, that I read it would support (limitted) write support for ntfs file systems.
As I am using the win boot manager (it's a company laptop), I don't want to boot Windows after I changed my kernel (what currently happens very often, as I am trying around with some other things). But without write support for ntfs file systems......
I have tried to mount it with write option:
mount -t ntfs -o rw <device> <mount point>

But copy of the bootsektor (same name, same size) did not work. I have tried 'cat' with redirection as well.......

Any idea how to solve this?

Thanks and regards!
McBrain
 
Old 01-31-2004, 10:51 PM   #2
Kramer
Member
 
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550

Rep: Reputation: 30
From what I have heard/read the NTFS write support is still somewhat experimental. You run the risk of erasing your data should you choose to dabble with it. Personally, I plan on partitioning again, and haveing 2 NTFS partitions, just to play with that, and not worry about corrupting the actual Windoze files.
 
Old 02-01-2004, 04:02 AM   #3
khtse
Member
 
Registered: Sep 2003
Location: Hong Kong
Distribution: Slackware 9.1
Posts: 43

Rep: Reputation: 15
From what I know, linux NTFS write support is very dangerous... the newest ntfs drivers DO support minimal writing capabilities, but that is only in the form of changing the contents of an existing file. Files cannot be created/deleted, and the file size must remain the same. MAny people are working on the ntfs project at sourceforge, but the ntfs filesystem is built like a DBMS!!

So, the best way to transfer information between windows and linux is to use a common FAT32 partition. Don't count on full NTFS write-support anytime soon.

=]
 
Old 02-01-2004, 04:40 AM   #4
enigmasoldier
Member
 
Registered: Jul 2003
Location: Florence, Ky
Distribution: CentOS 3.3-4, OpenBSD 3.3, Fedora Core 4, Ubuntu, Novell Open Enterprise Server
Posts: 213

Rep: Reputation: 30
You want 100% read / write NTFS support with no chance of corrupting your windows file table? Use Captive. I use it and it works beautifully.

Link:
http://www.jankratochvil.net/project/captive/
 
Old 02-01-2004, 05:15 AM   #5
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Rep: Reputation: 30
There are issues with that project IIRC, because it uses the Windows ntfs.sys driver - people seem to think that MS will not take too kindly to this.
 
Old 02-01-2004, 08:51 AM   #6
enigmasoldier
Member
 
Registered: Jul 2003
Location: Florence, Ky
Distribution: CentOS 3.3-4, OpenBSD 3.3, Fedora Core 4, Ubuntu, Novell Open Enterprise Server
Posts: 213

Rep: Reputation: 30
If you use the ntfs.sys from a legally registered copy of windows, they can't prosecute you. I don't care to read the EULA and tell you it is wrong, but I can tell you it works. And that is from my personal experience. What MS doesn't know won't hurt me.
 
Old 02-01-2004, 11:47 AM   #7
McBrain
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Original Poster
Rep: Reputation: 15
There was above the point, that the write access of the new driver is very limitted. True, but it would do everything I need!
I want to overwrite one file on my NTFS partion which is always 512 byte, which is the bootsektor of my Linux partion, which is used by the Win2k boot manager.
I meanwhile got a little bit futher, because I found a switch for write access in the kernel configuration.
But that did not solve the problem finally, because I am still getting an error message (which I can't currently remember, but I will post it, when I am back to that system).
But I have read somewhere, that a further limittation is, that the file should have a minimum size. 512 byte is not very much!
Any ideas?

Thanks & regards
 
  


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
recompile kernel for ntfs write? how? snip128 Linux - Newbie 3 07-13-2005 10:54 PM
ntfs filesystem write error in Kernel-2.6.11.7 nsingh2609 Linux - Hardware 5 05-08-2005 06:53 AM
Help!!! I need a Kernel for the Red Hat 9.0 that read and write NTFS NoSpHeRaTu Linux - Newbie 10 11-09-2004 07:47 AM
does a kernel read-write NTFS exist???? NoSpHeRaTu Linux - Newbie 8 11-02-2004 10:47 AM
Has anybody actually tried NTFS write? bax Linux - General 8 10-04-2002 01:49 PM

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

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