[Tfug] right way to clone in linux

Kyle Scofield kyle.scofield at gmail.com
Thu May 19 15:57:24 MST 2011


If the drives are the same size, use dd.

dd if=/dev/source_drive of=/dev/destination_drive

Will do a byte by byte copy of everything, the MBR, partition table, etc.

--Kyle


On Thu, May 19, 2011 at 3:45 PM, Paul Lemmons <paul at lemmons.name> wrote:
> -------- Original Message  --------
> Subject: Re: [Tfug] right way to clone in linux
> From: Zack Williams <zdwzdw at gmail.com>
> To: Tucson Free Unix Group <tfug at tfug.org>
> Date: 05/18/2011 11:19 PM
>
>>> What's the 'right way' to clone a drive?  FreeBSD used dump/restore, I
>>> just tried that on my ubuntu box, and it failed massively...(well, ok,
>>> dump/restore seemed to proceed as per bsd, but the new disk isn't
>>> bootable, so I assume I have to at minimum perform some grub magik, or
>>> something).
>>
>
> I am coming into this thread late so it might have already been offered as
> an option, but have you tried clonezilla? I have heard good things about it.
>
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>




More information about the tfug mailing list