|
blue777
中级用户
  
积分 452
发帖 134
注册 2004-6-16
状态 离线
|
『第 76 楼』:
使用 LLM 解释/回答一下
不点兄,如果C:盘装的98,D:盘装的XP,将grldr,menu.lst放到C:盘并在boot.ini最后一行添加c:\grldr=xxxx,但选择find /menu.lst 后自动重起.难道必须要求2000/XP/2003装在C:盘?
Brother Budian, if the C: drive has Windows 98 installed and the D: drive has Windows XP installed, and you put grldr and menu.lst on the C: drive and add "c:\grldr=xxxx" at the end of boot.ini, but after selecting find /menu.lst it restarts automatically. Does it have to require Windows 2000/XP/2003 to be installed on the C: drive?
|
|
2005-3-22 00:00 |
|
|
Esme
初级用户
 
积分 170
发帖 35
注册 2005-2-24
状态 离线
|
『第 77 楼』:
使用 LLM 解释/回答一下
不点兄,你给的ftp我试过很多次,但总是说无法连接或无权访问,会不会跟我在国外有关系?
Brother Budian, I've tried the FTP you provided many times, but it always says it can't connect or has no access. Could it be related to me being abroad?
|
|
2005-3-22 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 78 楼』:
使用 LLM 解释/回答一下
Esme:
全部四个版本,我已经用 Email 发送给你,请注意查收。
Esme:
All four versions have been sent to you by Email, please check it.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-22 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 79 楼』:
使用 LLM 解释/回答一下
blue777:
你说的恐怕是很大的 BUG 吧?你能否进一步更详细地测试一段时间,考虑各种可能性,然后确定一下 BUG 的原因?如果你现在就有判断了,或者有猜测,请写出来。
blue777:
What you mentioned is probably a big bug? Can you further test for a longer period, consider various possibilities, and then determine the cause of the bug? If you already have a judgment or a guess now, please write it out.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-22 00:00 |
|
|
blue777
中级用户
  
积分 452
发帖 134
注册 2004-6-16
状态 离线
|
『第 80 楼』:
使用 LLM 解释/回答一下
好的,上述情况是我数位用户反应的,我再亲自装个98和XP测试.另外,grub从哪个版本开始取消了RUN命令?因为我要在软盘启动盘加上个启动ISO项.title Boot from iso file (hd0,0)/iso_file.iso
run /ieldr软盘带了ieldr和isoemu.ini,将isoemu.ini和iso_file.iso放在(hd0,0),且编辑isoemu iso_file.iso即可从ISO引导了.但pre4甚至前至grub 0.90版都已经没RUN命令了.请问如何处理?
Okay, the above situation is reported by my several users. I will install 98 and XP for testing in person. Also, from which version did grub remove the RUN command? Because I want to add a boot ISO item to the floppy boot disk.
.title Boot from iso file (hd0,0)/iso_file.iso
run /ieldr
The floppy disk has ieldr and isoemu.ini. Put isoemu.ini and iso_file.iso in (hd0,0), and edit isoemu iso_file.iso to boot from the ISO. But the pre4 and even the previous version to grub 0.90 have already removed the RUN command. How to handle it?
|
|
2005-3-22 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 81 楼』:
使用 LLM 解释/回答一下
既然不是你遇到的问题,那么我就猜测可能是一种误报,因为 pre4 出现这样的问题,应该说是没有什么可能性的。用户很可能混淆了 pre4 和以前的其它版本,因为它们都叫做 GRLDR,并且更名以后就无效。
你自己可能也搞错了,因为 RUN 命令是 GANDALF 增加的,只有他发布的版本才有 RUN 命令。由我发布的版本没有 RUN 命令,也没有 ISO、CDROM 的支持。
Since it's not the problem you encountered, then I guess it might be a false positive, because the occurrence of such a problem in pre4 should be said to be unlikely. The user may have confused pre4 with other previous versions, because they are all called GRLDR, and it becomes invalid after renaming.
You may have made a mistake yourself, because the RUN command was added by GANDALF, and only the versions he released have the RUN command. The versions released by me do not have the RUN command, nor do they have support for ISO, CDROM.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-22 00:00 |
|
|
blue777
中级用户
  
