WinXP CD install with all nForce2 drivers!

Software, Utilities & OS questions, comments, tips and tweaks

Moderator: Moderators

avatar
Google
Adsense
Google
 
Posts: 900913
Joined: March 2003
Location: Forum

WinXP CD install with all nForce2 drivers!

Postby luma » Thu Mar 06, 2003 9:49 pm

NOTE:Since this guide was posted, a program called nLite was released which makes this process much easier. Haven't tried it myself, but I hear good things.

From their site:
nLite Features

- Service Pack Integration
- Component Removal
- Unattended Setup
- Driver Integration *
- Hotfixes Integration **
- Tweaks
- Patches ***
- Bootable ISO creation

* - Textmode and normal PnP
** - only new type 1 hotfixes (for example XP post SP2)
***- supports generic SFC, Uxtheme, TcpIp and Usb Polling patching.

So if you want this done the easy way, try nLite. If you want to learn the guts of the windows installation process, keep reading! On to the guide...

i posted a week or so ago on how one can go about installing windows xp without having to provide a floppy for the serial ATA drivers. it seems like there's a few people out there that wanted to know the rest of the story (the GUI setup), so here's my revised version:

How to make a Windows XP Pro boot CD with all the nForce2 drivers!

this process will create an XP boot cd that won't require you to install SATA or nForce drivers, as they'll all be present upon the completion of setup. i made this because i hate floppy drives (die floppy DIE!), and i was getting sick of having to connect a floppy drive just to get my SATA RAID disks recognized during setup. one thing lead to another and i wound up creating a boot cd that handled all my drivers to save myself the headache.

this has borrowed heavily from various sources on the net. most of the pertinent sites are linked herein.

1) copy all the files from your XP cd to a temporary folder (let's call it C:\XPSource)

2) slipstream SP1 if you haven't already: http://www.tacktech.com/display.cfm?obj ... cfm&id=160

3) copy your now slipstreamed cd files into a folder (say, C:\XPCD)

4) download the newest drivers for your motherboard. i've got an asus a7n8x deluxe, so i'm using the 2.16 drivers. their site doesn't seem to be responding to me at the moment, but the file was named "nf2v116_wxp.zip". also grab the 3com drivers, and whatever other drivers you might need as well (say, video card or whatever else)

5) make a directory under C:\XPCD named $OEM$

6) make a directory under that called $1

7) make yet another directory under that called Drivers. you should now have something like C:\XPCD\$OEM$\$1\Drivers

8) extract your drivers to subdirectories of C:\XPCD\$OEM$\$1\Drivers. the asus drivers all come in separate directories (XP\MemCtl, XP\Ethernet, etc). make note of the subdirectories you've created, as we'll have to provide a list of these directories to XP setup later. update: these files and folder names MUST have 8.3 compatiable names. this means that none of the files or folders can have names longer than 8 characters. it won't work if they do! (thanks lanakaian!)

9) download the newest SATA RAID drivers from SI. as of this post, you can get them here.

10) extract the "Si3112r.sys" file into the i386 folder (C:\XPCD\i386\Si3112r.sys)

11) extract the whole SATA driver archive (all the files) to a directory under Drivers, say C:\XPCD\$OEM$\$1\Drivers\SATA.

12) find the TXTSETUP.SIF file in the i386 folder (C:\XPCD\i386\TXTSETUP.SIF) and open it in NOTEPAD.

13) add the following line under [SourceDisksFiles]
si3112r.sys = 1,,,,,,_x,4,1

14) add the following line under [HardwareIdsDatabase]
PCI\VEN_1095&DEV_3112&SUBSYS_61121095 = "Si3112r"

15) add the following line under [SCSI.Load]
si3112r = si3112r.sys,4

16) add the following line under [SCSI]
si3112r = "Silicon Image SiI 3112 SATARaid Controller"

17) save your changes to TXTSETUP.SIF - we're done with this file. this file is for the text-based portion of the install (before we get XP's GUI). it keeps us from having to insert a floppy and pressing F6 during setup.

