Okay, I found a solution that works for me, although it is not in a state to use is as a patch. My solution is ONLY for the download task, it does NOT fix the upload task and you have to do some manual steps everytime you create a new image (and only for mps images). I did the following:
Edit fog.download:
204 if [ -f $tmpMBR ]; then
205 if [ “$mbrsize” != “32256” -a “$has_GRUB” != “1” ] && [ “$mbrsize” != “512” ] && [ “$mbrsize” != “2048” ]; then
206 dots “Restoring Partition Tables”;
207 sgdisk -gel $tmpMBR $hd 2>&1 >/dev/null;
208 gptcheck=“yes”;
209 elif [ “$mbrsize” == “32256” -o “$has_GRUB” == “1” ] && [ “$osid” == “50” ]; then
210 dots “Restoring MBR and GRUB”;
211 restoreGRUB “${hd}” “1” “${imagePath}”;
212 if [ -e “${imagePath}/d1.partitions” ]; then
213 echo “Done”;
214 dots “Extended partitions”;
215 sfdisk $hd < ${imagePath}/d1.partitions &>/dev/null;
216 else
217 echo “Done”;
218 dots “No extended partitions”;
219 fi
220 elif [ “$mbrsize” == “2048” ]; then
221 dots “Restoring Lenovo Specific MBR”;
222 dd if=$tmpMBR of=$hd bs=512 count=4 &>/dev/null;
223 echo “Done”;
224 else
225 dots “Restoring MBR”;
226 dd if=$tmpMBR of=$hd bs=512 count=1 &>/dev/null;
227 if [ -e “${imagePath}/d1.partitions” ]; then
228 echo “Done”;
229 dots “Extended partitions”;
230 sfdisk $hd < ${imagePath}/d1.partitions &>/dev/null;
231 else
232 echo “Done”;
233 dots “No extended partitions”;
234 fi
235 fi
Create an image via uploading from master workstation.
Boot master workstation with linux live image.
Backup MBR
dd if=/dev/sdX of=backup.mbr bs=512 count=4
Save backup.mbr in your image folder, name it d1.mbr and set permissions like the original d1.mbr file
After these steps your workstations should boot to windows 7 again after running a deployment task - well, at least mine do.