史萊姆論壇

返回   史萊姆論壇 > 教學文件資料庫 > 作業系統操作技術文件
忘記密碼?
論壇說明

歡迎您來到『史萊姆論壇』 ^___^

您目前正以訪客的身份瀏覽本論壇,訪客所擁有的權限將受到限制,您可以瀏覽本論壇大部份的版區與文章,但您將無法參與任何討論或是使用私人訊息與其他會員交流。若您希望擁有完整的使用權限,請註冊成為我們的一份子,註冊的程序十分簡單、快速,而且最重要的是--註冊是完全免費的!

請點擊這裡:『註冊成為我們的一份子!』

Google 提供的廣告


 
 
主題工具 顯示模式
舊 2004-03-08, 01:01 AM   #1
psac
榮譽會員
 
psac 的頭像
榮譽勳章
UID - 3662
在線等級: 級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時級別:30 | 在線時長:1048小時 | 升級還需:37小時
註冊日期: 2002-12-07
住址: 木柵市立動物園
文章: 17381
現金: 5253 金幣
資產: 33853 金幣
預設 Windows XP GHOST 的 ACPI 問題探討

前一陣子看到罈子上大家討論 XP 萬用版,問題比較集中的是複製後的系統如何開啟 ACPI,今日因為自己要做這方面的工作,不得不作一些瞭解,以下是我搜索到的相關資料及認知,希望能共同探討。

PS: 在論壇上還是個新手,請大家多多鼓勵,如有不到之處,請及時指正。

主要資料來自於以下三個網頁:

http://support.microsoft.com/?kbid=309283

http://support.microsoft.com/default...b;EN-US;299340

http://www.joshie.com/~jlevitsk/blog...es/000032.html

1. 為什麼要在 GHOST 之前,將 ACPI PC 改為 Standard PC ?




Microsoft does not support running a HAL other than the HAL that Windows Setup would normally install on the computer. For example, running a PIC HAL on an APIC computer is not supported.

Although this configuration may appear to work, Microsoft does not test this configuration and you may have performance and interrupt issues. Microsoft also does not support swapping out the files that are used by the HAL to manually change HAL types.

When you create a Sysprep image, the image must contain the correct HAL type for the target computer.



Windows 安裝時會首先決定硬體抽像層 (HAL) ,並根據此訊息安裝系統檔案,Microsoft 未對安裝後的系統在不同硬體抽像層的 PC 上執行作測試,也不保證能正常使用。

當 GHOST 產生的映像檔案在不同的系統上使用時,只有 Standard PC 能相容所有的系統,因此需在 GHOST 之前調整此設置。

2. 已安裝的系統如何更改硬體抽像層?



The reason Windows would not boot past loading the initial quasi-DOS drivers was because of the HAL being wrong.

Microsoft recommends that you switch HALs for troubleshooting purposes only or to workaround a hardware problem.

Device Manager does not permit the change from a Non-ACPI HAL to an ACPI HAL. You must use a new install of Windows XP or Windows Server 2003 for this type of change. Change from an ACPI HAL to a Non-ACPI HAL only for troubleshooting purposes.



當系統不能正常啟動時,需要調整硬體抽像層設置。但 Microsoft 僅在系統設置管理員中提供將 ACPI PC 改為不支持 ACPI (Standard PC) 的途徑以供排除故障,卻不提供從系統設置管理員中改回 ACPI PC 。



To force in a system Hardware Abstraction Layer (HAL) during an upgrade or installation of Windows XP, note that during the Text-mode phase of Setup, you receive the following informational message across the bottom of the screen:

Press F6 if you need to install a third-party SCSI or RAID driver.
When this message appears, press F5. You can now make HAL choices by viewing the different options. Note that if you instead press F7, the Standard PC HAL loads, and the ACPI compliance check is bypassed.



要更改硬體抽像層,你可以使用安裝盤啟動,當提示按 F6 鍵安裝第三方磁碟驅動時,按 F5 鍵可以手動選擇正確的 HAL 定義,或者按 F7 鍵強制使用 Stardard PC 。

3. 如何通過更改系統檔案的方法實現切換 ACPI 設置?



The following list describes the computers that you can deploy a particular Sysprep image to based on the HAL type in the source computer:

You can deploy a Sysprep image created on a computer that uses a Standard PC, Non-ACPI PIC HAL (Hal.dll) to a computer that uses the following HAL types:
Standard PC, Non-ACPI PIC HAL (Hal.dll)

You can deploy a Sysprep image created on a computer that uses an Advanced Configuration and Power Interface (ACPI) PC, ACPI PIC HAL (Halacpi.dll) to a computer that uses the following HAL types:
Advanced Configuration and Power Interface (ACPI) PC, ACPI PIC HAL (Halacpi.dll)

You can deploy a Sysprep image created on a computer that uses a MPS Uniprocessor PC, Non-ACPI APIC UP HAL (Halapic.dll) to a computer that uses the following HAL types:
MPS Uniprocessor PC, Non-ACPI APIC UP HAL (Halapic.dll)
MPS Multiprocessor PC, Non-ACPI APIC MP HAL (Halmps.dll)

You can deploy a Sysprep image created on a computer that uses a MPS Multiprocessor PC, Non-ACPI APIC MP HAL (Halmps.dll) to a computer that uses the following HAL types:
MPS Multiprocessor PC, Non-ACPI APIC MP HAL (Halmps.dll)
MPS Uniprocessor PC, Non-ACPI APIC UP HAL (Halapic.dll)