积分 452
发帖 134
注册 2004-6-16
状态 离线
|
『第 82 楼』:
使用 LLM 解释/回答一下
我不知道你发布的没有RUN命令.因为Grub 命令索引http://grub4dos.sourceforge.net/grubcmd_ch.htm上有RUN命令.scdrom是ganfalf编译进去的,这我知道.我也一直用的是cd.bs+BCDL或Smart Boot Manager来引导CD.你能否增加个功能,在command line下能调用grldr,ieldr等?
I don't know that you posted without the RUN command. Because the Grub command index http://grub4dos.sourceforge.net/grubcmd_ch.htm has the RUN command. scdrom is compiled in by ganfalf, which I know. I've always used cd. bs+BCDL or Smart Boot Manager to boot the CD. Can you add a function to call grldr, ieldr, etc. in the command line?
|
|
2005-3-22 00:00 |
|
|
Esme
初级用户
 
积分 170
发帖 35
注册 2005-2-24
状态 离线
|
『第 83 楼』:
使用 LLM 解释/回答一下
不点兄百忙中还发来软件给我,怎么是一个谢字了得我测试过所有的版本了,结果很乐观,所有版本都跟ntfspro没有冲突,所以与ntfspro冲突也属误报,耽误大家时间了。我检查了一下以前有冲突的原因,发现问题出在我用的pre4版本的grldr上,因为我打不开ftp,所以从blue777在第四页最下面提供的压缩包中提取了grldr,那个却被他依照他的功用改过了,部分代码改得不得体,所以有bug存在。不过由此却发现了另一个问题,就是ftp或新dos的grub下载页都需要健全,最好能够及时全面的提供各个版本的文件另外提点建议给blue777,我觉得不一定非要在grub 4 dos中植入run命令以运行ieldr,也可以考虑启动时将ieldr与grldr作为平级处理,虽然启动过程看起来多了一步的说
Brother Budian, you still sent me software during your busy schedule. How can a single "thank you" suffice? I've tested all versions, and the results are optimistic. All versions have no conflicts with ntfspro, so the conflict with ntfspro was also a false positive, which wasted everyone's time. I checked the previous reason for the conflict and found that the problem was with the pre4 version of grldr I was using. Because I couldn't open the ftp, I extracted grldr from the compressed package provided by blue777 at the bottom of the fourth page. But he modified it according to his own functions, and some code was modified inappropriately, so there were bugs. However, this also revealed another problem, that is, the ftp or the grub download page of the new DOS need to be improved, and it is best to be able to provide files of various versions in a timely and comprehensive manner. Also, I have some suggestions for blue777. I think it is not necessary to implant the run command in grub 4 dos to run ieldr. We can also consider treating ieldr and grldr as parallel during startup, although it may seem one more step in the startup process.
|
|
2005-3-22 00:00 |
|
|
Esme
初级用户
 
积分 170
发帖 35
注册 2005-2-24
状态 离线
|
『第 84 楼』:
使用 LLM 解释/回答一下
再次更正,或许blue777没有改过那个grldr,我同时研究了一下他的img中的io.sys发现编码完全不对。另外以前也曾看过一些关于UltroISO压缩失真的文章,或许问题出在img文件本身,建议你用UltroISO重新压缩一次img,或许就可以完成光盘启动了,仅仅是猜测,呵呵
Correct again. Maybe blue777 didn't modify that grldr. I also studied the io.sys in his img and found that the encoding is completely incorrect. Also, I have read some articles about UltroISO compression distortion before. Maybe the problem is with the img file itself. It is suggested that you re-compress the img with UltroISO, and maybe the CD-ROM can be booted. Just a guess, heh heh
|
|
2005-3-22 00:00 |
|
|
blue777
中级用户
  
积分 452
发帖 134
注册 2004-6-16
状态 离线
|
『第 85 楼』:
使用 LLM 解释/回答一下
那个img里的grldr我根本没改任何代码,我也没那个水平.我只是照tinybit介绍的安装方法,装在了软盘里而已.但是迄今为止仍不能用做启动光盘.因为不能老是打扰不点兄,所以我就放弃了在软盘里用grldr引导,仍旧用以前的stage1,stage2来引导.(命苦!)我只做软盘启动盘,所以你所说的在boot.ini里grldr和ieldr平行引导对我没任何意义.希望不点兄帮忙!
I didn't change any code in that img's grldr at all, and I don't have that level of expertise. I just followed the installation method introduced by tinybit and installed it on a floppy disk. But so far, it still can't be used as a bootable CD. Because I can't keep bothering Brother Budian, so I gave up using grldr to boot from the floppy disk and still use the previous stage1, stage2 to boot. (So unlucky!) I only make floppy disk boot disks, so what you said about parallel booting grldr and ieldr in boot.ini is not meaningful to me. I hope Brother Budian can help!
|
|
2005-3-22 00:00 |
|
|
blue777
中级用户
  
