Create a Windows XP installation disc that integrates the SATA driver

Source: Internet
Author: User
SATA Hard Disk There are many advantages, but the installation operation System Reality Trouble Not only do you have to seize the opportunity to press the "F6" key to load the stat driver Program , You also need to create a floppy disk with a driver. What's terrible is that if the new machine is not configured with a soft drive, it will be very eye-catching ...... To create a WINXP installation disc containing the SATA driver. You will find that Hard Disk The driver is actually very simple.





Many people dream of not loading SATA drivers through a floppy disk for WINXP installation.MotherboardThe SATA driver is integrated into the installation disc.WindowsXP installation CD!



Windows XP installation directory andFilePreparation
Open the resource manager and have enough disk space (the free space is at least 700 mb). If you put the generated CD image in this partition, make sure that there is a disk with double capacity, that is, around GB) to create a folder on the hard disk partition, such as "D: \ xpsata", to save all the installation files for Windows XP.



Put a good Windows XP installation CD into the optical drive, select all the files on the CD in the resource manager, and then copy them to the "D: \ xpsata" directory.



Prepare driver files
Generally, the SATA driver is included in the driver installation disc attached to the motherboard. Open the CD directory and find a folder containing the "SATA" or "raid" characters in the name. You can also find the folder on the motherboard manufacturer's website or other drivers.DownloadSite (such as: driver home "http://www.mydrivers.com", etc.) to find their own Motherboard chipset matching SATA driver.



Create a new directory (such as statdrv) in disk D, and copy all the SATA driver files to this directory (D: \ satadrv ). Here we will introduce the SATA driver of si3112 as an example. The integration steps for other types of SATA drivers are almost identical, except that the driver file names are different.



In the "D: \ statdrv" folder, a file with the extension ". INF "or". small OEM files, such as oemsetup. INF or txtsetup. OEM (in this example, "txtsetup. OEM), open it with the Notepad program, and then use it!



Edit the "txtsetup. Sif" File
Open the "D: \ xpsata \ i386" folder and find a file named "txtsetup. sif file, which is the information file for Windows XP to load the driver during installation, open it with a Notepad program.



Press the "Ctrl + F" shortcut key to open the Search dialog box and search with the keyword "[sourcedisksfiles]" ). After this field is found, some content already exists below it . Flip to the end of this field (Note: it is not the end of the entire file) and add the following content: "2017112.sys = 1, 3 _, 4, 1 ".






Here, "2017112.sys = 1, 3 _, 4, 1" describes the location of the driver.Code. The code format is "filename_on_source = diskid, subdir, upgradecode, newinstallcode, spare, spare, newfilename", in "txtsetup. the "[sourcedisksnames]" and "[winntdirectories]" fields in the SIF file are described in detail. InterestedFriendYou can thoroughly study the ing between other directories. Here is a brief introduction.






In actual operations, the Code cannot be copied! In particular, the file "iis112.sys" with the extension sys is the driver file name in the SATA driver directory "D: \ statdrv". If your SATA driver is different from the one described in this article, you only need to replace it with the corresponding file in the directory.



Switch to the "txtsetup. OEM" file that was opened earlier and search with the keyword "[hardwareids.". You can find fields similar to "[hardwareids. sics. si3112.



Code under this field, for example, "id =" PCI \ ven_1095 & dev_3112 & subsys_31121095 "," si3112 "".



Switch to the opened "txtsetup. Sif" file window and search with the keyword "[hardwareidsdatabase. After finding it, set "txtsetup. [hardwareids. sics. copy the code in the si3112_xp] field to "txtsetup. the end of the "[hardwareidsdatabase]" Field of the SIF file. However, we need to change the code format, for example, "id =" PCI \ ven_1095 & Dev _ 3112 & subsys_31121095 "," si3112 "": "PCI \ ven_1095 & dev_3112 & subsys_31121095 =" si3112 "" (other codes are modified in the same way). The changed code is as follows:



PCI \ ven_1095 & dev_3112 & subsys_31121095 = "si3112"
PCI \ ven_1095 & dev_3112 & subsys_34238086 = "si3112"
PCI \ ven_1095 & dev_3112 & subsys_31_15d9 = "si3112"
PCI \ ven_1095 & dev_3112 & subsys_b0021458 = "si3112"
PCI \ ven_1095 & dev_3112 & subsys_01661028 = "si3112"
PCI \ ven_1095 & dev_3112 & subsys_82141033 = "si3112"
PCI \ ven_1095 & dev_3512 & subsys_35121095 = "si3112"
PCI \ ven_1095 & dev_3512 & subsys_01661028 = "si3112"



EasyPrompt
The Code content of different SATA drivers varies with each other and should be flexibly handled according to the specific situation.



Check whether the modified copy content is the same as the original one. If yes, repeat the rowDelete. Search for the "[SCSI. Load]" and "[SCSI]" fields in the "txtsetup. Sif" file and add the following content:



[SCSI. Load]
Si3112 = 2017112.sys, 4



