Slashdot Mirror


Knoppix Variant Offers Full NTFS Write Support

mache writes "Full NTFS write support for Knoppix is under discussion on Knoppix Ideas forum and it looks that Knopper will include Captive into Knoppix 3.4. The best part of Live CD with full NTFS write support is that it actually exists in LinuxDefender, a remastered Knoppix distribution made by Bitdefender, presented at LinuxConf 2003, the annual Romanian Linux Users Group (RLUG) conference."

28 of 100 comments (clear)

  1. what I still don't understand sbout Knoppix... by BigGerman · · Score: 2, Interesting

    ..is how it can offer better hardware detection and often better features than other, "commercial" Linux distros?
    Anyone has internal information on how Knoppix is developed and maintained?

    1. Re:what I still don't understand sbout Knoppix... by Spoing · · Score: 3, Informative

      Knoppix uses the Kudzu libs to do hardware detection; the same as Red Hat Linux and Fedora.

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
  2. Legality? by duffbeer703 · · Score: 4, Insightful

    If I'm skimming the Captive homepage to quickly, but it seems to me like Captive is using Microsoft DLL's to read/write NTFS filesystems.

    Seems to me like that would or will violate the Microsoft EULA and leave Knoppix users open to problems if MS changes parts of these DLLs in subsequent service packs or releases.

    --
    Conformity is the jailer of freedom and enemy of growth. -JFK
    1. Re:Legality? by Nasarius · · Score: 5, Informative

      It's not a DLL, but yeah, it's Microsoft's driver. The trick is that Knoppix isn't distributing this file, but rather searching your Windows partition for it.

      --
      LOAD "SIG",8,1
    2. Re:Legality? by HolyCoitus · · Score: 4, Insightful

      It would seem unlikely that the EULA would have something in it saying that you are only allowed to use those drivers with the single operating system they came with.... Even if it did, I really doubt that would be completely enforceable? I mean, it isn't reasonable to assume that on the same computer, you can't use those drivers from an operating system that you own to access a hard drive that you own?

      --
      That's scary.
    3. Re:Legality? by hypnagogue · · Score: 2, Funny


      Enforceable or not, who has the resources to go toe to tow with MS legal.

      IBM.

      What do I win?

      --
      Liberty you never use is liberty you lose.
    4. Re:Legality? by jdray · · Score: 2, Informative

      IIRC, MS put some blarney in the latest Office licenses that said it was only legal to use Office on a Windows platform. One would assume that the Office for Mac licenses read differently, but anyone using WINE to run Office XP is (as I said, IIRC and IANAL) violating the license agreement.

      --
      The Spoon
      Updated 6/28/2011
  3. Nope by Nasarius · · Score: 3, Informative

    As always, NTFS read-only works fine, writing is very limited unless you want to corrupt your filesystem. Knoppix would be using an approach that uses Microsoft's ntfs.sys to handle writing. Of course, you need Windows installed (or at least a copy of ntfs.sys) for this to work.

    --
    LOAD "SIG",8,1
    1. Re:Nope by Josh+Booth · · Score: 3, Informative

      Well... I just downloaded 2.6.1 and the help note in menuconfig says that nobody has had any problem with the NTFS writing, since it is limited to not changing the file size or creating new files. This is different from earlier kernels which pretended that they knew how to write NTFS and would actually mess up your partition. It says they have no reports of corruption, though :-)

    2. Re:Nope by TheLink · · Score: 2, Interesting

      Just curious:

      How well does NTFS read-only work?

      Does it support > 2GB NTFS files on x86 machines?

      If it does stuff like that reliably then I might consider using it for certain sort of backups. In many cases I won't be too bothered about permissions and the other stuff.

      --
    3. Re:Nope by irc.goatse.cx+troll · · Score: 2, Insightful

      I've got a 20gig ext2, 60gig ext3, and 20gig win2k3.

      Debian reads all three fine.
      Windows reads all three fine.

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
  4. Re:what about linux 2.6 by ignatus · · Score: 2, Insightful
    nopes, just "partially" as in: "allmost nothing"

    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.

    http://linux-ntfs.sourceforge.net/info/ntfs.html#3 .2

    --
    - Never underestimate the power of human stupidity.
  5. Re:Using microsoft programs in Captive. by xutopia · · Score: 3, Interesting

    obviously no. If someone has a valid XP licence they should be allowed to use it in any way they wish to and this includes the NTFS driver.

  6. Re:I'll rather wait for the full oo support by jonadab · · Score: 2, Informative

    > Allthough this will be extremely usefull for the people having to cope
    > with ntfs, i'd rather wait until the kernel supports it fully (there's
    > allready a "partial" driver in the kernel 2.6). But personally, i just
    > stick to FAT32.

    The usefulness of this is primarily geared toward situations where NTFS is
    already extant (e.g., OEM installs of WinXP). In these scenerios, if you
    want to multiboot and share data between the two OSes, use Knoppix as a
    rescue system, or anything along those lines, you *need* read/write NTFS
    support. You don't need this if you have your choice of filesystems,
    because you can just use another filesystem, but if you are in a situation
    where you need this, nothing else will do. So it's important. It's
    especially important for Knoppix, which is often used as a rescue system;
    now it can be used as a rescue system for NT/2K/XP, as well as for 9x/Me.

    No, you wouldn't choose to use this on a new install when you have your choice
    of filesystems. For that you'd pick Reiser or ext2/3 probably, or FAT for a
    data partition in a multiboot scenerio (since that gives the best compatibility
    and works with every major OS and most minor ones as well). But that's not the
    intention of captive-ntfs. It's for working with existing filesystems.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  7. Re:Using microsoft programs in Captive. by jonadab · · Score: 5, Informative

    > It says they use ntfs.sys and even ntoskrnl.exe from your XP partition.
    > Wondering if there are legal problems with this.

    One supposes that if you have an NTFS partition with these files on it, the
    files are licensed for you to use and therefore legal. (If not, you have a
    problem that goes beyond captive-ntfs.) Unless there is some specific
    verbiage in the EULA that expressly prohibits use of the drivers when the
    NT kernel isn't running, or some such restriction, I'm not sure what the
    legal problem would be. I find it difficult to imagine that the MS legal
    team would have dreamed up that kind of restriction, since it's not the sort
    of thing they would expect people to do. What happens when the EULA is
    revised is another matter, but this would have to get on the MS radar for
    that to happen, which will take at least a year, then another six months or
    so until the next update/revision cycle, and hopefully by then the native
    read/write NTFS support in the 2.6 kernel will be of such quality as to make
    the whole point moot.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  8. The New Old Thing by twentycavities · · Score: 2, Informative

    I hope accomplishing this didn't involve modifying undocumented internal structures.

    Raymond Chen will be pissed.

    --
    Monstromart: Where shopping is a baffling ordeal
  9. Linux "Switcher" CD's by devinjones · · Score: 4, Interesting
    I see this as a crucial part of a "Switcher" CD that lets home users convert from Windows to Linux in small steps:
    1. Boot from CD to try it out.
    2. Convert to dual boot. There would be a utility to re-partition, install and configure for dual-boot. Let the user keep it dual-boot while they find substitutes for any Windows-only programs that Wine can't handle.
    3. Convert to Linux only
    You could give these out like AOL disks and slowly convert the installed base. There could be a utility to detect existing win32 programs and check their status in the Wine application list.

    This would be the logical extension to Bruce Perens' UserLinux idea.

    1. Re:Linux "Switcher" CD's by /dev/trash · · Score: 3, Insightful

      Step 3 would never come for me, or a majority of users because of games and financial software.

  10. Re:One thing I wonder by onomatomania · · Score: 2, Informative

    I don't think this really changes anything. They've always had the ability to single-step/reverse engineer the windows NTFS driver, it's not like they lacked that ability before. But that's a very daunting task, regardless of whether you do it in Windows or in Linux, because it's a complicated filesystem and the driver is pretty big. It's like saying, "Hey! We got these great new backpacks for our climb to the top of Everest! They're red instead of our old ones which were black. But otherwise they're the same model."

  11. pagefile by hitchhacker · · Score: 4, Insightful


    Now that there is reliable NTFS write support, maybe we could get a kernel modification to use the pagefile.sys as a swap partition.

    mkswap /mnt/ntfs/pagefile.sys
    swapon /mnt/ntfs/pagefile.sys

    What about using the windows temp directory for storage of highly used apps and libs?

    -metric

    1. Re:pagefile by irgu · · Score: 2, Informative
      The difference isn't reliability but functionality. The rewritten NTFS code is reliable but it's incomplete, it gives "permission denied" or "not supported" for most of the write operations.

      The commands, you wrote, should work with either driver without any kernel modification but Captive NTFS is much slower.

    2. Re:pagefile by kiwi_mcd · · Score: 2, Informative

      I agree that it would be a good use of the disk space but there is a problem with this in that most of the time pagefile.sys is not a fixed size or location - the file can change location on disk and be fragmented. As a side note for those using Windows regularly (I know it is not so many of this crowd ;-) ) then I would recommend making the swap space in Windows a fixed size and then defragmenting using a good defragmenter (Microsoft one probably won't do it).

  12. Re:Using microsoft programs in Captive. by jonadab · · Score: 2, Informative

    > I think it's important to note that the issue with the current Linux
    > kernel's NTFS support is its capabilities, not its quality.

    Capabilities aren't part of quality? Do you want a car that can't make right
    turns? What about a car that can't make turns at all -- it would still be
    fine for driving straight ahead, and you could even put it in reverse...

    > It can only write to a file without increasing its size - and no creating
    > or deleting files or directories.

    This limits its usefulness in important ways. Not that it is if no value,
    but I would really like to think that in a few months someone will figure
    out how to (safely) lift these restrictions.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  13. Re:It is legal by irgu · · Score: 3, Interesting
    Varies on country. Read the EULA. If it's valid in your country it's apparently a violation.

    However the EULA also states that any use of the software not expressly granted to the end user is reserved by Microsoft. This way Microsoft can say OK for friends and NO for competitors. Did you already forget when Microsoft threatened MS Visual FoxPro users some months ago who used the same trick?

    Ditch Microsoft then no such troubles.

  14. Re:Using microsoft programs in Captive. by irgu · · Score: 4, Informative
    > Capabilities aren't part of quality?

    They are. But NTFS is a huge project. It takes a lot of time. Today it's developed as a hobby, couple of hours a week or not even that much.

    > I would really like to think that in a few months
    > someone will figure out how to (safely) lift these restrictions

    The developers said in the forums: somebody having lots of time must start active coding (no need for reverse engineering any more) or hire coders and finance the development.

  15. Re:Using microsoft programs in Captive. by berzerke · · Score: 2, Informative

    ...As long as captive-ntfs requires ntfs.sys from microsoft, Microsoft would be harming its friends more than its enemies by fighting it.

    I don't mean this a troll, but when has M$ ever cared about stabbing a "friend" in the back? They do it every time it becomes convenient. I remember a cellphone company story a while back who partnered with M$ and a last I heard, we suing for stealing technology as just one example.

  16. Re:Using microsoft programs in Captive. by __aatgod8309 · · Score: 3, Interesting

    obviously no. If someone has a valid XP licence they should be allowed to use it in any way they wish to and this includes the NTFS driver.

    The flaw in your argument: use of "obviously" and "should" instead of giving a reason why Microsoft would allow this. (Allow? Yes. Until their EULA is declared illegal or void, it's a legally binding agreement with MS software users - even when it's stupid.)

  17. Re:I'll rather wait for the full oo support by aonaran · · Score: 2, Informative

    Here's an example when you might want to use Captive....
    You do video editing, XP has some good tools, Linux has some good tools. Video editing is best done on a file system that can handle large files like EXT2/3, Reiser, or NTFS (FAT 32 has a 4GB maximum file size)
    Since XP doesn't support any of the Linux filesystems in read/write mode (at full speed) even with opensource add-on drivers there are 2 options for a video editor who wants to use both paltforms.

    #1 buy 2 computers and network them and pass the project back and forth over the network

    #2 format a common drive in NTFS, put the project on that drive and dual boot between XP and Linux using Captive in Linux to access the Filesystem in read/write mode at full speed.