製作帶sata驅動的winxp安裝盤 include sp3

其實也不是什麼新鮮事  最出名的就是用nLite去改造了  只不過最近看了些微軟的幫助支持文章  試了試下載SP3和改造系統安裝盤  順帶將新的經驗和方法分享


不管你手頭的是不帶service pack的最原始安裝盤 還是xp sp1, xp sp1a, xp sp2 都可以利用


1. 不過是nLite還是怎麼做 基本都是先把手頭有的純淨xp安裝盤放到光碟機  在C盤下新建一個檔夾 把光碟裏所有的檔和檔夾複製到新建檔夾裏 在C盤是方便區分和省了以下步驟中輸入命令時的路徑問題


2. 我們把檔夾改名叫xpcd, 位置c:\xpcd


3. 我們要做帶SATA驅動的安裝盤 當然就把SATA驅動下回來 解包
裏面有用的就5個檔
IAAHCI.CAT  size 11.0KB (11,352 bytes)
IAAHCI.INF   size 6.31KB (6,467 bytes)
IASTOR.CAT size 10.9KB (11,254 bytes)
IASTOR.INF  size 6.29KB (6,451 bytes)
IASTOR.SYS size 271KB (277,783 bytes)
(注明檔大小是確認SATA驅動是最新 而且試驗證明 不同版本SATA驅動 裏面inf檔描述不一樣 可能會導致做出失敗的安裝盤)


4. 把5個檔拷貝到c:\xpcd\i386


5. 用記事本打開並修改c:\xpcd\i386 中三個檔, 把下列字串加到檔對應位置中。
下面內容像”d1,iastor.sys”只需查找到[FloppyFiles.1]然後把”d1,iastor.sys”插入到[FloppyFiles.1]緊接的第二行;
[Files]下面的內容也是同樣插入, 三個檔都是同樣處理。


第一個文件是DOSNET.INF, 裏面要加的是
[FloppyFiles.1]
d1,iastor.sys


[Files]
d1,iaAHCI.INF
d1,iaAHCI.cat
d1,iastor.CAT
d1,iastor.INF
d1,iastor.sys


第二個檔是TXTSETUP.SIF,裏面要加的是
[SourceDisksFiles]
iaStor.cat=1,,,,,,,20,0,0
iaStor.inf=1,,,,,,,20,0,0
iaAHCI.cat=1,,,,,,,20,0,0
iaAHCI.inf=1,,,,,,,20,0,0
iaStor.sys=1,,,,,,4_,4,1,,,1,4


[HardwareIdsDatabase]
PCI\VEN_8086&DEV_2821&CC_0106=”iaStor”
PCI\VEN_8086&DEV_2822&CC_0104=”iaStor”
PCI\VEN_8086&DEV_282A&CC_0104=”iaStor”
PCI\VEN_8086&DEV_2829&CC_0106=”iaStor”
PCI\VEN_8086&DEV_25B0&CC_0104=”iaStor”
PCI\VEN_8086&DEV_24DF&CC_0104=”iaStor”
PCI\VEN_8086&DEV_2652&CC_0104=”iaStor”
PCI\VEN_8086&DEV_27C3&CC_0104=”iaStor”
PCI\VEN_8086&DEV_27C1&CC_0106=”iaStor”
PCI\VEN_8086&DEV_2652&CC_0106=”iaStor”
PCI\VEN_8086&DEV_27C5&CC_0106=”iaStor”
PCI\VEN_8086&DEV_27C6&CC_0104=”iaStor”
PCI\VEN_8086&DEV_2682&CC_0104=”iaStor”
PCI\VEN_8086&DEV_2653=”iaStor”


[SCSI.Load]
iaStor=iaStor.sys,4


[SCSI]
iaStor=”Intel(R) 82801HEM SATA RAID Controller (Mobile ICH8M-E)”
iastor=”Intel(R) 631xESB/632xESB SATA AHCI Controller (Server/Workstation ESB2)”
iastor=”Intel(R) 631xESB/632xESB SATA RAID Controller (Server/Workstation ESB2)”
iastor=”Intel(R) 82801FBM SATA AHCI Controller (Mobile ICH6M)”
iastor=”Intel(R) 82801FR SATA AHCI Controller (Desktop ICH6R)”
iastor=”Intel(R) 82801FR SATA RAID Controller (Desktop ICH6R)”
iastor=”Intel(R) 82801GBM SATA AHCI Controller (Mobile ICH7M/DH)”
iastor=”Intel(R) 82801GHM SATA RAID Controller (Mobile ICH7MDH)”
iastor=”Intel(R) 82801GR/GH SATA AHCI Controller (Desktop ICH7R/DH)”
iastor=”Intel(R) 82801GR/GH SATA RAID Controller (Desktop ICH7R/DH)”
iastor=”Intel(R) 82801HEM/HBM SATA AHCI Controller (Mobile ICH8M-E/M)”
iastor=”Intel(R) 82801HR/HH/HO SATA AHCI Controller (Desktop ICH8R)”
iastor=”Intel(R) 82801HR/HH/HO SATA RAID Controller (Desktop ICH8R)”