[SCSI]
Si3112 = "Silicon image ⅱ 3112 satalink controller"



So far, we have added the relevant information of our SATA driver to the Windows XP installation information file "txtsetup. Sif!



The steps for adding custom SATA information above seem complicated. In fact, you can also open "txtsetup. sif "file and driver directory". INF "or". "OEM" information file, and then the content under the relevant fields in the latter file is transplanted to "txtsetup. sif file. Knowing the method makes it easier to do it!



Modify the content of the "winnt. Sif" File
Now we have completed two most important steps: first, we have obtained the SATA driver files, which are now saved in the "D: \ statdrv" folder; the second is to modify the information file "txtsetup. sif ". But now there is a new question: How does Windows XP know under which directory the driver file is required during installation?



To solve this problem, modify the "winnt. Sif" file. This file is an additional information file for Windows XP system installation. You can specify the installation path of Third-Party drivers not provided by Microsoft.



In this example, create a text file in notepad in the "D: \ xpstat \ i386" folder, write the content, and change the file name to "winnt. Sif.



Easy prompt
When saving a file in notepad, you must enter the complete file name, and use double quotation marks to cause the file name, such as "winnt. sif "then, the token generated on the negative side is still a local file (winnt.sif.txt), which will cause errors during installation and the stat driver cannot be loaded automatically!



Add the following content to the "winnt. Sif" file (if some content already exists, modify or add it, and ensure that the content in each line is not repeated ):
[Unattended]
Oempreinstall = Yes
Oempnpdriverspath = "statdrv"



The content in the last quote of the above Code refers to the relative path of the driver to the root directory of the CD when the CD is subsequently generated. Because we plan to put the "D: \ statdrv" folder for saving the driver to the root directory of the new installation disc, we do not need to include any subdirectory path .





Compress the SATA driver to the Installation File
UseTools(Such as WinRAR), add the SYS file in the driver directory to the cab file in the windxp installation directory.



Here we can use a command line tool named makecab.exe attached to Windows XP, which is located in the "C: \ windows \ system32 \" directory. Because "System32" is the default search path, you do not need to use the path of the program.



Open the run dialog box in the Start menu and enter the following command: makecab D: \ statdrv \ 116112.sys D: \ XP-STAT \ i386 \ 116112.sy _.






You can change the driver file name and save path according to your needs.



Regenerate the installation disc
After the above steps, everything is ready now, just waiting for a dial!



Prepare any tool that supports the preparation of boot discs, such as the classicSoftware"Winiso", "isocommander" and domesticSoftware"Ultraiso" and so on. There are many ways to generate a bootable CD, to avoid looking for uncommon Tools everywhereSoftwareThe following uses ultraiso as an example:



(1) make the original installation disc image
The purpose of this step is to easily extract boot files from the created CD image. In fact, there are also dedicated tools for directly extracting the boot area of the CD, but the operation is a little troublesome, so it is worthwhile to spend one or two minutes here.



Place the original installation CD of Windows XP into the optical drive, start ultraiso, press the "F5" key, or execute "Create a CD image file" in the "Tools" menu, specify the storage location of an image file as prompted, and then the program will automatically start to read the CD and complete the preparation of the image file.




(2) extract boot information from the CD image
On the ultraiso main interface, run the "Save boot file" command in the "Boot disc" menu to save the boot information to the hard disk for backup. For example, save it as "D: \ Boot. bin ".




(3) create a CD image
Run the "new" command in the "file" menu of ultraiso. From the resource manager, run the "D: all files in the \ xpstat folder are dragged into the file window on the upper right of ultraiso.



Drag the "D: \ statdrv" directory to the file window on the upper right of ultraiso. After that, you can see the "statdrv" folder in the root directory of the CD.



Easy prompt
Do not include the XP stat directory itself when dragging and dropping! That is to say, after the file is successfully added, the "i386" folder should be displayed under the root directory of the CD.



(4) load the boot information file
Run the "load boot file" command in the "boot CD" menu to find the boot file of the CD image extracted in the previous step, that is, "d: \ Boot. bin ". Now, the new CD image has the same boot function as the original Windows XP installation CD.



(5) Save the CD image
Press "Ctrl + S" or execute the "file"> "save" command to specify the path and file name (for example, "F: \ xpstat. ISO), and then ultraiso starts to generate a CD image file to the specified path.



(6) Burn and install the CD
Use Nero or any other tool that allows you to burn a CD image file, and burn the obtained CD image file (F: \ xpstat. ISO) to the CD. Now, using this installation disk to completely install Windows XP in a hardware environment that supports SATA, you do not need to press F6 or use any floppy disk, which is very convenient.



Creating a Windows XP installation disc that integrates the SATA driver is a complicated task. Any small mistake may cause the driver to fail to be loaded correctly. In addition, the file names, quantities, and information files of SATA drivers attached to different boards vary, and cannot be hardcoded during integration. Only one of the three steps can be taken to succeed.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.