Okay so I’ve done the following debugging so far… The image that I created was called CentOS7-MBR, as it’s a MBR not a GPT installation. After letting the system boot via pxe and get to a fogclient prompt I referenced the URL:
Now unfortunately I’m dumping a linux image via partclone not a windows 7 image but I thought the process would be similar.
# dd if=d1.mbr of=/dev/sda bs=512 count=1
1+0 records in
1+0 records out
512 bytes copied, 0.0256039 s, 20.0 kB/s
# partprobe
# cat d1p1.img |pigz -d -c |partclone.restore -O /dev/sda1 -N -f -i
Partclone fail, please check /var/log/partclone.log !
# ls -ld /dev/sd*
brw-rw---- 1 root disk 8, 0 Feb 27 16:06 /dev/sda
brw-rw---- 1 root disk 8, 1 Feb 27 16:07 /dev/sda1
brw-rw---- 1 root disk 8, 2 Feb 27 16:06 /dev/sda2
brw-rw---- 1 root disk 8, 3 Feb 27 16:06 /dev/sda3
brw-rw---- 1 root disk 8, 4 Feb 27 16:06 /dev/sda4
So… not sure how to proceed. When I looked into the partclone log file it wasn’t much help:
# cat /var/log/partclone.log
Partclone v0.3.13 http://partclone.org
Starting to restore image (-) to device (/dev/sda1)
read image_hdr error=0
Any advice…