Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win7 硬碟安裝 BT4 (BackTrack 4) 完整教學:Grub4DOS + BCDedit 雙重啟動

編輯:Win7 系統基礎知識

在 Win7 硬碟安裝 BT4,步驟如下:

  1. 下載 grub4dos,解壓 grldr、menu.lst、grldr.mbr 至 C 槽根目錄。
  2. 管理員 CMD 建立 Grub 啟動項:
    bcdedit /create /d "Grub" /application bootsector
    記下產生的 GUID({id}),接著設定:
    bcdedit /set {id} device boot
    bcdedit /set {id} path \grldr.mbr
    bcdedit /displayorder {id} /addlast
    bcdedit /timeout 5
  3. 修改 C:\menu.lst:
    color black/cyan yellow/cyan
    timeout=5
    default=0
    title Windows7
    find --set-root /bootmgr
    chainloader /bootmgr
    boot
    title BT4
    find --set-root /boot/vmlinuz
    kernel (hd0,5)/boot/vmlinuz BOOT=casper boot=casper nopersistent rw quiet vga=0x317
    initrd (hd0,5)/boot/initrd.gz
    boot

    (hd0,5) 邏輯分區計算:hd0 為第一顆硬碟,Grub 邏輯分區從 4 起算,D 槽=4、E 槽=5,請依實際調整。

  4. 下載 BT4 ISO,解壓至對應分區(如 E 槽)。
  5. 若出現雙重啟動選單(先 Grub 再 Win7 選單),可用 EasyBCD 調整順序/名稱或刪除 Grub 項目。

重要: 所有指令需以管理員身分執行。此法實現 Win7 與 BT4 硬碟共存雙啟動。

Copyright © Windows教程網 All Rights Reserved