PDA

View Full Version : Can't find Captive-Ntfs on Knoppix 3.8



heizy
04-01-2005, 12:29 AM
Hi,

may somebody help me? I can't find Captive on Knoppix 3.8 .
Can you tell me, how to install it ?

Thanks and best regards

Marcus

eco2geek
04-01-2005, 11:54 AM
First, the bad news:

- captive-ntfs hasn't been updated by its creator since January 2004. The kernel driver it uses, LUFS, is also no longer maintained by its author. In other words, it's very outdated in terms of both the Linux kernels it'll work with, and the Microsoft drivers it'll work with (i.e. it won't work with drivers from WinXP-SP2)
- captive-ntfs is not included in Knoppix 3.8 (CeBit Edition)
- You can download a captive-ntfs binary package (http://www.jankratochvil.net/project/captive/dist/captive-static-1.1.5.tar.gz) with an install script, but the LUFS kernel module doesn't seem to want to compile against either the plain vanilla or Debian kernel 2.6.11 sources (please post if you know how to make it work). (I got it to work with kernel 2.6.10 with a small patch)

Second, the good news:

- It comes with Kanotix (http://www.kanotix.com) (a Knoppix variant based on Debian Sid)
- captive-install-acquire still works
- With the proper (WinXP-SP1) drivers installed, you can still access an NTFS volume with the captive-cmdline program, which looks a lot like it's an FTP session into your NTFS partition. An example of how to use it:


root@knoppixbox:~# captive-cmdline \
> --load-module=/var/lib/captive/ntoskrnl.exe \
> --filesystem=/var/lib/captive/ntfs.sys \
> --sandbox-server=/usr/sbin/captive-sandbox-server \
> --bug-pathname=/tmp/captive-bug-%FT%T.captivebug.xml.gz \
> --disk --rw /dev/hda1
Captive NTFS v1.1.5. Check a new version at: http://www.jankratochvil.net/
Guest-OS CWD: /
/$ help
cd Print or change current guest-os directory[1].
lcd Print or change current host-os directory[1].
ls Directory[1] listing.
get Copy guest-os file[1] to host-os (opt. file[2]).
put Copy host-os file[1] to guest-os (opt. file[2]).
info Query information about guest-os item[1].
volume Query information about guest-os volume.
rm Remove guest-os file[1].
mv Move (rename) guest-os item[1] to guest-os item[2].
mkdir Create guest-os directory[1].
rmdir Remove guest-os directory[1].
commit Write any pending changes and remount the volume.
open Open as[1] file[2] in mode; see 'open --help'
create Create as[1] file[2] in mode with perm; see 'create --help'
close Close handle[1]
quit Quit this program.
help Show this list of commands or help for command[1].
/$ quit
root@knoppixbox:~#

heizy
04-01-2005, 12:42 PM
Thank you for this very detailled informations!!!!

Have a nice day !

Marcus