积分 452
发帖 134
注册 2004-6-16
状态 离线
|
『第 86 楼』:
使用 LLM 解释/回答一下
io.sys的55AA被修改了,为的是解除硬盘逻辑锁限制.和不能做启动光盘没任何关系.
下载最新pre4的,装到软盘有两种途径:
1.用stage1,stage2:root (fd0),setup (fd0),得到的软盘镜像假设称为a.img
2.用grldr,方法省略,得到的软盘镜像假设称为b.img
经虚拟机测试,虚拟软驱vFloppy测试,和写成真实软盘在真实软驱中测试,得出结论:
a.img和b.img都可以引导.
↓
现在用a.img作为可引导文件制作个测试用的启动光盘,假设称为a.iso
用b.img作为可引导文件制作个测试用的启动光盘,假设称为b.iso
经虚拟机测试和刻成真实光盘后得出结论:
a.iso可以引导,b.iso不可以引导.
请能解决此问题的将可引导的b.iso上传上来,谢谢!
The 55AA in io.sys has been modified to remove the hard disk logical lock restriction. It has nothing to do with not being able to make a bootable CD.
Download the latest pre4, and there are two ways to install it to a floppy disk:
1. Use stage1, stage2: root (fd0), setup (fd0), and the resulting floppy disk image is assumed to be called a.img.
2. Use grldr, the method is omitted, and the resulting floppy disk image is assumed to be called b.img.
After testing in a virtual machine, testing with the virtual floppy drive vFloppy, and testing with a real floppy disk in a real floppy drive, the conclusion is drawn:
Both a.img and b.img can be booted.
↓
Now use a.img as the bootable file to make a test bootable CD, assumed to be called a.iso.
Use b.img as the bootable file to make a test bootable CD, assumed to be called b.iso.
After testing in a virtual machine and burning into a real CD, the conclusion is drawn:
a.iso can be booted, but b.iso cannot be booted.
Please upload the bootable b.iso if you can solve this problem, thank you!
|
|
2005-3-22 00:00 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 87 楼』:
使用 LLM 解释/回答一下
blue777:
问题出现之后,应当查明原因才可以收场。如果不查明原因就罢休了,恐怕你从此很难有所提高。
你提到的 GRLDR ISO 问题,其实已经进行的差不多了,快要到达“得出结论”的时候了,正在这时,你放弃了,这就叫做前功尽弃。
你给我的 GRLDR.IMG 文件,是 1.44M 的普通软盘映象,我用它直接替换掉正版 win98 的安装光盘上的 1.44M的引导映象,结果证明是成功可以引导 GRUB的。而你自己用xxx软件制作的光盘,却不能引导。你由此能得出什么结论呢?你大概是得出这么一个结论,那就是 GRLDR 制作的光盘有毛病,它不如stage1, stage2 制作的好。但是你却没有问,为什么别人用 GRLDR 制作的就能引导呢?而且就是用你自己提供的 GRLDR.img制作的呀。
不能说你得出的结论完全没有道理,但是,你似乎还能够得出其它结论啊,这就是所谓的“多解性”,x 的平方 = 1, 有两个解, x=1 和 x=-1, 这就是同一个问题的两种不同的解。
试想,如果你用的ISO制作软件,都很可靠吗?可靠到什么程度?是不是绝对不会出现一个错误?如果你的软件确实是这样的,你已经完全排除它出错的可能性了。但问题是,你无法证明它没错,除非你按照光盘启动规范去检验它生成的 ISO文件是否完全正确。而你却又没有做这个检验。总而言之,你不想在这里多花费一些工夫,所以,你选择了放弃 GRLDR方法制作的光盘,同时也免去了对该问题进一步的思考,或者说,放弃了一个很好的可以提高的机会。弄清一个问题,必然会提高,你提高,我也提高,甚至大家都可能提高;如果继续保持含混状态,那你也就在该问题上原地踏步,我也原地踏步,大家可能也都得原地踏步。
当然了,我说的是我对待问题的观点或者习惯罢了,没有指责兄弟们的意思。咱们是就道理来谈道理,这里本来就是论坛嘛,要谈的都是深层的技术,而不是一般的聊天室。
> 你能否增加个功能,在command line下能调用grldr,ieldr等?
引导 grldr,可以这样:
chainloader (hd?,?)/grldr
因此我猜测,引导 IELDR,也可以类似地:
chainloader (hd?,?)/ieldr
由于我并未研究过 IELDR 的结构,所以上述只是猜测,不一定能成功。谁知道 IELDR的结构,麻烦在这里详细解释一下,我相信,知道它的结构之后,就可以用一个合适的 chainloader 命令行参数来引导它。pre4 的chainloader 有此功能,以前版本的 chainloader 无此功能。大家也可以自己研究一下新的 chainloader 命令,用help chainloader 命令就可以看简短的英文说明。很遗憾现在没有足够的文档来说这些细节。
blue777:
After the problem occurs, the cause should be identified before it can be concluded. If you give up without identifying the cause, I'm afraid it will be difficult for you to improve from now on.
The GRLDR ISO issue you mentioned has actually been almost completed and is approaching the stage of "reaching a conclusion". Just when you were about to succeed, you gave up, which is called功亏一篑.
The GRLDR.IMG file you sent me is a 1.44M ordinary floppy image. I directly replaced the 1.44M boot image on the genuine Win98 installation CD with it, and the result proved that it could successfully boot GRUB. However, the CD you made yourself with xxx software could not boot. What conclusion can you draw from this? You probably concluded that there was something wrong with the CD made with GRLDR, and it was not as good as the one made with stage1 and stage2. But you didn't ask why others could boot with the CD made with GRLDR? And it was even made with the GRLDR.img you provided yourself.
It can't be said that the conclusion you drew is completely unreasonable, but you seem to be able to draw other conclusions. This is what is called "multiple solutions". For x squared equals 1, there are two solutions, x = 1 and x = -1. These are two different solutions to the same problem.
Imagine, are the ISO making software you used all reliable? How reliable are they? Is there absolutely no chance of an error? If your software is really like this, you have completely ruled out the possibility of it making a mistake. But the problem is that you can't prove that it's not wrong unless you test whether the ISO file it generates is completely correct according to the CD boot specification. But you didn't do this test. In short, you don't want to spend more time here, so you chose to give up the CD made by the GRLDR method, and also avoided further thinking about this problem, or gave up a very good opportunity to improve. Understanding a problem will definitely improve you, me, and even everyone; if you continue to be vague, then you will stay where you are on this problem, I will stay where I am, and everyone may stay where they are.
Of course, what I'm saying is my view or habit towards problems, and I don't mean to blame the brothers. We are just talking about principles here. This is a forum after all, and we are talking about in-depth technology, not a general chat room.
> Can you add a function to call grldr, ieldr, etc. in the command line?
To boot grldr, you can do this:
chainloader (hd?,?)/grldr
Therefore, I guess that to boot IELDR, it can be similar:
chainloader (hd?,?)/ieldr
Since I haven't studied the structure of IELDR, the above is just a guess and may not be successful. If anyone knows the structure of IELDR, please explain it in detail here. I believe that after knowing its structure, we can use a suitable chainloader command line parameter to boot it. The chainloader in pre4 has this function, and the chainloader in previous versions does not. Everyone can also study the new chainloader command by themselves. You can use the help chainloader command to see the short English description. It's a pity that there aren't enough documents to explain these details now.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2005-3-22 00:00 |
|
|
hnlyzhd
高级用户
   
