|
呵呵,,一字之差呀,要是不上图,,我还没弄明白呢,,,以为是加载不到外置,,,,这才看明白,是加载不到自定义加放的外置,不是加载不到原PE外置
有两个方法解决:
一、内存足够大,最好是512或以上,,打包完成后,编辑WC2008文件夹下的 udw7.ini和ud03.ini的最后几行
wc2008\ud\udw7.ini | _sub hx_ww7pxe
TEAM EXEC =!FBINST (ud) output "%PEPH%/W7COM.wim" X:/%PEPH%/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/WCINOP.wim" X:/%PEPH%/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/BASIC.wim" X:/%PEPH%/PROGRAMS/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/nettools.wim" X:/%PEPH%/PROGRAMS/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/OPE.wim" X:/%PEPH%/PROGRAMS/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/WIN7NET.wim" X:/%PEPH%/PROGRAMS/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/ABR.1738.wim" X:/%PEPH%/PROGRAMS/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/ABR.1738CN.wim" X:/%PEPH%/PROGRAMS/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/ABR.2343.wim" X:/%PEPH%/PROGRAMS/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/ATH6154.wim" X:/%PEPH%/PROGRAMS/%~nx
envi MyIni=X:\%PEPH%
_end
|
wc2008\ud\ud03.ini | _SUB set_imdisk
ifex %imhd%\,!RAMD ImDisk,L256,NTFS,%imhd%,2003OP `要创建一个256M的虚拟盘
WAIT 500
PATH %imhd%\mdtemp
ifex %imhd%\mdtemp,team file %imhd%\mdtemp!team DFMT %imhd%,NTFS,2003OP|WAIT 500
_END
_sub op_w03pxe
load %mountpath%\K3COM\main.ini
load %mountpath%\WCINOP\main.ini
envi imhd=W:
Exec =!cmd /c "echo Envi imhd=%imhd%>>%systemdrive%\MyIni.ini
Call set_imdisk
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/BASIC.wim" %imhd%/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/K3NET.wim" %imhd%/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/nettools.wim" %imhd%/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/OPE.wim" %imhd%/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/ABR.1738.wim" X:/%PEPH%/PROGRAMS/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/ABR.1738CN.wim" X:/%PEPH%/PROGRAMS/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/ABR.2343.wim" X:/%PEPH%/PROGRAMS/%~nx
TEAM EXEC =!FBINST (ud) output "%PEPH%/PROGRAMS/ATH6154.wim" X:/%PEPH%/PROGRAMS/%~nx
_end
|
二、因为在加载UD扩展区的WIM文件前,需要先将WIM提取到内存,,老机器的小内存电脑就有点麻烦了,,建议,在可见区根目录创建一个PETOOLS文件夹,将自定义添加的.WIM文件放入,,,启动进入桌面后,点击桌面或开始菜单的 搜索PETOOLS 选择如下图所示,,如果不想用PETOOLS搜索功能单独加载,,可以直接双击PETOOLS文件中要加载的WIM文件,,如果WIM中存在MAIN.INI,会自动加载MAIN.INI
PS:
小内存电脑,可以在进入桌面后,先执行任务栏的设置虚拟内存,,设置256M或以上,,然后右键点击硬盘盘符,用IMDISK创建个 256M的 W:盘,,点击桌面“系统设置管理”卸载外置再重新加载....
下一版本更新,,加个内存判断,,如内存足够大,就直接全部载入WIM,,内存较小就弹出将外置WIM载入到可写硬盘分区的提示
[ 本帖最后由 网虫2008 于 2012-1-25 07:04 编辑 ] |
|