Hi!<div><br></div><div>I think "dd"-command does that. Google search returned this example (<a href="http://en.wikipedia.org/wiki/Dd_(Unix)">http://en.wikipedia.org/wiki/Dd_(Unix)</a>)</div><div><br></div><div>"<span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; ">Using dd to duplicate one hard disk partition to another hard disk:</span><span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; "><pre style="font-family: monospace, sans-serif !important; padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(47, 111, 171); border-right-color: rgb(47, 111, 171); border-bottom-color: rgb(47, 111, 171); border-left-color: rgb(47, 111, 171); color: black; background-color: rgb(249, 249, 249); line-height: 1.1em; ">

<code style="font-family: monospace, sans-serif; background-color: rgb(249, 249, 249); ">dd if=/dev/sda2 of=/dev/sdb2 bs=4096 conv=noerror</code></pre></span><div><br></div><div>- Jukka</div><br><div class="gmail_quote">
On Mon, Jul 26, 2010 at 08:08, Timothy Butler <span dir="ltr"><<a href="mailto:tbutler@ofb.biz">tbutler@ofb.biz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi everyone,<br>
        I'm wondering if anyone could offer some advice on cloning a disk? I want to take a 250 GB ext3 hard disk full of data (and the Linux system and boot files, too) and clone its data onto a 500 GB disk. I've done this on the Mac in Disk Utility, and if I tell it to put the contents of a certain partition onto a larger partition, that works just fine.<br>


<br>
        Would the same be true in Linux? Any pointers?<br>
<br>
        Typically, I've done a fresh install when moving a Linux install to a different drive. I guess I could copy the partitions to the new drive while keeping them the exact same size and then resize them afterwards, but that sounds less efficient.<br>


<br>
        Thoughts?<br>
<br>
        Thanks,<br>
                Tim<br>
<br>
<br>
_______________________________________________<br>
ChristianSource FSLUG mailing list<br>
<a href="mailto:Christiansource@ofb.biz">Christiansource@ofb.biz</a><br>
<a href="http://cs.uninetsolutions.com" target="_blank">http://cs.uninetsolutions.com</a><br>
</blockquote></div><br></div>