|
|
本帖最後由 smallhaung 於 2012-3-30 23:54 編輯
我的硬碟 有分成 c:(主分割 灌有win7系統) d:(邏輯分割) e:(邏輯分割)
在win7開機系統下看c:(hd0,0)
d: (hd0,4)
e: (hd0,5)
用系統管理器看 c:d: e: 在磁碟0
usb隨身碟是g: 在磁碟1
硬碟 我有用BOOTICE.EXE工具 在主引道記錄 選grub4dos 在 分區引道記錄 選bootmgr
usb隨身碟 我有用BOOTICE.EXE工具 在主引道記錄 選grub4dos 在 分區引道記錄 選grub4dos
以下是我usb根目錄下的 menu.lst選單
checkrange 0x21 read 0x8280 && pxe detect NotExist
color normal=0x1F highlight=0xE1 helptext=0x1D heading=0x0A standard=0x0F border=0x1F
font /unifont.gz
splashimage /BG.lzma
timeout 10
default 0
title 【1】 備份&還原 \n 進入Acronis True Image 進行備份或還原
find --set-root /tureimage.iso
map /tureimage.iso (0xff) || map --mem /tureimage.iso (0xff)
map --hook
chainloader (0xff)
title 【2】 WinPE \n 進入PE作維護
##find --set-root /FIRADISK.IMG
##map --mem /FIRADISK.IMG (fd0)
find --set-root /Win7PE.iso
map /Win7PE.iso (0xff) || map --mem /Win7PE.iso (0xff)
map --hook
chainloader (0xff)
title 【3】 Windows 7 \n 啟動Windows 7系統
find --set-root /grldr.mbr
chainloader /grldr.mbr
title 【4】 Windows 7 \n 啟動Windows 7系統
find --set-root /bcd
chainloader /grldr.mbr
title 【5】 Windows 7 \n 啟動Windows 7系統
find --set-root /bcd
chainloader /grldr
title 【6】 Windows 7 \n 啟動Windows 7系統
find --set-root --devices=h /grldr || find --set-root --devices=h /bootmgr || find --set-root --devices=h /ntldr || find --set-root --devices=h /Boot/BCD
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /grldr || find --set-root --ignore-floppies --ignore-cd /bootmgr || find --set-root --ignore-floppies --ignore-cd /ntldr || find --set-root --ignore-floppies --ignore-cd /Boot/BCD
chainloader /grldr || chainloader /bootmgr || chainloader /ntldr || chainloader /bootmgr
title FIND
commandline
title 重啟
reboot
我的問題是 【3】~【6】 沒有一個能正常作動
我在grub4dos commandline下命令find 只出現(hd0,0)
是不是usb開機沒辦法抓我的硬碟 所以我那些選單都沒法尋找硬碟下的東西
這是我C:\menu.lst 可正常運作的選單
checkrange 0x21 read 0x8280 && pxe detect NotExist
color normal=0x1F highlight=0xE1 helptext=0x1D heading=0x0A standard=0x0F border=0x1F
font /unifont.gz
splashimage /BG.lzma
timeout 5
default 0
title 【1】 Windows 7 \n 啟動Windows 7系統
find --set-root --devices=h /win7.BIN <--這個是我用bootice備分出來的PBR
因為要破win7激活
map () (hd0)
map (hd0) ()
map --rehook
chainloader /win7.BIN
title 【2】 備份&還原 \n 進入Acronis True Image 進行備份或還原
map (hd0,5)/bootmenutools/tureimage.iso (0xff) || map --mem (hd0,5)/bootmenutools/tureimage.iso (0xff)
map --hook
chainloader (0xff)
title 【3】 Win7PE \n 進入PE作維護
map (hd0,5)/bootmenutools/Win7PE.iso (0xff) || map --mem (hd0,5)/bootmenutools/Win7PE.iso (0xff)
map --hook
chainloader (0xff)
|
|