无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 4349|回复: 5
打印 上一主题 下一主题

[求助] RUN不能运行和修理字体大小两个问题。

[复制链接]
跳转到指定楼层
1#
发表于 2016-12-30 15:43:23 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
各位大侠,小白在坛子里泡了几天,看了一篇帖子:《增强 GRUB4DOS 菜单编辑功能,支持动画,支持精简字库,支持图形菜单〉下载了动画演示,改成了自己的启动界面,但是出现了问题
1.主界面的字体太小了,怎么改变字体,变大点就行?
2。里面的RUN功能运行不了了,在U盘上运行,不是黑屏,就是花屏,以前做的没有问题,放在这里就不行了。
求哪位高手帮助指点修改一下。谢谢。
附件限制没法传,我在这里说一下,用的grldr文件就是上面提到的动画演示的文件,里面的menu.lst文件内容改成了这样;

# 设置vbe图形模式
if /I NOT exist (3)/easy2boot.bmp graphicsmode -1 800

# 将动画素材移动到内存
if /I NOT exist (3)/easy2boot.bmp map --mem /dhys.ima (3) && map --hook

# 默认延迟时间(秒)
timeout 30

# 第一项为默认值
default 3

# 设置中文字体文件
font --font-high=36 /5-24-li.hex


#自适应图分辨率

graphicsmode -1 320:1024 240:768 24:32

#颜色设置
setmenu --box x=32 w=0 y=13 h=20 l=0    --ver-off
setmenu --lang=zh  --timeout=90=6=0xff00
setmenu --keyhelp=1=0x66ff00
setmenu --font

# 设置菜单背景图
splashimage /back1.jpg


# 设置菜单动画
splashimage --animated=0x90=10=5=40=650 (3)/DH-HEI-1.BMP


title 1.进入windows PE启动选单
configfile ()/boot/grub/stpe.lst || find --set-root /boot/grub/stpe.lst && configfile /boot/grub/stpe.lst

title 2.运行Dos Plus工具箱
echo $[1106] loading dos image, please wait ...
map --mem ()/boot/imgs/max_dos.ima (fd0) || find --set-root /boot/imgs/max_dos.ima && map --mem /boot/imgs/max_dos.ima (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title 3.运行ghost快速备份还原
echo $[1106] loading ghost image, please wait ...
map --mem ()/boot/imgs/ghost.ima (fd0) || find --set-root /boot/imgs/ghost.ima && map --mem /boot/imgs/ghost.ima (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title 4.运行硬盘分区工具集
configfile ()/boot/grub/disk.lst || find --set-root /boot/grub/disk.lst && configfile /boot/grub/disk.lst

title 5. 运行硬件检测工具集
configfile ()/boot/grub/hdwr.lst || find --set-root /boot/grub/hdwr.lst && configfile /boot/grub/hdwr.lst

title 6.运行密码清除工具集
configfile ()/boot/grub/pwcl.lst || find --set-root /boot/grub/pwcl.lst && configfile /boot/grub/pwcl.lst

title 7.运行RUN智能扩展模块
configfile ()/boot/grub/run.lst || find --set-root /boot/grub/run.lst && configfile /boot/grub/run.lst

title 8.硬盘启动计算机
find --set-root --devices=h /bootmgr || find --set-root --devices=h /ntldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --devices=h /bootmgr || find --set-root --devices=h /ntldr
chainloader /bootmgr || chainloader /ntldr

title 9.关闭计算机电源
halt

title 10.切换到Easyboot菜单
if "%@root%"=="(cd)" echo cd && set bcs=force && set bfl=loader.bin
if not "%@root%"=="(cd)" echo nocd &&  set bcs=raw  && set bfl=ezldr
chainloader --%bcs% ()/boot/%bfl% || find --set-root /boot/%bfl% && chainloader --%bcs% /boot/%bfl%      

title 11.进化为……。
password=1234
configfile (bd)/BOOT/GRUB/ANZU.LST

Run.lst文件:
timeout 10
default 0
gfxmenu ()/boot/grub/message || find --set-root /boot/grub/message && gfxmenu /boot/grub/message
configfile (md)0x880+0x200

title 1.搜索运行DOSDIY目录工具
command ()/boot/grub/RUN --automenu --show.iso.ima.img.gz.lst.lzma /DOSDIY/ || find --set-root /boot/grub/RUN && /boot/grub/RUN --automenu --show.iso.ima.img.gz.lst.lzma /DOSDIY/

title 2.直接安装Win7系统(放U盘)
command ()/boot/grub/RUN /win7mgr

title 3.直接安装Win8系统(放U盘)
command ()/boot/grub/RUN /win8mgr

title 4.先运行手工U盘加速
command ()/boot/grub/USB_ACC.0PE
configfile (md)0x880+0x200

title 5.先运行智能U盘加速
command ()/boot/grub/USB_ACC.0PE mode:auto --time-out-enable:0 --time-out-disable:0 --version:plpbt.bin(5.0.10)
configfile (md)0x880+0x200


title 6.返回EasyBoot主菜单      
if "%@root%"=="(cd)" echo cd && set bcs=force && set bfl=loader.bin
if not "%@root%"=="(cd)" echo nocd &&  set bcs=raw  && set bfl=ezldr
chainloader --%bcs% ()/boot/%bfl% || find --set-root /boot/%bfl% && chainloader --%bcs% /boot/%bfl%

title 7. ===重启计算机系统===
reboot
title 8. ===关闭计算机系统===
halt

目录中有调用message文件的lst,经测试没有问题,只有这一个RUN.lst中“搜索运行DOSDIY目录工具”不能运行,在别的盘里(不是调用动画演示的grldr的就没)请帮助。
谢谢。
推荐
发表于 2016-12-30 17:13:26 来自手机 | 只看该作者
分辨率设置了2次。  字体高度=24,为什么设置为36?  RUN需要新版本,从网上查一查
回复

使用道具 举报

3#
 楼主| 发表于 2016-12-30 20:20:38 | 只看该作者
RUN问题已经解决,是我调用了message,grldr是新版,所以不行。现在求大家帮忙,能不能把菜单字体变大些,24设置太小了,改成36也没有变化,还是一样大小。求帮助。
回复

使用道具 举报

4#
发表于 2016-12-30 20:39:40 来自手机 | 只看该作者
字体不是你设置多大就是多大。要有相应的字库。你可以自己生成32*32字体。可以增大行间距,字间距。或者减小菜单窗口,旁边插图等等。
回复

使用道具 举报

5#
 楼主| 发表于 2016-12-31 09:59:02 | 只看该作者
谢谢大神指点。字体大小已经搞定,是俺的根目录下多了一个menu.lst文件,导致不能挂载字体。谢谢指点。
回复

使用道具 举报

6#
发表于 2018-3-28 23:30:42 | 只看该作者
大神,,可以用你解决的结果给大家出个教程吗,,好让大家参考一下。。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-4-24 11:54

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表