<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Hi<br><br>On Wed, Jun 4, 2014 at 3:59 PM, Kevanf1 <span dir="ltr"><<a href="mailto:kevanf1@gmail.com" target="_blank">kevanf1@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>I would like to clone a system (Fedora 20 if it upgrades successfully<br>
from 19) and put the lot onto a larger hdd.  I think the command I<br>
want is<br>
<br>
dd if=sda1 of=sdb1<br>
<br></div>
<snip><br><div>
<br>
--<br>
==============================================<br>
<br>
Kevan<br>
</div></blockquote></div><br></div><div class="gmail_extra">You have the basics correct:<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">if = input file<br></div><div class="gmail_extra">of = output file<br>
<br></div><div class="gmail_extra">Usually, it is worth setting the block size (bs), this can speed things up <br></div><div class="gmail_extra">(or slow things down).<br><br></div><div class="gmail_extra">If your going to mirror the whole drive, your should use:<br>
<br></div><div class="gmail_extra">dd if=/dev/sda of=/dev/sdb<br><br></div><div class="gmail_extra">That would mirror the partition table, MBR, etc as well<br><br></div><div class="gmail_extra">I tend to use, for this kind of thing:<br>
<br></div><div class="gmail_extra">dd if=/dev/sda of=/dev/sdb bs=1m<br><br></div><div class="gmail_extra">Then you can grow the partition using what ever tool you like.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">
Regards,<br></div><div class="gmail_extra">Chris<br></div></div>