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

Windows Drivers getting skipped #3

Open
karanveersingh5623 opened this issue Apr 17, 2020 · 16 comments
Open

Windows Drivers getting skipped #3

karanveersingh5623 opened this issue Apr 17, 2020 · 16 comments

Comments

@karanveersingh5623
Copy link

I am having issue while installing , below screenshot shows the error
rpviewer (2)

@karanveersingh5623
Copy link
Author

Also I can see driver skipping when running powershell script . Attached Powershell output & driver's folder screenshot
GenerateWim
Drivers

@UXabre
Copy link
Owner

UXabre commented Apr 17, 2020

Hi @karanveersingh5623,

The drivers should be in an folder per type. In this case, you'll have to make a "megasas" subfolder under de drivers directory. After this, it should work.

As for your winPE related issue; only drivers added to the finalized/amd64/2016/drivers/.../ folders are included for winPE; that facility is only really used for hot-patching your installation (not winPE). If you run the script each time you want to add drivers to your windows installation, then you can skip that step entirely; but since creating windows images takes some time I've added the functionality in WinPE. Again, note that WinPE does need its drivers up front to work!

I hope this helps you out. I'll see to add some documentation to clearify your issue :-)

@karanveersingh5623
Copy link
Author

Hi @UXabre
Thanks for your prompt reply , I understood the first part and created folder megasas , it got picked up by powershell script . PFA . The problem lies in the other shot I attached , "downloading user data & apply drivers , no .INF files found . What I am missing . Please let me know if you need more info
GenerateWim2
rpviewer (8)

@karanveersingh5623
Copy link
Author

I managed to surpass the error by putting all the drivers whether WINPE 10 or DELL oem in attached screenshots , When I boot into the system to check whether installation has properly completed , it goes to repair . Looks like finish template or script template issue but you can tell better . I am putting the screenshots in a sequence .
GenerateWim3
rpviewer (12)
rpviewer (13)

@karanveersingh5623
Copy link
Author

karanveersingh5623 commented Apr 20, 2020

It looks like a windows driver issue , where i can download and put this iaStorB.sys package in WINMAN repo

@karanveersingh5623
Copy link
Author

or I think winpe drivers in finalized/drivers folders are conflicting with windows server 2016 drivers in source/drivers folder

@karanveersingh5623
Copy link
Author

seems like foreman installation is finished and now OS is failing to boot from the installed OS , where can be the issue , install.wim ?

@UXabre
Copy link
Owner

UXabre commented Apr 20, 2020

Hi @karanveersingh5623,

Regarding driver installation:
You only really need one approach OR the other; meaning, either you include the drivers during the build phase (by putting the drivers in the source directory) OR you include them in the finalized folder. Both isn't really needed and might give issues as you encounter (although I don't think it should cause an issue ...)

Regarding your last comment; is the failure the sames as the BSOD you sent earlier? Or what is the exact error message here?
At least, the BSOD seems to indicate the wrong version of the driver is loaded; perhaps you can include the latest intel storage drivers and see if that solves the issue? You can also include a KB update in the updates folder (I'd recommend only doing this during built phase, not from winPE)

Kind regards!

@karanveersingh5623
Copy link
Author

karanveersingh5623 commented Apr 21, 2020

Hi @UXabre
Thanks for the reply.
The error msg in the screenshot attached , please refer . If you can help in finding the correct driver and update as I tried oems full driver pack and still getting the error , I am using Dell R740xd .

rpviewer (13)

@karanveersingh5623
Copy link
Author

@UXabre
Copy link
Owner

UXabre commented Apr 21, 2020

Hi,

What were your exact steps to resolve this? How did you include the drivers? From what i can tell I'm guessing the 32-bit x86 drivers are probably loaded, try to only include the x64 drivers for instance. You can normally only extract the driver package.

Kr

@karanveersingh5623
Copy link
Author

Hi
Very strange thing is when I not using any driver during the build process using the powershell scripts or in the finalized folders during the installation , this error screen always comes up . Totally exhausted .

@karanveersingh5623
Copy link
Author

I am sure , same screen will come up with windows server 2019 , so i guess its more towards how powershell script is making the required wim files

@karanveersingh5623
Copy link
Author

@UXabre , below are my tftboot folder contents , where is wimboot ? , its showing zero KB , not in finalized folder . Dont we need install.wim ?
wimboot

Below my Finalized folder content
wimboot2

@karanveersingh5623
Copy link
Author

@UXabre , Solved but the issue is with your poweshell script creating Server.wim , its not creating the .wim file properly , so I manually unzipped .iso and put the original install.wim in http share . check the shots . Which ps files I have to check and report the issue ?
rpviewer (19)
rpviewer (20)
rpviewer (21)
rpviewer (22)
rpviewer (23)

@UXabre
Copy link
Owner

UXabre commented May 14, 2020

Hi,

I think it might be worthwhile investigating the following files:
./inc/AddDriversToWIM.ps1
./inc/OptimizeWIM.ps1 <== this one does a component cleanup; so might be our culprit? I would try and disable this functionality and check if the problem resolves
./inc/PrepareInstallWIM.ps1

Also, I've mounted all WIMs in an optimized mode; I don't think that affects the described behaviour though.

Thank you for your investigations and efforts! Unfortunately I can't reproduce that issue :-(

Kind regards,
Arend

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