to make sure that you are using dd to raw copy a partition only when the source and destination have equal sizes. Make sure that a valid MBR, valid boot sectors, and valid partition table exists. The boot loader programs from different operating systems have different requirements for a 'valid' partition table format. For example, a partition table with multiple partitions flagged bootable is valid by LILO, but invalid for DOS/Windows.