XP SP2 breaks Captive-NTFS. How to work around this.
by Kyle Rankin
Windows XP Service Pack 2 seems to break the captive-ntfs installer. The bitdefender knowledge base lists a workaround for the issue but there are also a few other workarounds, including some especially for Knoppix users.
Basically, it appears that the captive-ntfs installer GUI can't find ntoskrnl.exe so the workaround involves mounting the NTFS partition read-only, and directly pointing the Captive NTFS installer to the Windows directory on that system.
Another possible workaround if you have network connectivity is to skip the filesystem scanning altogether, and have the GUI download and extract the files it needs from XP SP1. Of course if you use this method you will need to wait as the 30MB of data is downloaded, which can be quite a bit of waiting if you need to use this method on multiple machines.
A third workaround that I've recently gotten into is to create a special Knoppix config with all of the XP SP1 files that captive needs and store it on a usb key I carry with me. I've discussed how to use the Knoppix saveconfig script to create persistent settings previously, although for this you need to do some extra tweaking. What I have come up with is a general-purpose configs.tbz file that contains not only the captive-ntfs files I need, but also the chntpw tool to edit the Windows registry, updated f-prot files using the Knoppix live software installer, dd_rescue, and dd_rhelp to image failing drives.
Basically I go through the various methods to install each of these applications to the live Knoppix CD, then I use the same tar command that the saveconfig script uses to create a tarball of all of the directories I need to keep:
BZIP2=-9 tar -cpPjf /mnt/sda1/sysadmin/configs.tbz /home/knoppix/.dist/ /home/knoppix/.knx-live-inst/ /home/knoppix/Software/ /home/knoppix/Desktop/Extra\ Software/ /var/lib/captive/*.sys /var/lib/captive/ntoskrnl.exe
Now I have all of these various directories backed up into my sysadmin/configs.tbz file on my usb drive. I copy the standard knoppix.sh file that saveconfig creates to that directory as well, and then next time I boot Knoppix, if I want to use my sysadmin config, I type
knoppix myconfig=/dev/sda1/sysadminat the boot: prompt. This saves me all the time that it normally takes to download and install any of these tools individually, plus I can use everything on a machine that doesn't have a network connection at all.
I also use this method to back up other types of configs I use in different directories on the usb drive so I can select any of them at the boot: prompt. I just set up my configuration once, and either use saveconfig, or a tar command to create the configs.tbz. If you are backing up configuration files inside /home/knoppix and you aren't sure what exactly to back up, you can always have saveconfig back up everything, and then bunzip2 the configs.tbz file, use tar --delete to remove the files you don't need, or tar -r to add files, and then bzip2 it back up.
Too bad, captive-ntfs is dead
It doesn't work for SP2, because it's no longer being developed and, for some strange reason, nobody wants to work on it. Which, I can't understand because it's so incredibly usefull! From the October list, I quote:
I can't "work around"
I can't get the darn thing to work.