中国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 00:34
47,811 topics / 349,897 posts / today 0 new / 48,256 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Gandalf -- the Chinese version of grub0.95 compiles fine under fedora core 3, but gets a seg
Printable Version  1,528 / 4
Floor1 i659 Posted 2005-06-13 00:00
初级用户 Posts 14 Credits 162
The Chinese version of grub0.95 compiles fine under fedora core 3, but it gets a segmentation fault at runtime.
I installed it with the following commands
./configure --prefix=/usr
make
make install
Is it a problem with the Chinese version of grub0.95 itself? Or did I do the installation steps wrong?
Floor2 Gandalf Posted 2005-06-13 00:00
中级用户 Posts 96 Credits 362 From 北京
Can you post the error message?
Floor3 i659 Posted 2005-06-20 00:00
初级用户 Posts 14 Credits 162
I went and installed it again. This time I used the default location: ./configuremake make install. Everything compiled normally, but when I ran /usr/local/sbin/grub, it only showed the three words "Segmentation fault", and nothing else.
Floor4 不点 Posted 2005-06-20 00:00
银牌会员 Posts 1,115 Credits 2,491
The Chinese version of grub loads the Chinese fonts somewhere in extended memory. It only works without errors when running real-mode GRUB.EXE, or GRLDR, or grub4lin. If you run the grub program under Linux (sometimes called the grub shell), of course it will fail.

This grub program under Linux is a simulated grub environment, not a real GRUB environment. The simulated memory space provided by this program is very small, for example only 3M. Accessing an unauthorized memory address directly in protected mode is illegal (even some conventional memory addresses cannot be accessed), so the Linux system will forcibly terminate the process and print the message "Segmentation fault".

A grub program compiled from grub for dos without Chinese support can run well under Linux.

Download the released archive from http://grub.linuxeden.com/ and run the compile inside it to compile it. There shouldn't be any problem.
Floor5 Gandalf Posted 2005-06-21 00:00
中级用户 Posts 96 Credits 362 From 北京
Right, that's how it is. ;)
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023