[nmglug] cloning HD

a a at kaluta.us
Sat Jan 8 02:43:35 PST 2011


I have an external usb connected hard drive. Will that drive be detected
as /dev/sdb and proceed cloning forthwith as : dd if=/dev/sda
of=/dev/sdb bs=1M conv=notrunc,noerror.

anthony


On Mon, 2011-01-03 at 15:31 -0700, BrianO'Keefe 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