18) now we need to handle the GUI portion of the setup. create a text file under C:\XPCD\i386 called "WINNT.SIF". this is a file that XP setup will look for to automate the GUI portion of the setup. this is called an "unattended installation", and is used to answer some of the questions XP asks during the installation (and even some questions it doesn't ask). this file is called an "answer file". for more on setting up a custom unattended install, look here: http://www.tacktech.com/display.cfm?ttid=202

19) open C:\XPCD\i386\WINNT.SIF in notepad, and insert the following lines:
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
UnattendMode=ProvideDefault
OemPreinstall=Yes
OemSkipEula=Yes
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1
TargetPath=\WINDOWS
DriverSigningPolicy=Ignore
OemPnPDriversPath=Drivers\ATI;Drivers\nForce\3Com;Drivers\nForce\AudioDrv;
Drivers\nForce\AudioUtl;Drivers\nForce\Ethernet;Drivers\nForce\GART;
Drivers\nForce\MemCtl;Drivers\nForce\nvIDE;Drivers\nForce\IDE;
Drivers\SATA;Drivers\nForce\SMBus

[GuiUnattended]
OEMSkipWelcome = 1

[UserData]
ProductKey=12345-ABCDE-67890-FGHIK-12345
FullName=""
OrgName=""



20) here's the important bit: look at the OemPnPDriversPath entry.
PUT IT ALL ON THE SAME LONG LINE!!! not on 4 lines like above - i only put it on 4 lines because the forum will then stretch the page wide enough to fit it and you'll wind up scrolling left and right for the whole damn document.
this line will tell XP setup where to look for the .INF files for each of your devices. it will look in these paths first before checking it's own database of device drivers. the paths given are relative to the $OEM$\$1 folder you created. that is, "Drivers\ATI" tells it to look for a .INF file under C:\XPCD\$OEM$\$1\Drivers\ATI. change this line to point to the paths for all the device drivers that you've downloaded, seperated by ";"

21) change the product key to match your key and you won't have to enter it during installation. otherwise, you can just remove that line

22) again, check out how to do a custom unattended installation from the link above if you want more settings changed - you can setup a lot of things that you normally do manually after the installation in this answer file. save the C:\XPCD\i386\WINNT.SIF answer file and close notepad.

23) burn it to a bootable CD by following the guide here: http://www.tacktech.com/display.cfm?obj ... cfm&id=160

that should do it. post here if you have any problems (or success!), and i'll try to field any questions.[/u][/url]
Last edited by luma on Thu Dec 23, 2004 1:19 am, edited 7 times in total.
User avatar
luma
nLightened
nLightened
 
Posts: 111
Joined: Wed Jan 29, 2003 6:19 pm
Location: earth

Re: WinXP CD install with all nForce2 drivers!

Postby mika » Thu Mar 06, 2003 9:55 pm

great ! going to test right now :)
User avatar
mika
nLightened
nLightened
 
Posts: 158
Joined: Sun Dec 01, 2002 10:41 am
Location: heidelberg.de

Re: WinXP CD install with all nForce2 drivers!

Postby mika » Thu Mar 06, 2003 9:58 pm

another question...

how might i include the patches i downloaded from windows update ( the SP2 ones)
User avatar
mika
nLightened
nLightened
 
Posts: 158
Joined: Sun Dec 01, 2002 10:41 am
Location: heidelberg.de

Re: WinXP CD install with all nForce2 drivers!

Postby luma » Thu Mar 06, 2003 11:57 pm

i've not used this, but my understanding is that you can add post sp1 hotfixes like this:

1) copy the q*.exe files into the $OEM$ folder (C:\XPCD\$OEM$\q123456.exe)

2) create a file in the $OEM$ folder named cmdlines.txt (C:\XPCD\$OEM$\cmdlines.txt)

3) open the cmdlines.txt in notepad

