Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install drivers #390

Open
SteveO-Silicon opened this issue Mar 12, 2024 · 4 comments
Open

Unable to install drivers #390

SteveO-Silicon opened this issue Mar 12, 2024 · 4 comments

Comments

@SteveO-Silicon
Copy link

We've been building a variety of windows server images (2016, 2019, 2022) for the past couple of years, but suddenly running into issues when it comes to injecting the drivers.

2016 builds fine, but 2019 and 2022 have started failing with the errors below.

We've tried various versions of virtio-win all downloaded from here: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads

virtio-win-0.1.190.iso
virtio-win-0.1.229.iso
virtio-win-0.1.240.iso
virtio-win-0.1.248.iso

relevant configuration:
[drivers]

The path to the ISO file containing the VirtIO drivers.

virtio_iso_path=e:\catalyst\drivers\virtio-win-0.1.248.iso

The location where the VirtIO drivers are found.

For example, the location of a mounted VirtIO ISO. VirtIO versions supported >=0.1.6.x

virtio_base_path=""

The location where additional drivers that are needed for the image are located.

drivers_path=""

Deployment Image Servicing and Management tool
Version: 10.0.19041.3636

Applying image
[==========================100.0%==========================]
The operation completed successfully.
13/03/2024 9:47:12 AM - Create BCDBoot Config for Windows Server 2022 SERVERSTANDARD
13/03/2024 9:47:15 AM - Resetting BCD boot border
The operation completed successfully.
The operation completed successfully.
The operation completed successfully.
13/03/2024 9:47:16 AM - BCDBoot config has been created.
13/03/2024 9:47:16 AM - Adding Virtual IO Drivers from ISO: e:\catalyst\drivers\virtio-win-0.1.248.iso...
13/03/2024 9:47:16 AM - Using backed up ISO for safe dismount.
13/03/2024 9:47:19 AM - Adding drivers from G:
13/03/2024 9:47:19 AM - Adding Virtual IO Drivers: G:...
13/03/2024 9:47:19 AM - Getting Virtual IO Drivers: G:...
13/03/2024 9:47:19 AM - Finished to get IO Drivers.
13/03/2024 9:47:19 AM - Adding drivers from "G:\balloon\2k19\AMD64" to image "F:"
WARNING: Dism failed to add drivers from: G:\balloon\2k19\AMD64
WARNING: Dism failed to add drivers from: G:\balloon\2k19\AMD64
WARNING: Dism failed to add drivers from: G:\balloon\2k19\AMD64
13/03/2024 9:47:24 AM - Dism failed to add drivers from: G:\balloon\2k19\AMD64
Dism failed to add drivers from: G:\balloon\2k19\AMD64
At E:\catalyst\windows-openstack-imaging-tools\WinImageBuilder.psm1:641 char:13

  •         throw "Dism failed to add drivers from: $driversPath"
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (Dism failed to ...loon\2k19\AMD64:String) [], RuntimeException
    • FullyQualifiedErrorId : Dism failed to add drivers from: G:\balloon\2k19\AMD64
@ader1990
Copy link
Member

Hello, sometimes it is worth to try a full Windows update on the host and a reboot.

Can you please provide the host OS version, to try to reproduce this problem?

Thank you,
Adrian.

@SteveO-Silicon
Copy link
Author

SteveO-Silicon commented Mar 15, 2024

Win 10 22H2 is the build machine, fully updated except for KB5034441 which has known issues.
No change after applying updates and restarting unfortunately, trying multiple versions of the iso.

@ader1990
Copy link
Member

Hello @SteveO-Silicon, I could not reproduce the issues you are seeing on none of our environments. Have you found a workaround or a fix to your issue?

Thank you.

@SteveO-Silicon
Copy link
Author

SteveO-Silicon commented May 20, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants