Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows Server 系統教學 >> Server 2008

硬碟安裝 Windows Server 2008 32/64 位元完整教學:從 PE 環境到 setup.exe 執行

編輯:Server 2008

無光碟機環境下,透過硬碟啟動安裝 Windows Server 2008 是常見需求。本文詳細說明 32/64 位元差異、啟動磁區準備、WinPE 下格式化與執行安裝的完整流程。

前置準備

  • 可開機的 WinPE 隨身碟/光碟(含 bootsect.exe、format、diskpart)。
  • Windows Server 2008 ISO 掛載或解壓至資料夾(例:F:\x64\)。
  • 目標電腦 BIOS 設定為 USB/硬碟優先啟動。

64 位元版額外步驟:複製 64 位元 bootsect.exe

32 位元環境無法執行 64 位元 bootsect.exe,需先複製 64 位元版本至硬碟:

  1. 將 ISO 內 \boot 資料夾複製至 C:\boot。
  2. 複製 bootmgr 至 C:\。
  3. 在 C:\ 建立 sources 資料夾,複製 F:\x64\sources\boot.wim 至 C:\sources\。
  4. 取得 64 位元 bootsect.exe(可從 64 位元 ISO \boot 或 Windows 7/2008 R2 安裝媒體取得),放置 C:\。

寫入啟動磁區

  1. 在 WinPE CMD 執行:
    C:\bootsect /nt60 C:
  2. 若不放心,可用 C:\boot\bootsect.exe(64 位元版)覆蓋執行一次。

啟動安裝程式並進入修復模式格式化

  1. 重新啟動,從硬碟啟動進入 Windows Setup 介面,選擇語言/鍵盤 →「下一步」。
  2. 「立即安裝」畫面**不要點擊**,改點左下角「修復您的電腦」。
  3. 選擇「命令提示字元」。
  4. 格式化 C 槽:
    format C: /fs:ntfs /q
  5. 刪除啟動檔案避免衝突:
    del bootsect.exe
    del bootmgr
    rd /s /q boot
    rd /s /q sources
    (若刪除失敗,先 attrib -s -r -h 檔名 移除屬性)

執行正式安裝

  1. 在 CMD 輸入:
    F:\x64\sources\setup.exe
  2. 進入標準圖形化安裝流程:輸入序號、選擇版本、接受授權、選擇「自訂(進階)」→ 選取 C 槽 →「下一步」。
  3. 安裝完成後移除隨身碟,重新啟動進入系統。

32 位元版差異

32 位元 ISO 內建 32 位元 bootsect.exe,可直接在 32 位元 WinPE 執行 bootsect /nt60 C:,**無需額外複製 64 位元 bootsect.exe**,其餘步驟相同。

常見問題

錯誤原因對策
bootsect.exe 非有效 Win32 應用程式在 32 位元 PE 執行 64 位元 bootsect使用 64 位元 PE 或複製 32 位元 bootsect
安裝程式找不到 boot.wimsources\boot.wim 路徑錯誤確認複製至 C:\sources\boot.wim
重新啟動進入舊系統啟動磁區未正確寫入重新執行 bootsect /nt60 C:

依循本流程,無論 32 或 64 位元,均可在無光碟機環境順利完成 Windows Server 2008 硬碟安裝。

Copyright © Windows教程網 All Rights Reserved