This issue is caused by disk partitioning and formatting tasks that do not correctly match the deployment, either the drive letter being deployed does not exist or the partition being created is not large enough for the image.
If you are seeing this error when deploying a UEFI image on version 4.x of the KACE Systems Deployment Appliance, please see this article.
1. Find out what partitions are captured. You can verify what partitions are captured by:
* You can find the Image ID of an image by navigating to it's Image Detail page in the web interface, the number at the end of your internet browser's address bar is the Image ID
2. Ensure that the partitions being captured are also being created and formatted successfully with your image's preinstallation DISKPART and Format tasks
3. Verify that the partitions are created with the correct partition size for your image
a. If available, you can use the Image File browser on the Image Detail page to see if any additional data is stored on the Boot partition.
Sometimes there is a large wim file, winre environment, etc that causes a boot partition to need more space than the normal 200mb boot partition size
Example Scenario - The Windows partition (D: drive) was captured but the Boot partition (C: drive) was not captured.
Note: whatever drive letter the partition was captured from KBE is the same letter it must be deployed to, e.g. if it was captured from D:, then the image must be deployed back to D:
1. Proper preinstall tasks for diskpart and format must be used to create a single partition deployment, but with the D: drive letter instead of the normal C: drive letter:
a. In the web interface, navigate to Library | Pre-installation Tasks | Choose Action... | Add DISKPART script
Name the task Create single D: partition and enter the below in the DISKPART Script field:
select volume 0
remove all noerr
select disk 0
create partition primary
select partition 1
b. In the web interface, navigate to Library | Pre-installation Tasks | Choose Action... | Add BAT script
Name the task Format and MBR D: partition and enter the below in the BAT script field:
format /q /y /fs:ntfs d:
bootsect /nt60 d:
2. If the boot files are on the same partition as Windows, that's all that needs to be done. In this scenario, however, the boot files were on the uncaptured C: partition, so we'll need to install the boot files on the Windows partition with a mid-level postinstall task.
a. In the web interface, navigate to Library | Post-installation Tasks | Choose Action... | Add BAT script
Name the task Recreate Boot Files (BIOS), set the Runtime Environment value to SDA Boot Environment (Windows), and enter the below in the BAT script field:
bcdboot d:\windows /s d: