Code Monkey home page Code Monkey logo

edge-device-image-builder-public-preview's Introduction

Edge Device Image Builder

Welcome to the home of Edge Device Image Builder, an imaging solution for Windows IoT Enterprise device builders and OEMs to adopt, build, and bring-to-market secured and configured edge devices.

Try out our latest Public Preview Build Today: https://aka.ms/EDIBPublicPreviewRelease

Getting Started

Issues

Issues can be filed in the issues section of this GitHub.

If you require additional assistance, we strongly suggest that you reach out to your Windows IoT Distributor as they can help assist in providing necessary materials.

Feature requests

Feature requests can be filed in our GitHub Isssues page.

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct.

Resources:

edge-device-image-builder-public-preview's People

Contributors

microsoftopensource avatar rsameser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

edge-device-image-builder-public-preview's Issues

Missing Mountain Time Zone [BUG]

Time Zone for Mountain Time (UTC -07:00) is not present in the drop down when selecting the locale information about the image build
image

This issue appears on EDIB v0.3.3 public preview, running on Windows 11 21H2 22000.675

Build Image: wim:error clearing Windows corrupt mount point - no free memory resources?

I am encountering problems during the build process in EDIB. While all configurations and drivers are successfully installed during the build process, an error occurs at the end of the build process when the WIM image is unmounted by the EDIB. Due to this all changes (configurations and drivers) are discarded...

EDIB Log:
wim: Updating ISO....
wim: error clearing Windows corrupt mount point: no image has been mounted
wim: Deleting build directory...

For a detailed error analysis, I have also looked at the dism.log file. This logfile contains several error messages that may be related to the issue:
......
DISM FFU Provider Failed to load the provider: SiloedPackageProvider.dll
......
[0x80070005] GetVolumeRootFromPath:(540): Access is denied.
.....
[0x8007000e] StateStoreGetMountedImageWimbootEntriies:(1285): Not enough memory resources are available to complete this operation
......

I primarily focused on the error message related to memory resources, but despite significantly increasing the RAM, I still couldn't resolve the issue. Therefore, I request suggestions for a solution. Thank you.

How to configure the WinPE environment in EDIB build 10?

In previous EDIB builds, the CustomPayload feature allowed you to create a script for "Target - WinPE - Configuration". It was previously used to pull in critical drivers into the WinPE environment, set testsigning for WinPE, and enable kernel debugging in WinPE.

Now it just says you have to specify a folder.

Firstly, it's unclear how to specify a folder, since you're given a textbox and not a filepicker UI.

Secondly, what script does it look for in the folder? Is it looking for a file named "config-winpe.bat"?

Cannot Create Deployment Media

Clicking the "Create Media" button on the Deploy -> Create Deployment Media section does nothing. I've tried selecting "USB Removable Drive" and "Create ISO", but neither one seems to work.

Windows Update Policy Auto-Restart: Checkbox Logic

Confusing logic around the Turn off auto-restart for updates during active hours section. When the Turn Off (disable) Auto-Restart check box is enabled, the Active Hours text boxes become inactive and do not apply any longer as the Auto-Restart will not occur. If I am understanding this correctly, when the checkbox is unchecked, the Active Hours text boxes should now be enabled to control when the enabled auto-restart will happen.

image

image

Building Image Never Completes

I am running the latest Edge Device Image Builder 2.2.0. I click on "Build" and wait for "Building the image, please wait ...". It has been running for hours and still has not completed.

Here are my questions:

  • How long is this tool expected to run before creating an image or giving me some kind of output?
  • How do I get details about what it is doing?

EdgeDeviceImageBuilder_BuldingImage_NeverCompletes

I have also attached the project file and logs for analysis.

Proj1.json

Proj1.json

ActionLogs.json

ActionLogs.json

Logs.log

Logs.log

Image won't deploy on Surface Go 4 works on Surface Go 3

When building the image for W10LTSC 2021 and deploying it to the Surface Go 4 (SG4) we get an error

The volume size is too small.
We noticed that the Surface Go 4 has a efi partition of 260 not 100.
If we modify the Diskpart-Section-2.txt file on the deployment image and change the
create partition efi size=100 to 260

The deployment proceeds. and then a BSOD with inaccessible boot device is displayed.

The same image works fine when deployed to a Surface GO 3 without changing the efi partition size.

Build error when VC ++ redistributables are added in tool as part of prerequisites

==> hyperv-iso: Installing provisioning package...
==> hyperv-iso: Install-ProvisioningPackage : Process 'C:\Windows\System32\provtool.exe' with args
==> hyperv-iso: '"e:\ppkg\win32driver-vcredist_x64.ppkg" /quiet /source PSCmdlet' took longer than '180000' milli-sec
==> hyperv-iso: At line:1 char:1
==> hyperv-iso: + Install-ProvisioningPackage -PackagePath e:\ppkg\win32driver-vcredist ...
==> hyperv-iso: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==> hyperv-iso: + CategoryInfo : NotSpecified: (:) [Install-ProvisioningPackage], CmdletException
==> hyperv-iso: + FullyQualifiedErrorId : -2146233088 (80131500),Microsoft.Windows.Provisioning.ProvUtils.Commands.InstallProvisio
==> hyperv-iso: ningPackage
==> hyperv-iso:
==> hyperv-iso: Provisioning step had errors: Running the cleanup provisioner, if present...
==> hyperv-iso: Clean up secondary dvd drives...
==> hyperv-iso: Clean up os dvd drive...
==> hyperv-iso: Unregistering and deleting virtual machine...
==> hyperv-iso: Deleting output directory...
==> hyperv-iso: Deleting build directory...
Build 'hyperv-iso' errored after 10 minutes 2 seconds: Installation of provisioning package failed: 1
==> Wait completed after 10 minutes 2 seconds
==> Some builds didn't complete successfully and had errors:
--> hyperv-iso: Installation of provisioning package failed: 1
==> Builds finished but no artifacts were created.
[ImageBuilder]: Error occurred:
STACKTRACE: at Microsoft.ImageBuilder.Common.ExternalProcess.WaitForExit()
at Microsoft.ImageBuilder.API.ImageBuilder.RunPacker(String template, String errorBehavior)
at Microsoft.ImageBuilder.API.ImageBuilder.<>c__DisplayClass13_0.b__2()
at Microsoft.ImageBuilder.API.ImageActionBase.RunStagedStep(Action action, Stage stage)
at Microsoft.ImageBuilder.API.ImageActionBase.RunStagedStep(Action action, Stage stage, CancellationTokenSource cancelSrc)
at Microsoft.ImageBuilder.API.ImageBuilder.Build(ImageConfiguration imageConfig, TargetImage targetImage, String uiVersion, String sessionID)
EXCEPTION:
C:\temp\win\2022-08-17T10_10_53.852+05_30\Build\packer.exe failed with exit code=1.

Build fails when we add updates to be included as part from building image

PowerShell error: Add-WindowsPackage : An error occurred applying the Unattend.xml file from the .msu package.

==> Some builds didn't complete successfully and had errors:
--> wim: error installing LCU C:/Users/chands50/Downloads/Updates/windows10.0-kb5008876-x64-ndp48_5a565d73e211e26a8bb51bc19a7689ac01eb4cad.msu: PowerShell error: Add-WindowsPackage : An error occurred applying the Unattend.xml file from the .msu package.
For more information, review the log file.
At C:\Users\chands50\AppData\Local\Temp\powershell305426536.ps1:1 char:1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.