积分 544
发帖 164
注册 2004-10-17
状态 离线
|
『第 88 楼』:
使用 LLM 解释/回答一下
in x86 RealMod 代码运行后, 首先从 0x0000:0x7c00 把自身拷贝到 0x0000:0x8200 处运行, 接着, 再次进行这样的操作, 目的地 0x0000:0x0800, 此处, 就是分区管理程序所运行的内存空间了. 现在, 我们将把系统的诸分区进行枚举, 找到一个 FAT32/NTFS 分区, 即开始寻找, 配置文件(isoemu.ini), 找到了, 就开始分析; 否则找寻下一个分区, 直到所有分区被分析, 然后把用户推到内置的 Shell 里. 当找到配置文件里的 isoemu 行后, 即开始在该分区的根目录下, 寻找指定的 iso 文件, 并获取它的首簇号. 一旦失败, 入 Shell/. 当我们找到了这个文件后, 即开始安装我们的 mini-fs 的新 INT13h 中断, 然后,用 iso 文件的首簇号初始化它. 接下来, 等待用户的指令, 并转入从虚拟的光驱上启动系统. 如果, 所指定的 iso 文件, 不是有效的, 或不可启动的, 那么, 就转 shell. 如果可启动, 那么, 载入引导扇区, 并把系统的控制权转交给它- 搞定! 呵呵.
In x86 RealMod, after the code runs, it first copies itself from 0x0000:0x7c00 to 0x0000:0x8200 for execution, and then performs such an operation again, with the destination being 0x0000:0x0800, which is the memory space where the partition management program runs. Now, we will enumerate the system partitions, find a FAT32/NTFS partition, that is, start to look for the configuration file (isoemu.ini). If found, we start to analyze it; otherwise, we look for the next partition until all partitions are analyzed, and then push the user into the built-in Shell. When the isoemu line in the configuration file is found, we start to look for the specified iso file in the root directory of this partition and obtain its starting cluster number. Once failed, enter Shell/. When we find this file, we start to install the new INT13h interrupt of our mini-fs, and then initialize it with the starting cluster number of the iso file. Next, wait for the user's instruction and transfer to booting the system from the virtual CD-ROM. If the specified iso file is not valid or not bootable, then transfer to Shell. If bootable, then load the boot sector and transfer the control of the system to it - done! Hehe.
|

