<br><br><div class="gmail_quote">On Jan 18, 2008 3:01 PM, Daniel B. Thurman <<a href="mailto:dant@cdkkt.com">dant@cdkkt.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br></div><div class="Ih2E3d">> > More importantly, what is the proper procedure in making a<br>> copy of your<br>> > existing root filesystem onto a new drive partition?<br><br></div></blockquote>
</div><br>Cloning a disk or partition.<br><br>What I've done in days past:<br>1. Attach the new drive as slave<br>2. Partition the new slave drive. Make the partitions slightly bigger than the ones from the old drive<br>
3. fsck the new partitions just in case.<br>4. Take note of the device names on both drives<br>       master drive root partition /dev/sda1... etc.<br>       slave drive root partition /dev/sdb1... etc.<br>5. Boot with knoppix or your favorite boot CD.
<br>6. clone with<br>      > dd if=/dev/sda1 of=/dev/sdb1<br>and you get an exact copy of your partition.<br>change the device name for all partitions you wish to clone.<br><br>~af<br><br>