Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Can Knoppix write to NTFS?

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    9

    Can Knoppix write to NTFS?

    My WindowsXP Pro system died. I know that if I can just overwrite ONE file in ONE location with ONE other file everything will be fine. The problem is, I can't boot Windows. The system recovery console will only let me access the system directorys (I need to overwrite something in the My Documents folder) and all the other tools I have seen will only allow me to read NTFS.

    Can I use Knoppix to overrwrite this file?

    Thank you for your time,
    Arrummzen

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    Yes, 3.4 version of Knoppix have captive-ntfs which allows for writing to NTFS using a windows kernel and ntfs.sys driver. The captive utility will search your hard d4rive for the windows components it needs or download them out of a windows XP service pack if it can't find them.

    Once appropriate files are aquired, to use:

    open a terminal and type "su"

    mount -t captive-ntfs /dev/hdx# /mnt/hdx#

    where x and # are identifiers for the partition you want to mount (odds are its hda1 for the first partition on the primary master drive).

    Then you can access the files for reading and writing. Wriiting will actually be queued, and will be done when you unmount the drive with the command-

    umount /mnt/hdx#

    where x and # are identifiers for the partition you want to mount (odds are its hda1 for the first partition on the primary master drive).

  3. #3
    Junior Member
    Join Date
    Jul 2004
    Posts
    9
    Will it be able to read an NTFS drive to find and load the files it needs to write?

    Thank you for your time,
    Arrummzen

  4. #4
    Senior Member
    Join Date
    Oct 2003
    Location
    GA
    Posts
    382
    Yes, the captive drivers will read and write.

  5. #5
    Junior Member
    Join Date
    Jul 2004
    Posts
    9
    How safe is writing NTFS using this method? I heard a while back the the NTFS driver in the 2.6 kernel had a tendency to corrupt NTFS partitions. Is this ture? If so has it been fixed?

    Thank you for your time,
    Arrummzen

  6. #6
    Senior Member
    Join Date
    Oct 2003
    Location
    GA
    Posts
    382
    The NTFS drivers that come with the kernel are not safe for writing. But the captive drivers actually use the same stuff that windows uses I believe...when you run the acquire script it will get the windows drivers if I recall correctly. They are perfectly safe to write with...I've used them before.

  7. #7
    Junior Member
    Join Date
    Jul 2004
    Posts
    9
    ok, so the procedure is this

    0: boot knoppix
    1: mount -t captive-ntfs /dev/hdx# /mnt/hdx#
    2: Make needed changes, using stanard Linux methods, like cp, rm, mv, vim etc.
    3: umount /mnt/hdx#
    4: turn computer of
    5: remove knoppix CD
    6: start Windows.

    Is that correct?

    EDIT: By the way, do you have any idea what the proper value for x and # would be for the only partition on the only harddrive on a laptop computer?

    Thank you for your time,
    Arrummzen

  8. #8
    Senior Member registered user
    Join Date
    Jul 2003
    Posts
    692
    Quote Originally Posted by Arrummzen
    EDIT: By the way, do you have any idea what the proper value for x and # would be for the only partition on the only harddrive on a laptop computer?
    If you are SURE that this is the case, convention would dictate that it should be hda1.

    HOWEVER, be aware that many manufacturers (e.g., HP/Compaq) put a hidden recovery partition on the HD, that you may not see in Windows Explorer. On my HP, the recovery partition is hda1 and the "C: drive partition" is hda2. If I were you, I would boot the CD first and look around for drives on the Knoppix desktop, open them, and look around to verify that they are what you think they are.

    jd

  9. #9
    Senior Member registered user
    Join Date
    Jul 2003
    Posts
    692
    Quote Originally Posted by Arrummzen
    ok, so the procedure is this

    0: boot knoppix
    1: mount -t captive-ntfs /dev/hdx# /mnt/hdx#
    2: Make needed changes, using stanard Linux methods, like cp, rm, mv, vim etc.
    3: umount /mnt/hdx#
    4: turn computer of
    5: remove knoppix CD
    6: start Windows.

    Is that correct?
    Well, step #2 is pretty broad, and assumes that you have a comfort level with BASH. From what you are saying, I don't know if that's the case or not. There's a link on the forum: http://www.knoppix.net/forum/viewtopic.php?t=2398 ) to a site with a good summary of Linux shell commands - from O'Reilly's Linux in a Nutshell, IIRC. If you get stuck, you can sometimes fake it by sticking the letter "m" in front of a DOS command (if you know DOS).

    One other option - if you have your XP disk and another computer that runs, you can go here www.nu2.nu/pebuilder/ and put together a bootable live CD of Win XP. DOn't get me wrong, I love Knoppix, and I don't mean to insult if you are comfortable with *nix shell commands, but given that you are messing around with your core OS in a different file system, if you are new, you might feel a lot more confident using a familiar interface for rescue, and then learning Linux when the pressure is off later.

    Oh, and one last option, if you have a floppy drive, get an old DOS boot floppy and boot DOS. If you don't have one, google around to download one. I think www.bootdisk.com has them for free download, but I'm not positive of the site.

    jd

  10. #10
    Junior Member
    Join Date
    Jul 2004
    Posts
    9
    Well, step #2 is pretty broad, and assumes that you have a comfort level with BASH. From what you are saying, I don't know if that's the case or not. There's a link on the forum: http://www.knoppix.net/forum/viewtopic.php?t=2398 ) to a site with a good summary of Linux shell commands - from O'Reilly's Linux in a Nutshell, IIRC. If you get stuck, you can sometimes fake it by sticking the letter "m" in front of a DOS command (if you know DOS).
    I run Linux on my two of my workstatiosn and on my handheld orginizer. I use BASH on Windows via Cygwin in place of cmd. So I BASH will be no problem.

    I would actualy perfer to use the Preinstall Environment, however I already have knoppix loaded and I have just copyed the files. So its a little late. The only thing I fear is that the captive NTFS driver will mess up and corrupt my data...

    NOTE: Do I have to unmount by hand before rebooting or can I just reboot?

    Thank you for your time,
    Arrummzen

