Jump to content

Recommended Posts

Posted

Ok to explain the setup :

 

* One 2 Bay NAS which is on a 169.254.178.6 ip address

* One 3com gigabit un-managed switch

* Cat5e network cables ( which connect at gigabit as per the lights on the switch )

* WinPE 3.0 bootable memory sticks with all the relevant network card drivers injected as per here How To Mount and Inject Drivers into Windows 7 PE 3.0 | Commodore.ca | Windows

Yet when you logon as local admin onto a few models of Lenovo Desktops we have it shows as having a network card driver from 2009 version 11 for the Marvel Yukon network card ( 7514 and postfix this with A41, A47 or A87 ) basically a few variations of the M58. However this older version of the network card driver will not obtain an ip address at all which must be an issue with the driver or something else other than DHCP as when I put the latest version of network card driver onto a usb memory stick and go through device manager --> update network card driver --> point to the driver on the usb memory stick , it installs and once installed it prompts to select what type of network it is ie Public, Work or Home , click on Work and it obtains an ip address straight away.

 

My question is this :

 

Is there something else I have to do to include or merge the drivers into windows or a bat file I can run to make it install the relevant driver onto the pc

 

The make and model of network card for these machines that are having the above issue(s) are the Marvel Yukon 88E8057

 

Obviously once updated it shows that the date of the network card driver is 11/02/2012 which is clearly later than 2009.

 

The drivers are and have been injected into the windows pe bootable memory stick and this is clearly different from the actual windows 7 image which is stored on the NAS. So presumably the drivers that are on the pc are the ones that are or were included with the windows 7 image ?

Posted
The drivers are and have been injected into the windows pe bootable memory stick and this is clearly different from the actual windows 7 image which is stored on the NAS.[/Quote]

 

 

Correct. The PXE is just the install environment.

 

So presumably the drivers that are on the pc are the ones that are or were included with the windows 7 image ?

 

If you've not updated your Windows 7 image in the same way that you added the new drivers to your PXE environment, then yes, they'll be the drivers from the original image.

  • Thanks 1
Posted
Correct. The PXE is just the install environment.

 

 

 

If you've not updated your Windows 7 image in the same way that you added the new drivers to your PXE environment, then yes, they'll be the drivers from the original image.

 

So to update the windows 7 image I would have to mount it and inject them the same way as per the article for the windows pe image and commit the changes and then upload this back to the NAS ?

Posted
So to update the windows 7 image I would have to mount it and inject them the same way as per the article for the windows pe image and commit the changes and then upload this back to the NAS ?

 

That sounds right!

  • Thanks 1
Posted
injecting drivers into boot.wim using imagex/dism just adds them to the boot portion (so windows pe) if you want to inject drivers into your install media you need to inject them into index # (depends what dvd it is enterprise has just 1 but other disks contain home basic/premium/pro/ult in 1 wim file) with dism as well thats where the installed drivers are located boot.wim is just windows pe install.wim is the full os source files
  • Thanks 1
Posted
injecting drivers into boot.wim using imagex/dism just adds them to the boot portion (so windows pe) if you want to inject drivers into your install media you need to inject them into index # (depends what dvd it is enterprise has just 1 but other disks contain home basic/premium/pro/ult in 1 wim file) with dism as well thats where the installed drivers are located boot.wim is just windows pe install.wim is the full os source files

 

It is windows 7 enterprise 32 bit - so how would I know which index to inject them into etc ?

Posted

on enterprise its 1 but for completeness

 

dism /Get-WimInfo /WimFile:d:\install.wim

 

lists all indexs in the specified wim file

  • Thanks 1
Posted

@mac_shinobi. Not sure if you will find this useful, but you can automate the driver injection with the following script (you may need to amend it slightly to suit your enviroment?).

 

N.B. An SSD is highly recommended if you plan on adding drivers/packages to a WIM that contains a large number of images (like the non-Enterprise Windows 7 DVD). With a HDD, it will take many hours. :)

 

@echo off
SETLOCAL ENABLEDELAYEDEXPANSION ENABLEEXTENSIONS

SET SCRIPTDIR=%~dp0
SET SCRIPTDIR=%SCRIPTDIR:~0,-1%
SET SRCIMG="%SCRIPTDIR%\GRMSXVOL_EN_DVD\sources\install.wim"
SET MNTDIR="%SCRIPTDIR%\Mount"
SET DRIVERS="%SCRIPTDIR%\Drivers"

:: Find total number of images in WIM
FOR /f "tokens=2 delims=: " %%a IN ('dism /Get-WimInfo /WimFile:%SRCIMG% ^| findstr /e "..[0-9]"') DO (
   SET MAX=%%a
   ECHO Found !MAX! images
)

:: Create an empty folder for DISM to mount WIM into
IF EXIST %MNTDIR% (
  RMDIR /S /Q %MNTDIR% && MKDIR %MNTDIR%
) ELSE (
  MKDIR %MNTDIR%
)

:: Integrate drivers into each image
FOR /l %%a IN (1,1,!max!) DO (
   DISM /Mount-Wim /WimFile:%SRCIMG% /Index:%%a /MountDir:%MNTDIR%
   DISM /Image:%MNTDIR% /Add-Driver /Driver:%DRIVERS% /Recurse
   DISM /Unmount-Wim /MountDir:%MNTDIR% /Commit
)

 