You can deploy a Sysprep image created on a computer that uses an ACPI Uniprocessor PC, ACPI APIC UP HAL (Halaacpi.dll) to a computer that uses the following HAL types:
ACPI Uniprocessor PC, ACPI APIC UP HAL (Halaacpi.dll)
ACPI Multiprocessor PC, ACPI APIC MP HAL (Halmacpi.dll)

You can deploy a Sysprep image created on a computer that uses an ACPI Multiprocessor PC, ACPI APIC MP HAL (Halmacpi.dll) to a computer that uses the following HAL types:
ACPI Multiprocessor PC, ACPI APIC MP HAL (Halmacpi.dll)
ACPI Uniprocessor PC, ACPI APIC UP HAL (Halaacpi.dll)



安裝 Windows 時會根據系統硬體抽像層,將安裝盤上的 HAL ACPI 鏈接庫複製到 %windir%\system32\hal.dll

根據你的系統,會複製不同的檔案,但複製到系統後檔案名都是 hal.dll。
Standard PC (Hal.dll)
ACPI PC (Halacpi.dll)
ACPI Uniprocessor PC (Halaacpi.dll)
常用的就是以上三種,如果有多處理器的等等,請參照上面原文 (多處理器系統還有個檔案不同: NTOSKNRL.EXE)

只要將安裝光碟上的 Halacpi.dll 或者 Halaacpi.dll 檔案提取,覆蓋系統的 hal.dll 檔案,即可在下次重啟時將 Standard PC 更改為 ACPI PC (這個檔案在系統啟動後也可以替換) 。

要更方便的替換檔案,可以使用這個安裝包:

http://www.slime2.com.tw/forums/show...threadid=98952

4. 如何知道我的系統現在使用什麼 HAL ACPI 檔案?

檢視 %windir%\system32\hal.dll 的內容->版本->源檔案名。


意思是如果ghost後導致acpi有問題,可以用替換檔案方法更改到正常的acpi狀態?

另外的問題:如果未知是否機器支持acpi而錯誤的更改設備管理將Stardard PC 改變為
ACPI PC,結果導致機器崩潰(winxp和win2k 都會這樣) ,那麼可以在dos下替換檔案達到恢復windows嗎?

acpi可以完成,參考以前BBS的相關帖子,我試著自己做了可以複製的XP,安裝完後,解壓縮XP VOL安裝盤上的檔案頭為hal的檔案,如果是PIII的用halacpi.dll(75.6k),PIV 845主機板用halaacpi.dll(124K),將其改名為hal.dll,覆蓋\windows\system32下的原檔案(原檔案為Stand PC,大小為99k),重啟後刪除Stand PC即可。如果擔心重啟當機 ,只要用Stand PC的hal.dll替換即可(ntfs分區需要用ntfsdos啟動進行替換)
目前865+超線程的CPU沒有通過,XP當機 ,但安全模式可以啟動,估計是XP認為2個CPU的緣故(還需卸載CPU?),現在我已沒有這樣的機器可以試,所以一直沒有解決。


Q:
雖然這樣做也可能會解決問題,但這樣複雜的方法還不如直接用XP光碟安裝系統得了




A:
十五分鐘裝好所有系統和軟體和兩小時以上,你怎麼選擇?
用ghost裝過十數台不同主機板的機子。
我是在一台p3bf的板子上做的這個xp ghost的。
然後在440,845,810,815,693,266,800等桌上型機和一台聯想的筆記本上恢復過。
有一台430的機子沒有成功。後來想可能是板子上的acpi沒有開啟。
曾在一台693的機子上沒有成功,但在bios裡開啟acpi後成功了。

前段用全新安裝的方法,做得都失去耐心,幸好有了ghost,裝機才再次成為樂趣

並沒有出現不能軟關機之類的問題。可能是裝的機子都有acpi有關吧。
還沒有遇過雙線程,scsi,sata的機子。

Q:
另外有別人說.....

ghost,在845、848、nforce、694主機板上通過。

經驗:ghost後先裝各類驅動,然後改為acpi,重新啟動後,系統會自己重新安裝驅動,也就是你先前安裝的驅動。如果有一個個驅動沒有安裝好,acpi是改不過來的。
A:
我也沒有這個過程。很簡單,ghost之後,全自動





參考.............

http://support.microsoft.com/default...b;en-us;314477


psac 目前離線  
送花文章: 3, 收花文章: 1631 篇, 收花: 3205 次
 



發表規則
不可以發文
不可以回覆主題
不可以上傳附加檔案
不可以編輯您的文章

論壇啟用 BB 語法
論壇啟用 表情符號
論壇啟用 [IMG] 語法
論壇禁用 HTML 語法
Trackbacks are 禁用
Pingbacks are 禁用
Refbacks are 禁用

相似的主題
主題 主題作者 討論區 回覆 最後發表
教學 - Winxp優化70招 psac 作業系統操作技術文件 9 2006-06-17 09:00 PM
主要 Microsoft 伺服器產品使用的網路連接阜 psac 網路軟硬體架設技術文件 4 2004-09-19 07:44 AM
群組原則套用全攻略 psac 網路軟硬體架設技術文件 2 2003-09-01 07:15 AM
Windows 2000/Xp 錯誤編號詳解(收集整理) psac 作業系統操作技術文件 9 2003-08-03 03:27 PM


所有時間均為台北時間。現在的時間是 01:28 AM


Powered by vBulletin® 版本 3.6.8
版權所有 ©2000 - 2024, Jelsoft Enterprises Ltd.


SEO by vBSEO 3.6.1