using dd to backup entire hard drive

mazdaracer plug-discuss@lists.plug.phoenix.az.us
Fri, 31 Jan 2003 09:22:52 -0800


Can that be used over a local network? From the discussion, I'm assuming 
not and the drives need to be local.
pete


Craig White wrote:
> As a follow up, being the impatient person that I am, I just went ahead
> and did it.
> 
> dd if=/dev/hda of=/dev/hdd bs=512
> 
> and it worked fine (target drive was slave on secondary controller,
> hence /dev/hdd
> 
> copied everything but left the extra space on the target drive
> unpartitioned and obviously parted would have to be used to move and/or
> resize partitions.
> 
> Craig
> 
> On Thu, 2003-01-30 at 17:43, Alan Dayley wrote:
> 
>>Craig asked the original question but I am going to jump in with my twist.  I think it still fits Craigs situation.
>>
>>I want to upgrade a 10GB hard drive with Win98 and Linux partitions (dual boot) to a much larger drive.  I would like to use dd to copy all the current drive contents to the larger drive, boot the larger drive and then place partitions, etc. on the unused space.  Will that work?
>>
>>Alan
>>
>>-------Original Message-------
>>From: technomage <technomage-hawke@cox.net>
>>Sent: 01/30/03 03:36 PM
>>To: plug-discuss@lists.plug.phoenix.az.us
>>Subject: Re: using dd to backup entire hard drive
>>
>>
>>>-----BEGIN PGP SIGNED MESSAGE-----
>>
>>Hash: SHA1
>>
>>I've done this in a way.
>>
>>firstly, both HD's have to be of siliar size.
>>
>>then you just have to do this:
>>
>>dd if=/dev/hdx of=/dev/hdx(2)
>>
>>its a direct copy. I've done it with a couple of 10 GB monsters a while
>>ago 
>>(3 or 4 partitions). everything gets copied and the new drive even booted.
>>
>>
>>Technomage
>>
>>---------------------------------------------------
>>PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
>>To subscribe, unsubscribe, or to change  you mail settings:
>>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 
> 
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>