77范文网 - 专业文章范例文档资料分享平台

Grub4dos0.4.6a的中文字库的有效加载命令

来源:网络收集 时间:2019-03-10 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

Grub4dos0.4.6a的中文字库的有效加载命令

前言:

这是小白教小白,菜鸟教菜鸟,高手请飘过,不怕烦琐,确保证教会。

下载专为grub4dos准备的unifont.hex 格式的中文字库文件,字库文件大多是gz压缩的文件,将字库文件重命名为fonts.gz。grub4dos支持gz压缩的文件,可直接使用无需解压!

不点大师说:“yaya 已经把中文支持做到内核里了,不用再费劲去重新编译搞中文支持了。新版本已经支持中文了。用户只需要做如下两个工作便可:

(1)把字库弄成 unifont.hex 格式; (2)把菜单弄成 UTF-8 编码。”

一:加载位置:

一般在颜色和等待命令后面加载:

menu.lst菜单的开头部分:

# This is a sample menu.lst file. You should make some changes to it. # The old install method of booting via the stage-files has been removed. # Please install GRLDR boot strap code to MBR with the bootlace.com # utility under DOS/Win9x or Linux. #

# It must be UTF-8 encoding for multi-lingual support. Font lines can be # appended to the file. The font lines should be in the unifont.hex format.

color blue/green yellow/red white/magenta white/magenta(颜色) timeout 30(等待时间)

在这加载“加载中文字库的命令” ## menu border color

color border=0xEEFFEE ## set vbe mode

graphicsmode -1 640:800 480:600 24:32 || graphicsmode -1 -1 -1 24:32 ## loading splashimage

splashimage /boot/grub/splashimage.xpm || splashimage /boot/grub/splashimage.bmp default /default ## Menu AutoNumber write 0x8274 0x2001

例如:

红字部分即是加载的“加载中文字库的命令”:

# This is a sample menu.lst file. You should make some changes to it. # The old install method of booting via the stage-files has been removed.

# Please install GRLDR boot strap code to MBR with the bootlace.com # utility under DOS/Win9x or Linux. #

# It must be UTF-8 encoding for multi-lingual support. Font lines can be # appended to the file. The font lines should be in the unifont.hex format.

color blue/green yellow/red white/magenta white/magenta(颜色) timeout 30(等待时间) find --set-root /grub/fonts.gz font /grub/fonts.gz ## menu border color color border=0xEEFFEE ## set vbe mode

graphicsmode -1 640:800 480:600 24:32 || graphicsmode -1 -1 -1 24:32 ## loading splashimage

splashimage /boot/grub/splashimage.xpm || splashimage /boot/grub/splashimage.bmp default /default ## Menu AutoNumber write 0x8274 0x2001

二:有效的加载命令: 1:

font /fonts.gz

a.字库文件和grldr、menu.lst文件同位于启动分区的根目录——系统中加载Grub4dos启动的情况。

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库Grub4dos0.4.6a的中文字库的有效加载命令在线全文阅读。

Grub4dos0.4.6a的中文字库的有效加载命令.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/508817.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: