Slashdot Mirror


Using the Real ntfs.sys Driver Under Linux

caseih writes "A very neat hack uses the real ntfs.sys driver (obtained from your own windows XP partition and used via a wine-like layer (borrowed from ReactOS) to mount an ntfs partion with full read/write access. While not an ideal solution and certainly not free as in speech, this is an ideal stop-gap measure for many people trying out linux. I think that we'll probably see this in Knoppix pretty soon."

14 of 548 comments (clear)

  1. Re:How about the other way around by homer_ca · · Score: 5, Informative

    Merry Christmas. Here you go:

    Explore2fs

  2. Another legal way to deal with the driver by unfortunateson · · Score: 5, Informative

    It would not seem unreasonable for the ntfs driver to be copied to a USB key or other media to be used at boot time.

    Optimally, like the other suggestions, this driver should be moved during config time, but I would be willing to load it my USB doohickey prior to booting Knoppix/Mandrake Live/whatevernix.

    I have valid Windows NT/2000/XP licenses on my machine, or I wouldn't have the NTFS partition to begin with. Maybe that's not a guaranteed assumption, and IANAL, but I don't think it would put too many MS lawyers on alert if it were done that way.

    Perhaps a copyright/license file stating "These files are to be used on computer systems with valid Windows NT/2000/XP licenses only." when they are copied to the USB Key.

    --
    Design for Use, not Construction!
  3. Re:Linux File System? by Wumpus · · Score: 3, Informative
    Linux still runs on FAT32 itself

    No, it doesn't. Linux supports a wide range of journalling file systems: ext3, JFS, ReiserFS, XFS, in addition to almost any filesystem known to man, INCLUDING native NTFS

    Shouldn't Linux be on something "better" than FAT32

    It is.

    ...Or am I overlooking something (I'm not a Linux user...yet)?

    You got your facts wrong, that's all.

  4. Re:How about the other way around by richie2000 · · Score: 4, Informative
    --
    Money for nothing, pix for free
  5. Re:I'm not sure if we'll see it in knoppix by setzman · · Score: 4, Informative
    Um... I'm wondering here: How does Windows load ntfs.sys from an NTFS partition???

    Probably the same way OS/2 loaded HPFS.IFS on HPFS partitions. The boot kernel had some kind of micro-HPFS driver that allowed the system access to certain folders on the HPFS partition, allowing it to load necessary drivers.

    --
    C:\>
  6. Re:I'm not sure if we'll see it in knoppix by mystik · · Score: 5, Informative

    The same way grub or lilo loads linux from a reiserfs or ext2/3 partition --- rudimentary read-only access is coded into the bootloader.

    --
    Why aren't you encrypting your e-mail?
  7. Re:I'm not sure if we'll see it in knoppix by Nevo · · Score: 5, Informative

    NTLDR does the dirty work.

    NTLDR contains a mini-NTFS filesystem driver and mini registry parser. NTLDR reads the registry and determines all of the boot-start device drivers. NTLDR loads those drivers into RAM, then loads the kernel and the HAL.

    NTLDR then passes control of the machine to the kernel, along with a pointer to the in-RAM loaded drivers so that the kernel can start those drivers.

  8. Re:Fsckin' Great... by blixel · · Score: 4, Informative

    How did people get around this issue before Read/Write access to NTFS? Did they have a FAT32 partition or something that both of the OS installations shared?

    Linux is my primary O/S. I only use Windows to uhh... well... I'm not sure what I use it for since I haven't booted to it in a couple of months. But I still have it on another partition.

    Anyway - I have my external Firewire drives formatted as EXT3 and I use Mount Everything to read/write to them under Windows. Not a free program though.

    This is another solution you can try for reading/writing to Linux partitions under Windows. This one IS free.

    And one final idea, also not free - and probably rendered obsolete by today's announcement of this Captive project - but it's another source never the less. This is for reading/writing to NTFS partitions under Linux.

    I'd like to give credit to the people who pointed out these links to me but it was a long time ago and I don't remember who they were.

  9. Re:See this in Knoppix real soon... by Anonymous Coward · · Score: 3, Informative

    Nobody is suggesting putting the binary on a CD. It is already on the users computer - so there is no need.

  10. Re:Hack? by polyp2000 · · Score: 3, Informative

    I am amazed that anyone reading articles on slashdot doesnt know the correct meaning of the word hack.

    I suggest that you read here

    http://www.jargon.8hz.com/jargon_23.html#SEC30

    shame on you ... call yourself a geek ?

    nick ...

    --
    Electronic Music Made Using Linux http://soundcloud.com/polyp
  11. Re:OK... good by Minna+Kirai · · Score: 4, Informative
    Wine is actually fast because it ISN'T an emulator

    The oft-repeated tagline "Wine is not an emulator" is false. It would only be true if the word "emulator" meant "hardware emulator".

    It does not. Although most people think of CPU virtualization when they hear the word "emulator", that is not necessarily the case. According to dictionary definitions, WINE is emphatically an emulator.

    Here's the defintion:
    1. 3.
    2. Computer Science. To imitate the function of (another system), as by modifications to hardware or software that allow the imitating system to accept the same data, execute the same programs, and achieve the same results as the imitated system.

  12. Re:I'm not sure if we'll see it in knoppix by caseih · · Score: 5, Informative

    If you read the web page and try out the driver you'll find it does exactly this. It uses code from the ntfs project (libntfs) to grab the ntfs.sys file and copy it over to use it. Therefore no distribution of microsoft binaries is needed. If it can't find the driver on your hard drive, it can download it from microsoft.com from xp sp1 (which has some interesting legal implications).

  13. Re:OK... good by cxreg · · Score: 4, Informative

    While its 'write-safe', the writes it can do is completely useless to most people.

    "The only supported operation is overwriting existing files, without changing the file length. No file or directory creation, deletion or renaming is possible. Note only non-resident files can be written to so you may find that some very small files (500 bytes or so) cannot be written to."

    Maybe using the windows NTFS driver this way will help provide enough debug info to complete this driver

  14. NTFSDOS by Ratbert42 · · Score: 3, Informative

    I think this is how NTFSDOS does it. Before you use it, you install their product on a working Windows machine (with NTFS) and generate boot floppies or CDs that then include the Microsoft-owned NTFS code.