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

2025-09-16

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启动的情况。


Grub4dos0.4.6a的中文字库的有效加载命令.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:综合接入维护考试题库和答案2024

相关阅读
本类排行
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 7

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xuecool-com QQ:370150219