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-24 18:28
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Gandalf -- the Chinese version of grub0.95 compiles fine under fedora core 3, but gets a seg View 1,404 Replies 4
Original Poster Posted 2005-06-13 00:00 ·  中国 江苏 南通 电信
初级用户
Credits 162
Posts 14
Joined 2003-12-20 00:00
22-year member
UID 14263
Gender Male
Status Offline
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?
Floor 2 Posted 2005-06-13 00:00 ·  中国 北京 鹏博士BGP
中级用户
★★
CPU
Credits 362
Posts 96
Joined 2004-07-08 00:00
21-year member
UID 28010
Gender Male
From 北京
Status Offline
Can you post the error message?
Floor 3 Posted 2005-06-20 00:00 ·  中国 江苏 南通 电信
初级用户
Credits 162
Posts 14
Joined 2003-12-20 00:00
22-year member
UID 14263
Gender Male
Status Offline
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.
Floor 4 Posted 2005-06-20 00:00 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
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.
因为我们亲手创建,这个世界更加美丽。
Floor 5 Posted 2005-06-21 00:00 ·  中国 北京 鹏博士BGP
中级用户
★★
CPU
Credits 362
Posts 96
Joined 2004-07-08 00:00
21-year member
UID 28010
Gender Male
From 北京
Status Offline
Right, that's how it is. ;)
Forum Jump: