|
U盘启动Grub4DOS加载ISO安装XP失败 求教
菜单完全照抄 http://bbs.wuyou.net/forum.php?mod=viewthread&tid=177790&extra=page%3D2 sratlf 大大的
title img&iso
command --set-path=(bd)/BOOT/GRUB && checkrange 0x80 read 0x8280 && map (hd0) (hd-1) && map (hd1) (hd0) && map --rehook && root (hd-1,0)
WENV reset && clear && echo \nPlease input ISO/IMG PATH or press Enter to use /WIN$.ISO as default.\n
WENV set path=$U,$input,Input PATH here, begin with "/" :
WENV get path || clear && echo \nNow use /WIN$.ISO as default. && WENV set path=/WIN$.ISO
WENV check ${path:0:1}<>/ set path=/${path}
#checkrange 0x9f:0xff read 0x8280 && WENV set de=${path##/} && WENV check ${de#.}<>${de##.} set path=${path%/}/${de%%.}_${de#.}
WENV check ${path##.}<>ISO call find --set-root --ignore-floppies ${path} ]]| pause File not found,Press any key to return... ]]& configfile (md)4+1
WENV check ${path##.}<>ISO call clear ]]& echo \nNow loading ${path} ...\n ]]& map --mem ${path} (fd0) ]]& map --hook ]]& rootnoverify (fd0) ]]& chainloader (fd0)+1 ]]& boot
map --mem (bd)/BOOT/IMGS/FIRADISK.IMG (fd1) || map --mem (hd-1,0)/BOOT/IMGS/FIRADISK.IMG (fd1)
map --mem (md)0x6000+2880 (fd0)
dd if=(fd1) of=(fd0) count=1 && clear
WENV check ${path##.}==ISO call find --set-root --ignore-floppies ${path} ]]| pause File not found,Press any key to return... ]]& configfile (md)4+1
WENV check ${path##.}==ISO call clear ]]& echo \nNow loading ${path} ...\n ]]& map --mem ()${path} (0xff) ]]& map --hook ]]| map ()${path} (0xff) ]]& map --hook
echo \nInput D to boot from the disk to continue System Installation \nor press Enter key to boot form the ISO.\n
WENV set in=$U,$input,Input here :
WENV check ${in}<>D call chainloader (0xff) && boot
find --set-root --ignore-floppies --ignore-cd /$LDR$ && cat --length=0 ()/WIN_NT$.~BT/SETUPLDR.BIN && chainloader --force /$LDR$ && boot
find --set-root --ignore-floppies --ignore-cd /$LDR$ && cat --length=0 ()/NTDETECT.COM && chainloader --force /$LDR$ && boot
find --set-root --ignore-floppies --ignore-cd /NTLDR && cat --length=0 ()/NTDETECT.COM && chainloader --force /NTLDR && boot
kernel || pause File not found,Press any key to return... && configfile (md)4+1
U盘启动是 Grub4DOS Toolbox for Windows 制作的
版本 grub4dos-0.4.5b-2010-11-24.zip chenall 最新版
wenv-2010-11-24.zip
U盘根目录文件列表
\grldr (菜单内置)
\MiniPE
\BOOT\GRUB\wenv
\BOOT\IMGS\FIRADISK.IMG
\WIN$.ISO (由XP SP3 MSDN镜像改名)
结果启动 可以进入我的pe 但iso加载出现
error 30: invalid argument
请问这个怎么回事啊
[ 本帖最后由 blbl 于 2010-11-24 17:32 编辑 ] |
|