On 18:38:38 Nov 10, Lars Nood??n wrote:
> I had a hard drive die and used the chance to move to 4.2.  Since the
> 'new' machine is of the same vintage as the one it replaced, I expect it
> to start grinding to a halt soon, too.
> 
> Is there a way to copy one entire hard drive, partition table and all,
> to another -- in one line?
> 
> I tried something like this one but it seems to work only for specific
> partitions:
>       ssh target_address dd if=remotefile | dd of=localfile
> 
> I'd like to just steamroll over the previous partitions.

There are much more qualified folks out there but if I were you I would
simple do a dump(8) and a restore(8) of each of the partitions.

dd(1) can do it too but it might be far more messy and need more
experimentation.

I am talking thro' the hat here but the advantage with dump(8) and
restore(8) is it might be much faster and understands FFS quite well
unlike the raw dd command.

Thanks.

regards,
Girish

Reply via email to