下载地址:
http://grub4dos.nufans.net/
本次变更内容:
1. 修复了有关操作符 && 和 || 的出错处理问题。
2. grldr.mbr 的结构有了一些变动。
3. 其它一些少量更动。
本次变动未经本人测试,所以,请大家先测试之后再用(主要是看看是否会引起死机。不会毁掉你的硬盘,所以大家放心测试好了!)。如果本次变动出现问题(并且不能尽快解决)的话,请使用 2008-07-28 的版本。
由于一些软件要在 2008-08-08 发布新版本,这些软件有可能使用 grub4dos,所以,我希望推出一个没有毛病的版本。今天是 3 号,还有几天的时间可以修复 bug,请大家尽快测试,报告 bug。遇到 bug 请第一时间报告,谢谢!
=======================================
关于上述第 2 项中的 grldr.MBR 文件格式(数据结构)更改的进一步说明:
如果一切顺利的话,本次的 grldr.MBR 应该也可以放在 boot.ini 中了。很遗憾,我本人没能测试就上载了。朋友们帮忙看看有没有问题?
因为结构有了变动,所以 grldr.mbr 的版本号 从 2 升级为 3 了。请 bean 看看是否影响到了某些工具软件的运行,如果有影响,请更新相应的工具软件。
本次增加了可更改的 “硬盘序列号”,以便使得引导过程更加可靠。“硬盘序列号” 是一个 4 字节的整数,放在 GRLDR.MBR 的偏移 0x1FFC 处,同时也放在第一扇区中的某个偏移地址处(这个偏移地址的值保存在 GRLDR.MBR 的偏移 0x1FF8 处,它指向第一扇区中的硬盘序列号,所以很方便就能找到第一扇区中的硬盘序列号)。
外部程序在安装 grldr.mbr 到硬盘的 MBR 之后,应该修改硬盘序列号的值(不修改也可,默认值也可用,但修改了更好)。注意,第一扇区上的硬盘序列号应该等于偏移 0x1FFC 处的硬盘序列号,否则 grldr.mbr 将拒绝运行。
这个硬盘序列号的值应该修改成什么样的呢?其实,任何值都是可以接受的,但为了保持硬盘识别的唯一性,请根据当前的系统日期和时间来产生一个随机的序列号,赋予该硬盘,这就可以了。硬盘序列号不要是 0,因为 0 也能让 grldr 运行失败。序列号越复杂、越有特色就越好。
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.