无忧启动论坛

标题: NTBOOT无法引导win7z.vhd [打印本页]

作者: lyfengyun    时间: 2011-11-25 20:43
标题: NTBOOT无法引导win7z.vhd
checkrange 0x21 read 0x8280 && pxe detect NotExist
timeout 10
default 0
gfxmenu /message
configfile /MENU.LST
debug off
if not exist NTBOOT set NTBOOT=/boot/ntboot/ntboot

#启动 WIN7 VHD系统
title [2] 启动 WIN7 VHD 系统
find  /boot/win7z.vhd   ||  command %NTBOOT% NT6=/win7z.vhd
command %NTBOOT% NT6=/boot/win7z.vhd

无法引导win7z.vhd,只是屏幕一闪,就返回到主菜单。
作者: chenall    时间: 2011-11-25 21:00
请确认你的文件是否存在,可以进入命令行手工输入命令测试。
作者: lyfengyun    时间: 2011-11-26 12:05
好像是“if not exist NTBOOT set NTBOOT=/boot/ntboot/ntboot”放在”gfxmenu /message“后面造成的,不知道什么缘故,当我办二者的顺序调整写成如下格式时,居然可以了
checkrange 0x21 read 0x8280 && pxe detect NotExist
timeout 10
default 0
debug off
if not exist NTBOOT set NTBOOT=/boot/ntboot/ntboot

gfxmenu /message
configfile /MENU.LST

#启动 WIN7 VHD系统
title [2] 启动 WIN7 VHD 系统
find  /boot/win7z.vhd   ||  command %NTBOOT% NT6=/win7z.vhd
command %NTBOOT% NT6=/boot/win7z.vhd
作者: lyfengyun    时间: 2011-11-26 12:06
有谁遇见过没,谁能解释一下
作者: chenall    时间: 2011-11-26 15:54
因为gfxmenu之后的命令不会被执行,除非退出GFX模式。

论坛里面有先例。
作者: lyfengyun    时间: 2011-11-27 20:33
学习了,谢谢chenall 老师




欢迎光临 无忧启动论坛 (http://bbs.wuyou.net./) Powered by Discuz! X3.3