Well, to me the point of using DD is to save everything in one file: 
filesystem, boot sectors, etc. Otherwise I'd probobly use dump, as 
someone else suggested, or other backup tool. Saving additional info 
[MBR, PBR] is not a problem, you can always restore your system using 
'skip' parameter [skipping MBR info]. That'd make you go

Dnia nie, 6 lis 2011, 18:00:45 Bambero pisze:
> 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 <[email protected]> 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

Reply via email to