[Wolves] dd usage?
Chris Ellis
chris at intrbiz.com
Wed Jun 4 15:06:42 UTC 2014
Hi
On Wed, Jun 4, 2014 at 3:59 PM, Kevanf1 <kevanf1 at gmail.com> wrote:
> I would like to clone a system (Fedora 20 if it upgrades successfully
> from 19) and put the lot onto a larger hdd. I think the command I
> want is
>
> dd if=sda1 of=sdb1
>
> <snip>
>
> --
> ==============================================
>
> Kevan
>
You have the basics correct:
if = input file
of = output file
Usually, it is worth setting the block size (bs), this can speed things up
(or slow things down).
If your going to mirror the whole drive, your should use:
dd if=/dev/sda of=/dev/sdb
That would mirror the partition table, MBR, etc as well
I tend to use, for this kind of thing:
dd if=/dev/sda of=/dev/sdb bs=1m
Then you can grow the partition using what ever tool you like.
Regards,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/wolves/attachments/20140604/9dd5411d/attachment.html>
More information about the Wolves
mailing list