Thanks, but without skip=1 dd will copy partition table and mbr too (first block 521b). So it may damage my partition table on second machine. I'm I wrong ?
On Fri, Nov 4, 2011 at 6:25 PM, Marc Smith <marc_sm...@gmx.com> wrote: > 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