China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 01:27
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » [Share] grub4dos Chinese localization patch View 3,430 Replies 11
Original Poster Posted 2004-09-14 00:00 ·  中国 广东 广州 新一代技术(广州)有限公司BGP节点
中级用户
Credits 214
Posts 34
Joined 2004-03-10 00:00
22-year member
UID 19742
Gender Male
Status Offline
Floor 2 Posted 2004-09-15 00:00 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
I don't know if it supports network booting? The source code released by Gandalf on the Grub Chinese homepage supports all the functions you mentioned, and also supports network booting, but it seems that Gandalf hasn't applied the patch for dos pre12 yet.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 3 Posted 2004-09-15 00:00 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
Great, thanks!

I downloaded and took a look. It seems there's no network patch. But the network is a very problematic module: according to Gandalf, when the size of the GRUB executable exceeds 150K, the network part doesn't work. This indicates that there are still serious issues with the network part. Similarly, the scdrom part also has serious issues, so there are reasons not to include these two parts in the release.

I didn't originally plan to include Chinese support in my release because I focus more on general international language support. But bean's patch might partially change my mind. I'm currently thinking that maybe I'll make an international language support patch based on bean's patch. Of course, I can't be sure it will succeed. Gandalf or bean can also consider doing this work. I'm currently improving some basic issues of 0.3 and don't have much time.

Thanks to Gandalf for the large amount of work on NTFS, SCDROM, Chinese localization, network boot, etc., and thanks to bean for bringing us some other surprises.
因为我们亲手创建,这个世界更加美丽。
Floor 4 Posted 2004-09-15 00:00 ·  中国 广东 广州 新一代技术(广州)有限公司BGP节点
中级用户
Credits 214
Posts 34
Joined 2004-03-10 00:00
22-year member
UID 19742
Gender Male
Status Offline
Here is the statement from Climbing on September 15, 2004, 8:19:54:
I don't know if it supports network booting? The source program released by Gandalf on the Chinese homepage of Grub supports all the functions you mentioned, and also supports network booting, but it seems that Gandalf hasn't applied the patch for dos pre12 yet.


The original GNU GRUB already has network support. To add network booting, you just need to recompile with some parameters. For example, if my network card is 3c905C, when compiling, use: ./configure --diskless --enable-3c90x. According to my test, the network module can operate normally, and the diskless PXEGRUB can also start normally.

Floor 5 Posted 2004-09-15 00:00 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
I think there is a problem with the network module, and it must still be due to the lack of rigorous code (the most probable reason is the lack of overall program conception). I believe that in the near future, with the surge in needs, this part of the program will become more and more perfect. Look forward to that day! As for the Chinese localization and internationalization of Grub, I personally think it is not of great significance. The reason is very simple. This will extremely increase the volume and instability of Grub, and the direct related to the Chinese localization and internationalization of Grub is the support of the graphic mode. From my current test situation, on some graphics cards, there will be problems with the abnormal initialization of the graphic interface, resulting in the abnormal display of the menu. So I think it is better to take the English character interface as the basis, first improve some very practical functions (I think it is network booting), and then consider others.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 6 Posted 2004-09-15 00:00 ·  中国 广东 广州 新一代技术(广州)有限公司BGP节点
中级用户
Credits 214
Posts 34
Joined 2004-03-10 00:00
22-year member
UID 19742
Gender Male
Status Offline
Floor 7 Posted 2004-09-16 00:00 ·  IANA 局域网IP(Private-Use)
中级用户
★★
Credits 385
Posts 118
Joined 2003-11-11 00:00
22-year member
UID 12678
Gender Male
Status Offline
Floor 8 Posted 2004-09-16 00:00 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
Encouragement! I think now we should focus mainly on solving the problem of instability of the GRUB network module when supporting multiple network cards at the same time. That is to say, it is best to implement a compiled version that supports all network cards. I don't know how to program, I don't know why there is a problem when supporting multiple network cards at the same time, and I don't know how difficult it is to solve this problem. But I cheer for the experts! In addition, the network card used by Virtual PC is tulip, but Virtual PC does not support BIOS32, so when compiling, the parameter --enable-pci-direct should be added.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 9 Posted 2004-09-19 00:00 ·  中国 河北 保定 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
Mr. bean, I have put all the grub.exe you compiled onto a 5760KB MS-DOS 7.10 boot floppy disk, and then called it through diskemu1x.bin + BCDW. After testing, my boot floppy disk works basically normally. But at the same time, I also found several problems: 1. Grub does not support the floppy drives larger than 1.44M simulated by BCDW and diskemu1x.bin. Therefore, when starting Grub.exe from a boot floppy disk image larger than 1.44M, the menu file cannot be placed on it. Otherwise, it cannot be found. 2. The grub you compiled does not support the scdrom command. 3. Also, all current Grubs that support scdrom do not support the ISO9660 file system very well. For the disc file system, the files operated by its commands are strictly case-sensitive. For example: configfile (cd)/boot/grub/menu.lst and configfile (cd)/BOOT/GRUB/MENU.LST These two commands can never be executed at the same time. I hope everyone will continue to work hard and improve.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 10 Posted 2004-09-19 00:00 ·  中国 河南 南阳 内乡县 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
Regarding Chinese localization, I would like to share some thoughts.

I don't have time to do this right now, but I still hope someone will take it on.

I think that Chinese localization is only one step away from internationalization. Now that the Chinese localization work is done, it's better to directly strive for internationalization.

Gandalf's Chinese implementation is very inspiring. I really admire it and think it's a huge effort, very remarkable.

Gandalf places the Chinese character font at 0x500000, and the size of this font is over 200K.

If we implement the display of all 65536 characters in UCS2, the required font size is 2M, which is still not too large. It's more appropriate to place it at the top of the extended memory.

We can use interrupt int10/ah=11 (load user font in character mode) to solve the Unicode character display problem.

We start with not just UCS2, but directly use UCS4 as the internal code, but we first use a small font and first implement the characters in UCS2.

Only by achieving internationalization can we finally avoid detours. Otherwise, if an implementation is only suitable for Chinese, then this implementation is flawed and is very likely to be replaced by some future internationalization implementation. In this way, our current investment is a kind of repetitive work, or rather, it is somewhat a waste of resources and energy.
因为我们亲手创建,这个世界更加美丽。
Floor 11 Posted 2006-08-07 10:49 ·  中国 山东 枣庄 滕州市 联通
新手上路
Credits 4
Posts 2
Joined 2006-08-07 10:48
19-year member
UID 60013
Status Offline
I want to compile my own grldr, please give me some advice. sdtzyq@163.com
Floor 12 Posted 2007-06-07 13:17 ·  中国 湖北 荆州 电信
新手上路
Credits 8
Posts 3
Joined 2007-06-06 21:44
19-year member
UID 90498
Gender Male
Status Offline
Been looking for a font for a long time, let's give it a try!
Thanks

Can't download!

[ Last edited by sunq on 2007-6-7 at 01:21 PM ]
Forum Jump: