中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 05:19
47,811 topics / 349,897 posts / today 0 new / 48,256 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » [Share] grub4dos Chinese localization patch
Printable Version  3,614 / 11
Floor1 bean123 Posted 2004-09-14 00:00
中级用户 Posts 34 Credits 214
Floor2 Climbing Posted 2004-09-15 00:00
铂金会员 Posts 2,753 Credits 6,962 From 河北保定
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.
Floor3 不点 Posted 2004-09-15 00:00
银牌会员 Posts 1,115 Credits 2,491
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.
Floor4 bean123 Posted 2004-09-15 00:00
中级用户 Posts 34 Credits 214
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.

Floor5 Climbing Posted 2004-09-15 00:00
铂金会员 Posts 2,753 Credits 6,962 From 河北保定
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.
Floor6 bean123 Posted 2004-09-15 00:00
中级用户 Posts 34 Credits 214
Floor7 windrv Posted 2004-09-16 00:00
中级用户 Posts 118 Credits 385
Floor8 Climbing Posted 2004-09-16 00:00
铂金会员 Posts 2,753 Credits 6,962 From 河北保定
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.
Floor9 Climbing Posted 2004-09-19 00:00
铂金会员 Posts 2,753 Credits 6,962 From 河北保定
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.
Floor10 不点 Posted 2004-09-19 00:00
银牌会员 Posts 1,115 Credits 2,491
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.
Floor11 sdtzyq Posted 2006-08-07 10:49
新手上路 Posts 2 Credits 4
I want to compile my own grldr, please give me some advice. sdtzyq@163.com
Floor12 sunq Posted 2007-06-07 13:17
新手上路 Posts 3 Credits 8
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 ]
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023