第三個文件是WINNT.SIF, 把[Data]和[OemInfFiles]修改成如下
[Data]
MSDosInitiated=0
UnattendedInstall=Yes
OemDrivers=OemInfFiles


[OemInfFiles]
OemDriverFlags=1
OemDriverPathName=”%systemroot%\inf”
OemInfName=”iaahci.inf”,”iastor.inf”


6. integrate sp2/sp3 到安裝檔夾
如果你的是最原始的XP盤 不帶service pack, 那麼下面步驟需要做兩次。
當然首先是下載對應語言的service pack安裝包
sp2
http://www.microsoft.com/downloads/details.aspx?familyid=049C9DBE-3B8E-4F30-8245-9E368D3CDB5A
sp3
http://www.microsoft.com/downloads/details.aspx?FamilyId=5B33B5A8-5E76-401F-BE08-1E1555D4F3D4


各service pack的語言需要和安裝盤的語言一致, 請更改再下載安裝程式。
下載就保存在C盤吧,SP2 就保存成SP2.EXE; SP3就保存成SP3.EXE 免得亂
XP安裝檔夾還是在c:\xpcd
在CMD, c:\>
sp0/sp1/sp1a載入sp2的方式是輸入命令 sp2.exe /integrate:c:\xpcd
sp1/sp1a/sp2載入sp3的方式是輸入命令 sp3.exe /integrate:c:\xpcd


注明sp0不能直接載入sp3, 由於sp1/sp1a沒有下載檔,所以只能做兩次第一次是sp0升sp2 然後sp2升sp3


service pack載入完成



7. 整個安裝檔就改好,然後需要的是把xpcd檔夾裏的檔夾刻錄成可以光碟啟動的安裝盤
這 裏需要用到的是isobuster或者bbie去抓取光碟啟動檔”Microsoft Corporation.img”, 兩個軟體得效果都一樣,隨 你喜歡,isobuster是圖形介面,bbie10是用命令執行,所以相對程式很小。抓取img檔後再用nero或者其他刻錄軟體中加入 “Microsoft Corporation.img”就可以做出光碟啟動的光碟。
下載網站, 使用方法我就不囉嗦了, 不是最主要的。
http://www.isobuster.com/
http://www.nu2.nu/bbie/


我自己用的方法是用winpe裏面的OSCDIMG.EXE  ETFSBOOT.COM 程式製作ISO然後用用刻錄軟體刻錄


假設像我把winpe放在c盤,那麼oscdimg.exe和etfsboot.com都在c:\winpe\, 所以命令是打開cmd, 回到winpe目錄。 在c:\winpe> 輸入
oscdimg -l<disc Volume Label> -bETFSBOOT.COM -n c:\xpcd c:\xpcd.iso


上面-l和<disc Volume Label>之間, -b和ETFSBOOT.COM 之間都沒有空格 其他看到的空格確實是要輸入的;
< disc Volume Label>包括<>最好就是輸入與被改造的XP安裝盤一樣。 當然最後xpcd.iso檔案名可以按自己喜 歡改成XXX.iso, 不影響什麼。 然後直接用刻錄軟體把ISO檔刻出來,隨便打開sata native mode裝吧。


打完收工!


參考文章:
How to integrate Windows XP Service Pack 2 files into the Windows XP installation folder
http://support.microsoft.com/kb/900871


How to obtain the latest Windows XP service pack
http://support.microsoft.com/kb/322389


Combining Windows XP with Service Pack 2 for reinstallation (Part 1: Introduction)
http://support.microsoft.com/kb/894947
Combining Windows XP and Windows XP Service Pack 2 for reinstallation (Part 2: Copying the Windows CD to the hard disk)
http://support.microsoft.com/kb/894948
Combining Windows XP and Service Pack 2 for reinstallation (Part 3: Integratng Service Pack 2 in the Setup files)
http://support.microsoft.com/kb/894949
Combining Windows XP with Service Pack 2 for reinstallation (Part 4: Reading the boot image file)
http://support.microsoft.com/kb/894950


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.