<br><br><div><span class="gmail_quote">On 9/1/05, <b class="gmail_sendername">Michael Skowvron</b> &lt;<a href="mailto:michaels@penguincentral.org">michaels@penguincentral.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Chris Romano wrote:<br>&gt; Say that I want to use Knoppix and use the network, what is the best way<br>&gt; to copy the data over?&nbsp;&nbsp;I have never did anything like this before.<br>&gt; Would I have to partition the disk and format it first with Knoppix?
<br><br>Correct.<br><br>1. Bring the system up on Knoppix and partition the system disk to<br>match the source system.<br><br>2. Make filesystems and mount the partitions. I usually use something<br>&nbsp;&nbsp;&nbsp;&nbsp;like /d2, so I end up with:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/ is /d2<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/var is /d2/var<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/home is /d2/home<br><br>&nbsp;&nbsp;&nbsp;&nbsp; etc...<br><br>3. Ensure that networking is up. If I recall, you'll configure this<br>&nbsp;&nbsp;&nbsp;&nbsp;during the Knoppix boot.<br><br>4. Move your data across using ssh
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;target # cd /d2<br>&nbsp;&nbsp;&nbsp;&nbsp;target # ssh root@source &quot;cd / ; tar cBlf - .&quot; | tar xBf -<br>&nbsp;&nbsp;&nbsp;&nbsp;target # cd /d2/var<br>&nbsp;&nbsp;&nbsp;&nbsp;target # ssh root@source &quot;cd /var ; tar cBlf - .&quot; | tar xBf -<br><br>&nbsp;&nbsp;&nbsp;&nbsp;-B is required to block the data correctly across the net
<br>&nbsp;&nbsp;&nbsp;&nbsp;-l prevents tar from crossing into another mount point<br><br>5. After populating the system drive, configure the boot loader, by<br>&nbsp;&nbsp;&nbsp;&nbsp;chroot-ing into the root filesystem and running the appropriate<br>&nbsp;&nbsp;&nbsp;&nbsp;command
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;target # chroot /d2<br>&nbsp;&nbsp;&nbsp;&nbsp;target # lilo<br>&nbsp;&nbsp;&nbsp;&nbsp;tarxet # exit<br><br>6. Reboot!<br><br>Some folks might be concerned about copying a live filesystem and it's<br>true that there is a small chance for a file to change during the
<br>copy. Most likely, it's just going to be a log file and will not be an<br>issue.<br><br>I always use xfsdump to move my data because, by design, it is safe<br>for dumping live filesystems. If you're using xfs filesystems, I
<br>highly recommend xfsdump/xfsrestore over tar.</blockquote><div><br>
<br>
I am using <font size="-1">reiserfs.&nbsp; My partitions are very
simple for these machines.&nbsp; I just have a swap and &quot;/&quot;
partition.&nbsp; I normally break out &quot;home&quot; and &quot;var&quot;, but these are
only going to be proxy servers and nothing else .. well they will have
some firewall rules and they will NAT so I guess they are just proxies.<br>
<br>
I will give those a try.<br>
<br>
Thanks,<br>
Chris<br>
</font> </div><br></div><br>