Page 1 of 3 123 LastLast

Similar Threads

  1. how to use knoppix 3.8 to write to ntfs?
    By entropy8 in forum General Support
    Replies: 3
    Last Post: 07-19-2005, 12:02 AM
  2. captive ntfs - mount ntfs (reade/write) through icon
    By terminator in forum General Support
    Replies: 0
    Last Post: 05-12-2004, 10:52 PM
  3. Knoppix 3.4 and NTFS write
    By TLis in forum General Support
    Replies: 10
    Last Post: 04-15-2004, 09:12 AM
  4. NTFS Write? With knoppix 3.3?
    By TheTempest in forum General Support
    Replies: 1
    Last Post: 03-27-2004, 08:44 PM
  5. Knoppix NTFS Write is/is not available ?!?
    By bluewhale in forum General Support
    Replies: 28
    Last Post: 03-04-2004, 03:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP

$38.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Samsung 16GB (2x8GB) DDR4 2400MHz PC4-19200 Desktop RAM Memory M378A1K43CB2-CRC picture

Samsung 16GB (2x8GB) DDR4 2400MHz PC4-19200 Desktop RAM Memory M378A1K43CB2-CRC

$19.95



Crucial DDR 400 (PC 3200) Desktop Memory [4 x 1GB = 4GB] USA picture

Crucial DDR 400 (PC 3200) Desktop Memory [4 x 1GB = 4GB] USA

$39.99



Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$21.33



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$14.85



CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800) picture

CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800)

$79.95



HyperX FURY DDR4 64GB (4x16GB) 3200MHz PC4-25600 Desktop RAM Memory DIMM 288PIN picture

HyperX FURY DDR4 64GB (4x16GB) 3200MHz PC4-25600 Desktop RAM Memory DIMM 288PIN

$129.95



HyperX FURY DDR4 16GB 32GB 64GB 2666MHz PC4-21300 Desktop RAM Memory DIMM 288Pin picture

HyperX FURY DDR4 16GB 32GB 64GB 2666MHz PC4-21300 Desktop RAM Memory DIMM 288Pin

$119.80