dd if=/dev/wd0a of=root.img bs=32m [or compress it using: dd 
if=/dev/wd0a bs=32m | gzip > root.img.gz]

and

dd if=root.img of=/dev/wd0a bs=32m [decompression: gzip -d -c 
root.img.gz | dd of=/dev/wd0a bs=32m]

And yes, you can ommit additional values.

Dnia piD, 4 lis 2011, 17:43:28 Bambero pisze:
> Hello
>
> I want to copy my root partition to another with dd without ssh. Is
> this correct:
>
> 1. On first machine:
> dd if=/dev/rwd0a of=root.img bs=16b skip=1 conv=noerror
>
> 2. On second machine:
> dd if=root.img of=/dev/rwd0a bs=16b seek=1
>
> May/should I ommit seek, skip, conv, bs  parameters ?
>
> Regards,
> Bambero

Reply via email to