I have a problem in fulfilling a requirement. It goes this way:
I have a windows backup image of XP that I can restore on a harddisk. After restoration ( I connected restored hdd to a different hardware), when I try to boot I get a BSOD “7B” Stop Error. I know its cause - disk/mass storage controller being different from the source machine and the backup image doesnt have this new controller`s driver.
I have the required XP driver for the new controller(downloaded from internet).
Now the problem - How do I inject this driver into the restored disk if I boot the system using WinPE recovery environment? Is there any tool or set of windows API which would let me inject the new driver into the restored disk? Or is there any inf parser so that I can parse the inf files and load it myself?
What would be the better way of doing it. Appreciate your suggestion/pointers.
put the new driver on a floppy (like for txt mode setup) and boot in to
recovery mode from the XP cd
rename the old driver and then copy the new driver to the disk, using the
name of the old driver
Good luck,
mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Saturday, December 11, 2010 11:24 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Injecting Drivers To Restored Disk From WinPE
Hello People,
I have a problem in fulfilling a requirement. It goes this way:
I have a windows backup image of XP that I can restore on a harddisk. After
restoration ( I connected restored hdd to a different hardware), when I try
to boot I get a BSOD “7B” Stop Error. I know its cause - disk/mass storage
controller being different from the source machine and the backup image
doesnt have this new controller`s driver.
I have the required XP driver for the new controller(downloaded from
internet).
Now the problem - How do I inject this driver into the restored disk if I
boot the system using WinPE recovery environment? Is there any tool or set
of windows API which would let me inject the new driver into the restored
disk? Or is there any inf parser so that I can parse the inf files and load
it myself?
What would be the better way of doing it. Appreciate your
suggestion/pointers.
I hive the xps registry (system) into WinPE environment. Put the hardware ids into the critical database and create drivers service section in the
“services” all as per the inf.
I did test this idea on multiple platforms and it works well. Just that need
to automate it and I can only do if I can parse the inf file. Just wanted to
know if there is any script/tool which parses the inf file and give me the
key/value pair kind of thing.
Just a thought. There may be lots of flaws in it as well.
Thanks & Regards
Jaswant
On 11 December 2010 23:53, Martin O’Brien
wrote:
> I have no idea if either of these will work: > > - put the new driver on a floppy (like for txt mode setup) and boot in to > recovery mode from the XP cd > > - rename the old driver and then copy the new driver to the disk, using > the > name of the old driver > > > Good luck, > > mm > > -----Original Message----- > From: xxxxx@lists.osr.com > [mailto:xxxxx@lists.osr.com] On Behalf Of > xxxxx@gmail.com > Sent: Saturday, December 11, 2010 11:24 AM > To: Windows System Software Devs Interest List > Subject: [ntdev] Injecting Drivers To Restored Disk From WinPE > > Hello People, > > I have a problem in fulfilling a requirement. It goes this way: > > I have a windows backup image of XP that I can restore on a harddisk. After > restoration ( I connected restored hdd to a different hardware), when I try > to boot I get a BSOD “7B” Stop Error. I know its cause - disk/mass storage > controller being different from the source machine and the backup image > doesnt have this new controller`s driver. > > I have the required XP driver for the new controller(downloaded from > internet). > > Now the problem - How do I inject this driver into the restored disk if I > boot the system using WinPE recovery environment? Is there any tool or set > of windows API which would let me inject the new driver into the restored > disk? Or is there any inf parser so that I can parse the inf files and load > it myself? > > What would be the better way of doing it. Appreciate your > suggestion/pointers. > > Thanks & Regards > Jas > > — > NTDEV is sponsored by OSR > > For our schedule of WDF, WDM, debugging and other seminars visit: > http://www.osr.com/seminars > > To unsubscribe, visit the List Server section of OSR Online at > http://www.osronline.com/page.cfm?name=ListServer > > > — > NTDEV is sponsored by OSR > > For our schedule of WDF, WDM, debugging and other seminars visit: > http://www.osr.com/seminars > > To unsubscribe, visit the List Server section of OSR Online at > http://www.osronline.com/page.cfm?name=ListServer >
Sounds like it works; I don’t know of any INF parser.
Good luck,
mm
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jaswanth Chajjed
Sent: Saturday, December 11, 2010 1:54 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Injecting Drivers To Restored Disk From WinPE
Hi Martin,
Thanks for your reply.
But would`nt below idea work?
I hive the xps registry (system) into WinPE environment. Put the hardware ids into the critical database and create drivers service section in the
“services” all as per the inf.
I did test this idea on multiple platforms and it works well. Just that need
to automate it and I can only do if I can parse the inf file. Just wanted to
know if there is any script/tool which parses the inf file and give me the
key/value pair kind of thing.
Just a thought. There may be lots of flaws in it as well.
Thanks & Regards
Jaswant
On 11 December 2010 23:53, Martin O’Brien wrote:
I have no idea if either of these will work:
- put the new driver on a floppy (like for txt mode setup) and boot in to recovery mode from the XP cd
- rename the old driver and then copy the new driver to the disk, using the name of the old driver
Good luck,
mm
-----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com Sent: Saturday, December 11, 2010 11:24 AM To: Windows System Software Devs Interest List Subject: [ntdev] Injecting Drivers To Restored Disk From WinPE
Hello People,
I have a problem in fulfilling a requirement. It goes this way:
I have a windows backup image of XP that I can restore on a harddisk. After restoration ( I connected restored hdd to a different hardware), when I try to boot I get a BSOD “7B” Stop Error. I know its cause - disk/mass storage controller being different from the source machine and the backup image doesnt have this new controller`s driver.
I have the required XP driver for the new controller(downloaded from internet).
Now the problem - How do I inject this driver into the restored disk if I boot the system using WinPE recovery environment? Is there any tool or set of windows API which would let me inject the new driver into the restored disk? Or is there any inf parser so that I can parse the inf files and load it myself?
What would be the better way of doing it. Appreciate your suggestion/pointers.