I used a live USB Linux system to create images of Windows Installations (Win 8 and 10) on hard drives like this:
dd if=/dev/sdb bs=64k conv=noerror, sync | gzip -c > /dev/sdc1/win.img.gz
However, when I try to restore them (on the same machines the images are from) like this:
gunzip -c win.img.gz | dd of=/dev/sdb
they don't boot.
Is it possible I should have backed up some sort of metadata of the filesystems? Or partition tables? I thought dd created bitwise exact copies of everything on the hard drives so that wouldn't be needed.