Skip to content

api/drivers/rebuild: boot.wim not found #94

Description

@rgl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions