On Sat, Nov 10, 2007 at 06:38:38PM +0200, 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.
FAQ#10.2. use dump(8) and restore(8). Or tar(1) I've never needed to. Doug.

