api/drivers/rebuild fails to rebuild the boot.wim:
curl \
--silent \
--show-error \
-X POST \
http://localhost:8081/api/drivers/rebuild \
-H "Authorization: Bearer $bootimus_admin_token" \
--url-query "imageId=$image_id" \
| jq
{
"success": true,
"message": "Boot.wim rebuild started in background. Check logs for progress."
}
The logs show that failed as:
ERROR: Failed to rebuild boot.wim for image 7: boot.wim not found at data/isos/windows-server-2022-amd64/sources/boot.wim
This happens because the path is not correct. The actual boot.wim file path is at:
$ ll data/isos/windows-server-2022-amd64/iso/sources/boot.wim
-rw-r--r-- 1 root root 414017113 jul 12 16:30 data/isos/windows-server-2022-amd64/iso/sources/boot.wim
There's a missing iso/ path segment.
api/drivers/rebuild fails to rebuild the boot.wim:
curl \ --silent \ --show-error \ -X POST \ http://localhost:8081/api/drivers/rebuild \ -H "Authorization: Bearer $bootimus_admin_token" \ --url-query "imageId=$image_id" \ | jq{ "success": true, "message": "Boot.wim rebuild started in background. Check logs for progress." }The logs show that failed as:
This happens because the path is not correct. The actual
boot.wimfile path is at:There's a missing
iso/path segment.