Re: Issue writing image to disk via dd
what about a binary diff on those two written images.
i guess the difference should be at the beginning / end of the device.
just diff their hex value instead of a real binary diff.
try
$ dd if=/dev/sda bs=1024 count=1 | hexdump -x > outfile
or
$ dd if=/dev/sda bs=1024 skip=30719 count=1 | hexdump -x > outfile
(31457280=1024*30720)
diff those outfiles and hopefully we can see what's happenning with
different dd builds.
Cheers,
Tao
--
http://huangtao.me/
School of Mathematical Sciences
Peking University
Reply to: