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 23:38
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Update Notes for grub4dos 2008-08-03 View 5,177 Replies 21
Original Poster Posted 2008-08-03 20:59 ·  中国 河南 南阳 电信
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
Download address: http://grub4dos.nufans.net/

This change content:

1. Fixed the error handling problem related to operators && and ||.

2. The structure of grldr.mbr has some changes.

3. Some other minor changes.

This change has not been tested by me, so please test it first before using it (mainly to see if it will cause a system crash. It will not damage your hard drive, so you can rest assured to test!). If there is a problem with this change (and it cannot be resolved quickly), please use the version from 2008-07-28.

Because some software is going to release a new version on 2008-08-08, and these software may use grub4dos, so I hope to launch a bug-free version. Today is the 3rd, and there are a few days left to fix bugs. Please test as soon as possible and report bugs. Please report bugs immediately when you encounter them, thank you!

=======================================

Further explanation about the file format (data structure) change of grldr.MBR in item 2 above:

If everything goes well, the grldr.MBR this time should also be able to be placed in boot.ini. Unfortunately, I uploaded it without testing. Friends, please help to see if there is any problem?

Because the structure has changed, the version number of grldr.mbr is upgraded from 2 to 3. Please let bean see if it affects the operation of some tool software. If it does, please update the corresponding tool software.

This time, a changeable "hard drive serial number" is added to make the boot process more reliable. The "hard drive serial number" is a 4-byte integer, placed at offset 0x1FFC of GRLDR.MBR, and also at a certain offset address in the first sector (the value of this offset address is saved at offset 0x1FF8 of GRLDR.MBR, which points to the hard drive serial number in the first sector, so it is very convenient to find the hard drive serial number in the first sector).

After an external program installs grldr.mbr to the MBR of the hard drive, it should modify the value of the hard drive serial number (it can also be not modified, the default value is also usable, but it is better to modify it). Note that the hard drive serial number on the first sector should be equal to the hard drive serial number at offset 0x1FFC, otherwise grldr.mbr will refuse to run.

What should the value of this hard drive serial number be modified to? In fact, any value is acceptable, but in order to maintain the uniqueness of hard drive identification, you can generate a random serial number according to the current system date and time and assign it to this hard drive. That's it. The hard drive serial number should not be 0, because 0 can also make grldr run failed. The more complex and distinctive the serial number is, the better.
因为我们亲手创建,这个世界更加美丽。
Floor 2 Posted 2008-08-03 21:15 ·  中国 浙江 台州 玉环市 电信
中级用户
★★
Credits 288
Posts 142
Joined 2006-08-02 10:03
19-year member
UID 59662
Gender Male
Status Offline
Posted on 2008-08-08?
Looking forward to the host's Olympic special version!
Floor 3 Posted 2008-08-03 21:33 ·  中国 河南 南阳 电信
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
It is impossible for grub4dos to be released as an official version on August 8th. I mean other software might be released on August 8th, and among them, there might be grub4dos as a component. Therefore, I hope to create a better grub4dos to cheer for these software!
因为我们亲手创建,这个世界更加美丽。
Floor 4 Posted 2008-08-04 10:11 ·  中国 山西 太原 联通
银牌会员
★★★
Credits 1,009
Posts 353
Joined 2003-09-04 00:00
22-year member
UID 9419
Gender Male
Status Offline
There are still problems with error handling related to the operators && and ||.
Floor 5 Posted 2008-08-07 22:48 ·  中国 河北 廊坊
初级用户
Credits 46
Posts 21
Joined 2007-05-05 17:46
19-year member
UID 87574
Gender Male
Status Offline
I can't log in to the Shikong Forum for several days!
The new version of GRUB.EXE. When running GRUB.EXE under DOS to load menu.lst and then execute the menu PE:
title 2. Start MAOTAOPE
map (hd0,4)+1 (hd0)
map --hook
find --set-root /ldrxpe
chainloader /ldrxpe
boot
It can't succeed.
But it succeeds from grldr-menu.lst-MAOTAOPE; also, the GRUB.EXE of the version before July doesn't have this problem.
Floor 6 Posted 2008-08-09 14:00 ·  中国 河南 南阳 电信
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
Someone reported that the problem was resolved on August 8th. Please try it and report any anomalies that may occur.
因为我们亲手创建,这个世界更加美丽。
Floor 7 Posted 2008-08-10 20:00 ·  中国 河北 廊坊
初级用户
Credits 46
Posts 21
Joined 2007-05-05 17:46
19-year member
UID 87574
Gender Male
Status Offline
Okay. The home Telecom network still can't access the Space-Time Forum and your download space at present. I'll try at the unit tomorrow
Floor 8 Posted 2008-08-10 20:56 ·  中国 广西 南宁 马山县 电信
初级用户
Credits 28
Posts 14
Joined 2008-04-14 14:56
18-year member
UID 115860
Gender Male
Status Offline
The August 6th version can't boot the slax on the hard disk. No error messages are seen, just a blinking cursor. The previous versions could all boot. The menu.lst is as follows:
title >>>Boot slax6.06
find --set-root /pup.l
kernel /boot/vmlinuz ramdisk_size=6666 vga=791 root=/dev/ram0 rw autoexec=xconf;telinit~4 changes=/slax/slaxsave.dat
initrd /boot/initrd.gz

[ Last edited by wsfyoo8 on 2008-8-11 at 12:53 AM ]
Floor 9 Posted 2008-08-10 21:35 ·  中国 河南 洛阳 电信
银牌会员
★★★
Credits 1,455
Posts 712
Joined 2006-01-20 10:26
20-year member
UID 49246
Status Offline
Heheh, brother upstairs, which version is your "this version"?
Floor 10 Posted 2008-08-11 09:25 ·  中国 河北 廊坊 联通
初级用户
Credits 46
Posts 21
Joined 2007-05-05 17:46
19-year member
UID 87574
Gender Male
Status Offline
I've tried versions 8.8 - 8.10, and the situation is still the same.
Floor 11 Posted 2008-08-11 16:02 ·  中国 广西 南宁 马山县 电信
初级用户
Credits 28
Posts 14
Joined 2008-04-14 14:56
18-year member
UID 115860
Gender Male
Status Offline
Tried the version from August 8th again, still couldn't boot. After removing "vga=791", an error message appeared:
Uncompressing linux...
crc error
---System halted
Floor 12 Posted 2008-08-14 21:00 ·  中国 河北 沧州
初级用户
Credits 46
Posts 21
Joined 2007-05-05 17:46
19-year member
UID 87574
Gender Male
Status Offline
I can't access the Space-Time Forum with my telecom.
At home, I also tried the bug-free machine with version 5.06, and the phenomenon is also interrupting and returning to DOS;
Other versions on this machine
Whether grldr - ISO - boot ISO to PE
or grldr - DOS - GRUB.EXE - load menu.lst - hard disk (hd0, 4) PE
All are normal. I don't know if version 5.06 was normal for other users before?
Floor 13 Posted 2008-08-14 21:26 ·  中国 河南 南阳 电信
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
wsfyoo8, please determine when the bug was introduced, with the exact release date. We have many releases, please find it.
因为我们亲手创建,这个世界更加美丽。
Floor 14 Posted 2008-08-15 00:07 ·  中国 广西 南宁 电信
初级用户
Credits 28
Posts 14
Joined 2008-04-14 14:56
18-year member
UID 115860
Gender Male
Status Offline
Just tried, it can't start from August 3rd, the one on July 28th can still start
Floor 15 Posted 2008-08-16 22:34 ·  中国 河北 廊坊
初级用户
Credits 46
Posts 21
Joined 2007-05-05 17:46
19-year member
UID 87574
Gender Male
Status Offline
Solved, really not a problem heh heh, it's a pity I wasted extra time without clicking more: (
Forum Jump: