| | 12 | There The image hierarchy is not broken. I checked that the output of `VBoxManage showhdinfo` and `detail vdisk` matches for each vhd file. |
| | 13 | |
| | 14 | To compare the contents of the block devices I calculate md5sum of each 1Mb chunk using cygwin and put it into a text file, then compare the text files: |
| | 15 | |
| | 16 | {{{ |
| | 17 | # on host |
| | 18 | </dev/sdd split -b $((1024*1024)) --filter=md5sum >sums-host.txt |
| | 19 | |
| | 20 | # on guest |
| | 21 | </dev/sdb split -b $((1024*1024)) --filter=md5sum >sums-guest.txt |
| | 22 | }}} |
| | 23 | |
| | 24 | After repeaded attach/detach vdisk and guest boots I can tell that OS does not write to the disk (because I used the diskpart command `att vol set readonly`). Each incarnation of sums-host or sums-guest does not differ from the previous one, but there's about 2000 different lines between sums-host and sums-guest |