[nmglug] cloning HD

BrianO'Keefe okeefe at cybermesa.com
Sat Jan 8 09:28:08 PST 2011


Could also use gparted to get the names of the drives

On 01/08/2011 04:21 AM, Eric Krieger wrote:
> Drop to the cli and run...
>
> grep sd /var/log/messages
>
> ...this should display disk info for your system.  If you just
> attached the drive it should towards the bottom.
>
>
> Thanks,
>
> - Eric
>
>
>
>
> On Sat, Jan 8, 2011 at 3:43 AM, a<a at kaluta.us>  wrote:
>> 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
>>
>> _______________________________________________
>> 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