我的留言簿
http://hnlyzhd.ys168.com 我的网络盘
|
|
2005-3-23 00:00 |
|
|
Esme
初级用户
 
积分 170
发帖 35
注册 2005-2-24
状态 离线
|
『第 89 楼』:
使用 LLM 解释/回答一下
再次更正测试结果
首先道歉,因为上次进行4个版本的测试时快要上课了,时间仓促,又不愿用虚拟机测试,所以动了点歪脑筋,以致结果失准。过程如下
将boot.ini内加入:
c:\grldr=Pre
c:\grldr02=Pre2
c:\grldr03=Pre3
c:\grldr04=Pre4
然后开机逐一测试,结果是四个版本与ntfspro都无冲突可是我放学回来后再测发现,其实在boot.ini加入的后三行是不可靠的,例如选pre2开机,只是经过grldr02文件进行初始,然后继续执行的仍是grldr,查看grldr代码发现这是必然的所以我只好轮流启动各版本grldr,这次发现了问题
仍然只有pre版本可以正常运行ntfs4dos pro
大致结果如下
pre正常,pre2和pre4可以执行ntfs4dos pro,但执行后任意命令死机,pre3执行ntfs4dos pro立即死机
我检查了一下内存,发现pre3严重干扰其它程序调用HMA和XMS内存,甚至DOS无法将内核调入HMA
由此我猜想版本pre2/pre3/pre4在内存处理上有bug
Correct the test results again
First, apologize. Because when I did the test of 4 versions last time, it was almost time for class, in a hurry, and I didn't want to test with a virtual machine, so I took a shortcut, resulting in inaccurate results. The process is as follows:
Add the following to boot.ini:
c:\grldr=Pre
c:\grldr02=Pre2
c:\grldr03=Pre3
c:\grldr04=Pre4
Then boot and test one by one. The result is that there is no conflict between the four versions and ntfspro. But after I came back from school and tested again, I found that the last three lines added in boot.ini are unreliable. For example, booting with Pre2 only goes through the initial of the grldr02 file, and then continues to execute grldr. Checking the grldr code shows that this is inevitable. So I had to start each version of grldr alternately, and this time I found the problem.
Still only the Pre version can run ntfs4dos pro normally.
The general results are as follows:
Pre is normal, Pre2 and Pre4 can execute ntfs4dos pro, but the machine freezes after any command. Pre3 freezes immediately when executing ntfs4dos pro.
I checked the memory and found that Pre3 seriously interferes with other programs' calls to HMA and XMS memory, and even DOS cannot load the kernel into HMA.
From this, I guess that there are bugs in the memory handling of versions Pre2/Pre3/Pre4.
|
|
2005-3-23 00:00 |
|
|
Esme
初级用户
 
积分 170
发帖 35
注册 2005-2-24
状态 离线
|
『第 90 楼』:
使用 LLM 解释/回答一下
blue777,如果你只研究软盘启动,ieldr对你来说好像用不上吧?如果光盘映像iso文件可以小到装在软盘里,那它也没什么作用,那还不如启动软盘img,而启动实模式光盘grub可以胜任。如果你是想让ieldr调用硬盘中的iso,那这项功能也没有通用性,每个人硬盘上的文件不一样嘛
blue777, if you only study floppy disk booting, Ieldr seems not useful to you? If the CD image iso file can be small enough to fit on a floppy disk, then it has no function, and it is better to boot with the floppy disk img, while booting the real mode CD grub can be competent. If you want Ieldr to call the iso in the hard disk, this function is not universal, because the files on everyone's hard disk are different
|
|
2005-3-23 00:00 |
|
|