无忧启动论坛

标题: (已解决)求教:杏雨梨云USB维护系统 做成GRUB4DOS光盘启动问题? [打印本页]

作者: liuyindou    时间: 2011-9-21 15:34
标题: (已解决)求教:杏雨梨云USB维护系统 做成GRUB4DOS光盘启动问题?
求教:想做成光盘版量产一下。只是调用PE菜单无法实现,不知错在哪里,望高手指教:
1.调用菜单:
timeout 15
default 8
gfxmenu ()/menu/main || find --set-root /menu/main && gfxmenu /menu/main
configfile (md)4+8

title
configfile ()/menu/03pe.lst || find --set-root /menu/03pe.lst && configfile /menu/03pe.lst


title  
echo $[1106] loading ima image, please wait ...
map --mem ()/imgs/dos.ima (fd0) || find --set-root /imgs/dos.ima && map --mem /imgs/dos.ima (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title   
echo $[1106] loading ima image, please wait ...
map --mem ()/imgs/ghost.ima (fd0) || find --set-root /imgs/ghost.ima && map --mem /imgs/ghost.ima (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title   
()/srsf6/srsf6 || find --set-root /srsf6/srsf6 && /srsf6/srsf6

title     
configfile ()/menu/disk.lst || find --set-root /menu/disk.lst && configfile /menu/disk.lst

title      
configfile ()/menu/hdwr.lst || find --set-root /menu/hdwr.lst && configfile /menu/hdwr.lst

title      
configfile ()/menu/pwcl.lst || find --set-root /menu/pwcl.lst && configfile /menu/pwcl.lst

title        
find --set-root /uddiy/xyly.txt || find --set-root /uddiy/sinoxer.txt
()/auto/run --automenu /uddiy/
configfile (md)0x3000+0x10

title         
map --mem ()/imgs/nb.iso (0xff) || find --set-root /imgs/nb.iso && map --mem /imgs/nb.iso (0xff)
map --hook
chainloader (0xff)

title         
halt

2.03PE菜单:
timeout 5
default 0
gfxmenu ()/MENU/03PE || find --set-root /MENU/03PE && gfxmenu /MENU/03PE
configfile (md)4+8
title  
chainloader ()/BOOT/LY_LDR03.BIN || find --set-root /BOOT/LY_LDR03.BIN && chainloader /BOOT/LY_LDR03.BIN
title   
chainloader ()/BOOT/LY_LDRXP.BIN || find --set-root /BOOT/LY_LDRXP.BIN && chainloader /BOOT/LY_LDRXP.BIN
title      
configfile (md)4+8

3.想要实现的界面:
  启动界面,这个已实现且其它都能调用,唯PE不行。


  想调出的功能界面。


原来文件和文件名称换成小写就可以了:03pe.lst如下
  timeout 15
default 0
gfxmenu ()/menu/03pe || find --set-root /menu/03pe && gfxmenu () /menu/03pe
configfile (md)4+8

title  
chainloader /BOOT/LY_LDR03.BIN || find --set-root /BOOT/LY_LDR03.BIN && chainloader /BOOT/LY_LDR03.BIN
title   
chainloader /BOOT/LY_LDRXP.BIN || find --set-root /BOOT/LY_LDRXP.BIN && chainloader /BOOT/LY_LDRXP.BIN
title      
configfile (md)4+8

[ 本帖最后由 liuyindou 于 2011-9-21 16:30 编辑 ]
作者: ytcf    时间: 2011-9-26 22:49
能提供一下做好的FBA包下载吗?




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