| « Commands to determine/change drive UUID's | NIC Bonding » |
Adding drivers to PE images
Recently I've had a need to perform work on newer systems which have SATA drives in them. Unfortunately, my trusty Super WinPE disks haven't been working since the SATA drivers aren't included on the disk. After some searching, I've found a couple of methods which should work and settled on this one (from here):
Copy the .sys file to i386\system32\drivers. If there are related .dll files (unlikely) copy these to i386\system32.
Navigate to i386 folder and open txtsetup.sif. Add controller information to the [HardwareIdsDatabase] section. Only the PCI Vendor and Device ID are required (normally contained in the inf file)
Example: PCI\VEN_8086&DEV_2652 = "iaStor"
Now add the controller information to [SCSI.Load] in order to have it load during the boot process.
Example: iaStor = iaStor.sys,4
Many of the WinPE bootable images end up reporting significantly larger image sizes if edited. It turns out that some iso creating programs allow for optimizing the image. This means that if there are multiple copies of the same file in the image, links will be created for all but 1 file so the data is only written to the drive one time. The Super WinPE disk I normally use balooned from 4.7 gig to 22 gig after I injected the drivers. Using the optimize option in UltraISO (under file->properties) resolved this issue.