Can't restore image, exit code 1. Missing partition number.
- FOG Version: 1.3.4 revision 6064
- OS: 14.04.5
- Service Version:
- OS: Windows 10
I created Windows 10 image from scratch using 250GB HDD and selected Single Disk - Resizable when uploading this image. I was able to restore it using 250HDD or large. Whenever I restore it to a 160GB HDD, I will get “Target partition size (336MB) is smaller than source (349MB). Use option -C to disable size checking (Dangerous)” and “Image failed to restore and exited with exit code 1 (writeImage).” I’ve checked d1.fixed_size_partitions file; partition number seems to be missing. After adding “1” in that file and I was able to restore the image to a 160GB HDD. Is there a quick fix for this or should I wait until the next official release? Thank you.
Thanks @Tom-Elliott I pulled/update using git but still does not work. I got same error as before.
Sorry I took so long to respond, please re-pull and rerun the installer. I think I finally got it (with any luck at least).
Thanks @Tom-Elliott for your prompt response.
I upgraded my test server to 1.3.5RC5 using git method. Same issue. Partition number is still missing.
@TaTa, that currently IS the fix. You can try the 1.3.5-RC-1 release to see if uploading properly generates the fixed size partitions.
The problem, as it stands, is trying to figure out the lesser of two evils.
Either I can implicitly define the first partition as fixed always or try to have it auto detect. The code base has been updated to try to correct this behaviour but I don’t have any images with strange partition layouts that i could try.