[nmglug] cloning HD
Eric Krieger
grammatoncleric at ubuntu.com
Mon Jan 3 14:35:47 PST 2011
Yes, Nick's is the better command as it will not stop the dd process
of cloning the old hard drive if read errors are encountered.
- Eric
On Mon, Jan 3, 2011 at 3:31 PM, BrianO'Keefe <okeefe at cybermesa.com> wrote:
> Yes, I have a 2.5" USB enclosure. I'll boot from a live cd and then I have
> run this (for IDE drive):
>
> dd if=/dev/hda of=/dev/hdb bs=32768
>
> I'd change the "h" to "s". Is Nick's the better command?
>
> Muchas gracias all....
>
> On 01/03/2011 02:20 PM, Nick Frost wrote:
>
> On Jan 3, 2011, at 1:59 PM, Eric Krieger wrote:
>
> How are you cloning the drive? Are you connecting the new drive to
> the system via some sort of usb or firewire enclosure? Running...
>
> dd if=/dev/sda of=/dev/sdb
>
> Will copy all partitions from sda to sdb and just expand sda1 on the
> new drive once it's finished. Granted it's not the fastest method but
> it works.
>
> The above works well, but I've had slightly better results with;
>
> dd if=/dev/sda of=/dev/sdb bs=1M conv=notrunc,noerror
>
> - Nick
> ---------------------------------------
> Nicholas S. Frost
> 7 Avenida Vista Grande #325
> Santa Fe, NM 87508
> nickf at frostitute.com
> ----------------------------------------
>
>
> _______________________________________________
> nmglug mailing list
> nmglug at lists.nmglug.org
> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
>
> _______________________________________________
> nmglug mailing list
> nmglug at lists.nmglug.org
> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
>
>
More information about the nmglug
mailing list