2012年10月8日 星期一

Install Windows 7 to USB disk

Reference: http://www.intowindows.com/how-to-install-windows-7-to-usb-external-hard-drive-must-read/

目的:將 Windows 7 安裝到 USB disk,並從 USB disk 開機。

步驟:
1. 將 USB disk 格式化為 NTFS (USB disk 空間需求至少 10GB)

2. download and install Windows Automated Installation Kit

3. download NT6.X_fast_installer_100219.7z

4. Create two folders named Windows Files and WAIK Files on your PC.

5. extract NT6.X_fast_installer_100219.7z to WAIK Files folder

6. 在 C:\Program Files\Windows AIK 搜尋 Bcdboot.exe, Bootsect.exe and Imagex.exe 這三個檔案,複製到 WAIK Files 目錄。(會搜尋到三個版本的檔案,如果現在的 OS 是 x64 就複製 x64 的檔案)

7. 將 Windows 7 安裝光碟的所有檔案複製到 Windows Files

8. 以管理員權限執行 WAIK Files 目錄內的 Installer.cmd


9. Press Enter key to browse to the install.wim file present in the Windows Files folder. The Install.wim file can be found under Sources folder (Windows Files/ Sources/ install.wim).


10. 選擇要安裝的 OS

11. 輸入要安裝 Windows 7 的 USB disk 代號

12. 輸入要安裝開機檔的 USB disk 代號

13. 確認

14. 按 Enter 開始製作

15. USB disk 製作完成後重新開機,請調整 BIOS 開機順序用 USB 開機。Windows 7 會繼續安裝。

16. 大功告成。

2015/9/15 update:
這個方法只能用在 USB 2.0 的機器上,如果插在 USB 3.0 port 開機會藍底白字.....

2015/9/24 update:
製作時 PC 請用 BIOS 方式開機,如果 PC 用 UEFI 方式開機,製作出來 USB 開機碟在開機時會出現 BOOTMRG missing。
補救方式 -- PC 用 BIOS 開機後插上 USB (假設 USB 為 I:),到 WAIK Files 目錄執行已下兩個指令。
bcdboot i:\windows /s i:
BootSect.exe /nt60 i:
如果是用 UEFI 開機的 PC,執行上面兩個指令會有錯誤訊息。
BFSVC: Failed to open handle to bootmgr object. Status = [c0000034]
This tool can only be run on systems booted using a PC/AT BIOS.  This system
was booted using EFI or some other firmware type.

沒有留言:

張貼留言