4) set it up like this:
[commands]
"Q123456.exe /Q /M /Z"
"Q789012.exe /Q /M /Z"


put one line for each hotfix, in quotes, with the /Q /M /Z (here's the command line switches for most m$ hotfixes)

5) there is no step 5, that's it! burn your cd and try it out.

here's a good resource i just ran across for setting up the unattended install.
User avatar
luma
nLightened
nLightened
 
Posts: 111
Joined: Wed Jan 29, 2003 6:19 pm
Location: earth

Re: WinXP CD install with all nForce2 drivers!

Postby shaggai » Fri Mar 07, 2003 12:23 am

Knew I should have slipstreamed onto a CD-RW instead of a plain CD-R :evil:
User avatar
shaggai
nLightened
nLightened
 
Posts: 144
Joined: Thu Dec 12, 2002 5:19 am

Re: WinXP CD install with all nForce2 drivers!

Postby luma » Fri Mar 07, 2003 2:48 pm

for anyone trying this out, you may also want to try using the setup manager that comes with XP. the SP1 version can be downloaded here, or you can find the original version on your cd under \SUPPORT\TOOLS. extract the DEPLOY.CAB somewhere, and click on SETUPMGR.EXE. this will give you a wizard interface to create the unattanded installation file. remember to save the file as WINNT.SIF under the i386 folder on your cd for it to work...
User avatar
luma
nLightened
nLightened
 
Posts: 111
Joined: Wed Jan 29, 2003 6:19 pm
Location: earth

Re: WinXP CD install with all nForce2 drivers!

Postby mika » Fri Mar 07, 2003 3:21 pm

woah luma you're the best !!!

8O 8O 8O 8O 8O
User avatar
mika
nLightened
nLightened
 
Posts: 158
Joined: Sun Dec 01, 2002 10:41 am
Location: heidelberg.de

Re: WinXP CD install with all nForce2 drivers!

Postby luma » Fri Mar 07, 2003 3:37 pm

did you get a chance to try it out yet? just wanna be sure i haven't left anything out...
User avatar
luma
nLightened
nLightened
 
Posts: 111
Joined: Wed Jan 29, 2003 6:19 pm
Location: earth

Re: WinXP CD install with all nForce2 drivers!

Postby soltys » Fri Mar 07, 2003 3:57 pm

well, excellent guide :!:
I really respected nvidia once. Now I hate them - for never available technical documentation, no errata docs, for locking people in hardware, for ignorance of FOSS, for flooding AMD server market with undocumented ncrap chipsets with again, 0 technical documentation of whatsoever.

If not for reverse-engineering, we would see jack s*** of ncrap working under linux and BSD systems. Besides buggy, overbloated BLOBs for small selection of OSes. BLOBs which are discontinued / ignored as they see fit.

Shame on you, Nvidia.
User avatar
soltys
nForce Aware
nForce Aware
 
Posts: 405
Joined: Mon Apr 22, 2002 3:15 pm
Location: Poland, Warsaw

Re: WinXP CD install with all nForce2 drivers!

Postby mika » Fri Mar 07, 2003 4:38 pm

so.. i am working at this feature :P

but another question..

i'm using a Promise Fasttrak TX2 RAID Controller with my Harddisks...

how might i inplement this driver in the TXTSETUP.sif ?

and.. i got this 160gig RAID Array, i just want windows to delete the first (4gig partition), re-create it, format it with NTFS and install the new windows on it ! > how could i do this ? :D

**edit**
another question..
i have different other files (not beginning with the Q -> like hu1002_pro.exe or something like that) in the $OEM$ dir.. downloaded them from Windows Update - but they need other command lines then the Q_ ones
User avatar
mika
nLightened
nLightened
 
Posts: 158
Joined: Sun Dec 01, 2002 10:41 am
Location: heidelberg.de
avatar
Google
Adsense
Google
 
Posts: 900913
Joined: March 2003
Location: Forum
Next

Return to Software



Who is online

Users browsing this forum: No registered users and 0 guests