<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Microsoft Sans Serif";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"\@Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {font-family:"Microsoft Sans Serif";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=3 color=blue face="Microsoft Sans Serif"><span
style='font-size:12.0pt;font-family:"Microsoft Sans Serif";color:blue'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
From Knoppix site.. After SP2, fahgetaboutit..</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><b><font size=3 color=red face="Times New Roman"><span
style='font-size:12.0pt;color:red;font-weight:bold'>6. Captive-ntfs, writing to
winxp ntfs </span></font></b><br>
To write to ntfs I run the simple script <font color=red><span
style='color:red'>without using any other programs </span></font>. If settings
are saved on hd, you need to run this script once, and only mount ntfs next.
This script is included in "<font color=red><span style='color:red'> mn ntfs
</span></font>" function in my /profile, or copy this script to, e.g., <font
color=red><span style='color:red'>cptv </span></font>file and make it
executable ( <font color=red><span style='color:red'>chmod 777 cptv </span></font>).
<br>
============================ <br>
#!/bin/bash <br>
mkdir -p /c ; <br>
<font color=darkblue><span style='color:darkblue'>for</span></font> <font
color=red><span style='color:red'>i</span></font> <font color=darkblue><span
style='color:darkblue'>in</span></font> ntfs.sys cdfs.sys fastfat.sys
ntoskrnl.exe ; <font color=darkblue><span style='color:darkblue'>do</span></font>
<br>
find $1 -iname <font color=red><span style='color:red'>$i</span></font> | xargs
--replace cp -f {} /var/lib/captive ; <font color=darkblue><span
style='color:darkblue'>done </span></font><br>
<font color=red><span style='color:red'>cpar="/bin/cp -a
--remove-destination --reply=yes"</span></font> <br>
[ -h /etc/group ] && unlink /etc/group # checking if it is real file,
not link <br>
[ -f /etc/group ] || $cpar /KNOPPIX/etc/group /etc/ ; <br>
echo <font color=red><span style='color:red'>"captive:x:101" >>
/etc/group</span></font> <br>
[ -h /etc/gshadow ] && unlink /etc/gshadow <br>
[ -f /etc/gshadow ] || $cpar /KNOPPIX/etc/gshadow /etc/ <br>
echo <font color=red><span style='color:red'>"captive:*::" >>
/etc/gshadow</span></font> ; <br>
<font color=red><span style='color:red'>useradd -g captive -d /var/lib/captive
captive </span></font>; <br>
<font color=red><span style='color:red'>mount -t captive-ntfs /dev/hda1 /c ; </span></font>#Don't
mount captive-ntfs on /mnt/hdxx <br>
============================ <br>
<br>
<b><span style='font-weight:bold'>Captive-ntfs uses native NT-like Windows
drivers, but <font color=red><span style='color:red'>does not work </span></font>with
drivers from winxp <font color=red><span style='color:red'>sp2 </span></font>,
win2003 Server and win2k. So, save cdfs.sys fastfat.sys ntfs.sys ntoskrnl.exe
from winxp sp1, and run above script as e.g., : <font color=red><span
style='color:red'>cptv /... </span></font>~where to look for saved drivers, or <font
color=red><span style='color:red'>cptv /mnt/hda1/windows/system32 </span></font>~only
sp1, if ntfs is mounted on /mnt/hda1. <br>
</span></b><br>
If you already upgraded to winxp sp2, copy files from sp1 installation cd i386/
NTFS.SYS and CDFS.SY_ FASTFAT.SY_ NTOSKRNL.EX_ and unpack the last three, e.g.,
using winRAR, winZIP, or in Linux, e.g., <font color=red><span
style='color:red'>cabextract CDFS.SY_ </span></font>and copy they to /var/lib/captive
. <br>
<br>
Don<font face="Arial Unicode MS"><span style='font-family:"Arial Unicode MS"'>�</span></font>t
move a big amount of data, <font color=red><span style='color:red'>mainly big
number of files </span></font>, without correct ntfs umounting. Changes on ntfs
partition will be saved <b><font color=red><span style='color:red;font-weight:
bold'>ONLY </span></font></b>when: <font color=red><span style='color:red'>ALWAYS
</span></font>correctly run <font color=red><span style='color:red'>umount /c </span></font>after
moving enough files or before system resetting. This script works with
Knoppix3.7-3.4, but captive-ntfs was removed from Knoppix3.8. So, boot
Knoppix3.7 cd with my profile and knoppix.sh if you need to write to ntfs. <br>
<br>
Next frequently asked question is with what OS captive-ntfs works? Captive-ntfs
does not work with any OS; it works with ntfs file system. E.g., testing
evaluation copies I simultaneously installed (in different folders: c:\winxp
c:\win2k c:\win3s) and alternatively run from the same ntfs partition win2k
Server, winxp, and win2003 Server. So, captive-ntfs can read/write to any these
OS as they use the same ntfs (I'm not sure about winNT file system).</p>
<p class=MsoNormal><font size=3 color=blue face="Microsoft Sans Serif"><span
style='font-size:12.0pt;font-family:"Microsoft Sans Serif";color:blue'> </span></font></p>
<p class=MsoNormal><font size=3 color=blue face="Microsoft Sans Serif"><span
style='font-size:12.0pt;font-family:"Microsoft Sans Serif";color:blue'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
cinlug-bounces@lists.cinlug.org [mailto:cinlug-bounces@lists.cinlug.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Chris Livesay<br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Monday, April
03, 2006</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>10:29 AM</span></font><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br>
<b><span style='font-weight:bold'>To:</span></b> cinlug@lists.cinlug.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: Customizing Linux
boot cd with with ntfs support</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Everything
I hear seems to be iffy. Some people say that at times you can hose the ntfs fs
by writing to it. I would definitely image any partition or HD I was going to
do this to, for safety's sake.<br>
<br>
Chris</span></font></p>
<div>
<p class=MsoNormal style='margin-left:.5in'><span class=gmailquote><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>On </span></font></span><span class=gmailquote>4/3/06</span><span class=gmailquote>, <b><span style='font-weight:
bold'>Michael Schultheiss</span></b> <<a href="mailto:schultmc@cinlug.org">schultmc@cinlug.org</a>>
wrote:</span></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Matt Beal wrote:<br>
><br>
> Hi list<br>
><br>
> I'm looking to create a bootable cd which should write to NTFS partition<br>
> to install an x.exe install. Sounds deviant, eh? Actually,
I just to<br>
> copy a Win script to the Windows Startup group which gives the <br>
> (extremely limited account) user choices of print drivers to load.<br>
<br>
I'm not sure how well NTFS write works in Linux (I haven't tried it in<br>
quite a while). KNOPPIX include Captive NTFS which supposedly loads
the <br>
NT/2k/XP ntfs.sys driver and uses that for writing, but I never got that<br>
to work. As I understand it, Captive NTFS is no longer maintained
but<br>
there are other NTFS write options.</span></font></p>
</div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
</div>
</body>
</html>