|
grapeskin
初级用户
 
积分 123
发帖 54
注册 2006-12-1
状态 离线
|
『楼 主』:
[已解决]grub写入mbr无法显示中文
使用 LLM 解释/回答一下
用dos启动后运行grub可以显示中文菜单,可是把grub写入mbr后就显示乱码了,请问高手是怎么回事,grub写入mbr只能显示英文吗,如果能显示中文应该如何操作。
Last edited by grapeskin on 2007-8-8 at 06:30 PM ]
After booting with DOS, running GRUB can display the Chinese menu, but after writing GRUB to the MBR, it shows garbled characters. May I ask experts what's the matter? Does writing GRUB to the MBR only display English? If it can display Chinese, how should one operate?
Last edited by grapeskin on 2007-8-8 at 06:30 PM ]
|
|
2007-8-8 18:04 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
grub 的主体程序是 grldr 或者 grub.exe。只要这两个是中文版的,菜单就支持中文。
写入 MBR 中的代码,只有很少一部分字节的,它只是用来引导 GRLDR 的,根本不需要是中文的(或者说我们目前没有把它打造成中文的)。只要搜索到 GRLDR ,那么中文就会支持的。但是,如果搜索不到 fonts 文件,你可能还是停留在英文状态,此时的菜单上的中文,当然会是乱码了。
The main program of grub is grldr or grub.exe. As long as these two are in Chinese version, the menu supports Chinese.
The code written into the MBR has only a very small number of bytes. It is only used to boot GRLDR, and it doesn't need to be in Chinese at all (or to put it simply, we haven't made it Chinese for now). As long as GRLDR is found, Chinese support will be available. But if the fonts file is not found, you may still stay in English state, and then the Chinese on the menu will of course be garbled.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2007-8-8 18:17 |
|
|
grapeskin
初级用户
 
积分 123
发帖 54
注册 2006-12-1
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
已解决,我把chinese文件夹里的那个grldr拷贝过去就成了,谢谢不点的指点。呵呵
Last edited by grapeskin on 2007-8-8 at 06:31 PM ]
Solved, I just copied the grldr in the chinese folder over, thanks to the guidance of BuDian. Hehe
Last edited by grapeskin on 2007-8-8 at 06:31 PM ]
|
|
2007-8-8 18:25 |
|
|
tinglang
初级用户
 
积分 33
发帖 16
注册 2007-3-4
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
汗 一番搜索又跑到这里了 又看到不点了~~
我想要引导提示信息为中文
Sweat After a search, I ran to here again. I saw it again and didn't click~~
I want the boot prompt information to be in Chinese
|
|
2008-3-16 03:28 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
Originally posted by tinglang at 2008-3-16 03:28:
我想要引导提示信息为中文
可以肯定的说这是不可能的
Originally posted by tinglang at 2008-3-16 03:28:
I want the boot prompt message to be in Chinese
It can be definitely said that this is impossible
|

第一高手 第二高手
我的小站
 |
|
2008-3-16 10:59 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
目前就grub4dos的MBR引导而言,确实是绝对不可能。
但是,如果你是一个主板制造商家,那么你有可能在主板 BIOS 这个级别支持中文(支持国际化语言)。如果那样的话,你就可以给 grub4dos 的 MBR 代码打上一个补丁,让它显示全中文的信息(国际化语言字符信息)。
所谓主板 BIOS 支持中文,其实主要是指显卡的 BIOS 直接支持中文。这一点绝对可以做到,因为显卡本身的内存简直是海量的,足以容纳 unicode 全部国际化字符集的字模。只是显卡的开发者不曾考虑这一问题,这是一个奇怪现象。如果我是制造电脑的,我肯定要这么做,因为这是一个未开垦的领地,谁能先行一步,谁就可以抢占先机,进而掌握这一领域的事实工业标准。
Currently, regarding the MBR boot of grub4dos, it is indeed absolutely impossible.
But, if you are a mainboard manufacturer, then you may support Chinese (support internationalized languages) at the mainboard BIOS level. If that is the case, then you can patch the MBR code of grub4dos to make it display fully Chinese information (internationalized language character information).
The so-called mainboard BIOS supporting Chinese actually mainly refers to the graphics card's BIOS directly supporting Chinese. This can definitely be done, because the memory of the graphics card itself is extremely large, enough to accommodate the glyphs of the entire Unicode internationalized character set. It's just that the developers of the graphics card didn't consider this issue, which is a strange phenomenon. If I were making a computer, I would definitely do this, because this is an uncharted territory. Whoever can take the lead first can seize the opportunity and then master the de facto industrial standard in this field.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2008-3-16 11:17 |
|
|
hdst
初级用户
 
积分 36
发帖 22
注册 2008-3-9
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
Originally posted by 不点 at 2008-3-16 11:17 AM:
目前就grub4dos的MBR引导而言,确实是绝对不可能。
但是,如果你是一个主板制造商家,那么你有可能在主板 BIOS 这个级别支持中文(支持国际化语言 ...
要在bios里怎样做才可以?我想知道,请回答一下,谢谢!
Originally posted by Budian at 2008-3-16 11:17 AM:
Currently, as far as the MBR boot of grub4dos is concerned, it is indeed absolutely impossible.
But if you are a motherboard manufacturer, then you may support Chinese at the BIOS level of the motherboard (support internationalized languages...
How to do it in BIOS? I want to know, please answer, thank you!
|
|
2008-3-16 16:58 |
|
|
woo88
初级用户
 
积分 188
发帖 96
注册 2008-3-11
状态 离线
|
|
2008-12-16 10:03 |
|