Have a look at this.

Those instructions are really old. PEImg was from Windows PE 1.0! :eek:

 

DISM is what should be used now - either DISM.exe or the new DISM PowerShell cmdlets from the Windows ADK or Windows 8/Server 2012.

  • Thanks 1
Posted

Took me a few mins to work out the difference as originally I was trying to use something else but obviously would not work as like you say @Arthur they are for version 1.0 of Win PE and then a bit of googling later found the dism commands ( obviously using dism.exe )

 

Not any good at doing bat files so wouldn't have a clue how to adjust or ammend that script to inject drivers. Would be easier or better if there was a vbscript version of the above as I can make more sense of vbscripts.

Posted

@Arthur or anyone else - am re building the bootable memory stick as it didn't quite work correctly and imaging T430 laptops was slower than it should have been.

 

I have downloaded 2 or 3 drivers from the intel site as I could not get them from the Lenovo site.

 

Am I ok to mix the intel drivers with the drivers from the lenovo website or am I better off just using the Lenovo drivers only ?

 

Keep getting a few errors, think I might have to tidy up the directories so it only includes the NDIS62 drivers I presume ?

Posted
@Arthur or anyone else - am re building the bootable memory stick as it didn't quite work correctly and imaging T430 laptops was slower than it should have been.

 

I have downloaded 2 or 3 drivers from the intel site as I could not get them from the Lenovo site.

 

Am I ok to mix the intel drivers with the drivers from the lenovo website or am I better off just using the Lenovo drivers only ?

 

Keep getting a few errors, think I might have to tidy up the directories so it only includes the NDIS62 drivers I presume ?

 

how long is a piece of string?

usually reference intel drivers work sometimes manufacturers tweak things and they dont

let me guess the errors are something like driver abc123 says it supportsx64 but it dosent

  • Thanks 1
Posted
how long is a piece of string?

usually reference intel drivers work sometimes manufacturers tweak things and they dont

let me guess the errors are something like driver abc123 says it supportsx64 but it dosent

 

In that case it's operation trial and mostly error, kinda like plug and pray

Posted

Is there anyway to inject or add files into the WIM using the dism command in the same fashion as you use dism to inject drivers ?

 

Basically got a bat file and an executable that I want as apart of the iso

Posted
yes just mount the wim file and copy the files to the mountdir (in the dir you want to find them in) then unmount /commit it
  • Thanks 1
  • 2 months later...
Posted (edited)

ok bit more help required

 

Have tried the NIC drivers from just the Intel site and attempted to make a bootable USB Win Pe memory stick

 

Done the same but with the NIC Drivers from the Lenovo site only

 

Both times I either get

 

1. A flashing or blinking cursor and it does not load the windows pe enviroment

2. The usual NIC errors ie ping request timed out or the likes

 

Are there any Lenovo and or Dell Win PE 3 driver packages I can use or how am I supposed to get the NIC Drivers working

@sted

@SYNACK

@Arthur

 

Or anyone else ta

 

Computer Models that I need the one memory stick to work with

 

Laptops :

 

Latitude D630

Latitude E6400

 

Lenovo T400 ( both 64752Y2 and 64759Y4 )

Lenovo T410 ( 2537D88 )

Lenovo T420 ( 4236CP7 )

Lenovo T430 ( 2349KQ1 )

 

Desktop wise

 

Lenovo M57 ( I think model number is 7360-A3G )

Lenovo M58e ( 7514A87 and 7514A41 )

Lenovo M71e ( 3167AJ8 )

Lenovo M72e ( 3664B78 )

 

I can confirm the M71e model number if required

Edited by mac_shinobi
Posted

Network sockets / ports are fine as works fine with someone elses pre created bootable usb memory stick. Just doing this myself as some of the drivers used by the other person are really slow and tried to make a backup of there memory stick but that didnt work either.

 

Setup as follows :

 

NAS on a 169 address connected to a gigabit switch and we boot any client pc ( whether laptop or desktop ) using the memory stick ( ensuring said client is connected to the same switch ). Doing it this way as want to seperate the network traffic when imaging versus the live system.

Posted
I take it the temp network has access to a dhcp and pxe server

 

WinPe 3 usb flash memory stick with ImageX, FindStr and a Bat file ( Using WAIK / DISM to inject drivers for specific models of machines ) and then WinPe just uses the 169 address range to communicate with the NAS on the same switch.

Posted

Do you have one of each model imaged already, you should be able to get the hardware id of each then find the right drivers, do an internal text search for the device id to make sure then integrate these into the boot win.

 

If you have MDT and it can't find the driver it will prompt you with the device id.

  • Thanks 1
Posted
If you have MDT and it can't find the driver it will prompt you with the device id.

 

does it ive never seen it do that just end up with std vga or unknown device etc in dev manager

Posted
does it ive never seen it do that just end up with std vga or unknown device etc in dev manager

 

Its only the later versions when booting the pe environment and only for the network card. Just brings it up in a message box.

 

If you have one going you can just go through device manager and grab it from there even for unknown devices, well in windows vista or above - so anything remotely modern :)

  • Thanks 1
Posted
aye if you have one working just grab the contents of C:\Windows\System32\DriverStore\FileRepository and copy anything after about 2009 off the pc and import into mdt/your wim file ive done that before when a manufactureres websites being a pita

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...