|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-12 21:52 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
没关系,你自己先用 qemu 来运行这两个硬盘映像,如果成功,则说明是 VPC 的问题,如果不成功,则说明是 GRUB 的问题。qemu 正好可以直接识别 VPC 的硬盘映像,这可是很方便哟!赶快下载 qemu 吧。例如,用以下命令来启动VPC的硬盘映像:
qemu -hda part1.vhd -hdb part2.vhd
如果确定是 GRUB 的问题,把操作过程中的图截下来,相关的配置文件也贴上来。
It doesn't matter. You can use qemu to run these two hard disk images first. If it succeeds, it means it's a VPC issue. If it doesn't succeed, it means it's a GRUB issue. Qemu can directly recognize VPC hard disk images, which is very convenient! Hurry up and download qemu. For example, use the following command to start the VPC hard disk image:
qemu -hda part1.vhd -hdb part2.vhd
If it's determined to be a GRUB issue, take screenshots of the operation process and post the relevant configuration files.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-6-13 08:01 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
『第 18 楼』:
使用 LLM 解释/回答一下
我肯定是 GRUB 的问题,相关的配置文件就在发给你的vhd文件里,奇怪的是我把MENU.LST放在/BOOT/GRUB/时自己等它寻找MENU.LST它就出错,而在启动时按方向键让内植菜单停止后,手工选择寻找/BOOT/GRUB/MENU.LST它却正常,把MENU.LST放在/GRUB/时自己等它寻找MENU.LST它就出错,而在启动时按方向键让内植菜单停止后,手工选择寻找/GRUB/MENU.LST它却正常,好象是自动纠错引起的!
I'm sure it's a GRUB issue. The relevant configuration files are in the vhd file I sent you. The strange thing is that when I put MENU.LST in /BOOT/GRUB/, it errors out when it waits for it to find MENU.LST by itself, but when I press the direction key during startup to stop the built-in menu and then manually select to find /BOOT/GRUB/MENU.LST, it works normally. When I put MENU.LST in /GRUB/, it errors out when it waits for it to find MENU.LST by itself, but when I press the direction key during startup to stop the built-in menu and then manually select to find /GRUB/MENU.LST, it works normally. It seems like there's automatic error correction!
|

我的网络U盘 我的网络第2个U盘
论坛软件下载链接
灵雨飘零论坛
论坛新手必读,所有人的基本行为准则
刷QQ空间人气、留言的小软件 |
|
2006-6-13 08:33 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-13 08:36 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-13 08:40 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 21 楼』:
使用 LLM 解释/回答一下
那我也说说我的观点吧。如果是GRUB的问题,那么不管你用什么机器、什么虚拟机来运行同样的硬盘,它都应当出现错误。只要有一个虚拟机,或者一个真实机在同样硬盘上不出现问题,那就说明不是 GRUB 的**软件**的错,而是与硬件相关的。为了确定是 GRUB 的软件错误,我们最好在不同的虚拟机上来测试(也可用多个真实机,但这太麻烦,不现实,所以就免了)。测试的目的是排除硬件错误的可能性。因此,qemu 和 vmware 都应当测试。如果都不成,则可以认为是 GRUB 的错误了。
Then I'll also state my view. If it's a problem with GRUB, then no matter what machine or what virtual machine you use to run the same hard drive, it should have an error. As long as there is a virtual machine or a real machine that doesn't have a problem on the same hard drive, it means it's not the fault of the **software** of GRUB, but related to the hardware. To determine if it's a software error of GRUB, we'd better test on different virtual machines (also available with multiple real machines, but it's too cumbersome and unrealistic, so just forget it). The purpose of the test is to rule out the possibility of hardware errors. Therefore, both qemu and vmware should be tested. If neither works, then it can be considered that it's a GRUB error.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-6-13 09:17 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
『第 22 楼』:
使用 LLM 解释/回答一下
那我就发几个自动寻找时出错的图片,你看看!
Then I'll post a few pictures of errors when searching automatically, you can take a look!
附件
1: 1.jpg (2006-6-13 10:38, 10.84 KiB, 下载附件所需积分 1 点
,下载次数: 1)
附件
2: 2.jpg (2006-6-13 10:38, 5.68 KiB, 下载附件所需积分 1 点
,下载次数: 2)
附件
3: 3.jpg (2006-6-13 10:38, 7.88 KiB, 下载附件所需积分 1 点
,下载次数: 1)
|

我的网络U盘 我的网络第2个U盘
论坛软件下载链接
灵雨飘零论坛
论坛新手必读,所有人的基本行为准则
刷QQ空间人气、留言的小软件 |
|
2006-6-13 10:30 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 23 楼』:
使用 LLM 解释/回答一下
为了完整起见,两件事都得做:一个是用 qemu 等虚拟机,另一个是截图。现在你做了第二件事,用另一个虚拟机的事情最好也做,这样有好处。
从贴图来看,/grub/menu.lst 文件是找到了,但是在打开该文件时,出现了错误。这应该是 GRUB 的错误了。所以,我们得在技术上找出具体的错误在哪里。
这条错误信息的意思是,BIOS 不支持 LBA,只能用 CHS 模式访问硬盘文件,而当用 CHS模式访问硬盘文件的扇区时,柱面号太大了,所以失败。
不过,由于你能在命令行打开同一文件,所以,这并非由于 BIOS 的错误引起,而是 GRUB 自己搞错了。我们就是要定位,究竟在哪里,GRUB 搞混乱了?
For the sake of completeness, both things need to be done: one is to use a virtual machine like qemu, and the other is to take a screenshot. Now you've done the second thing, and it's best to do the thing with another virtual machine too, which is beneficial.
From the posted image, the /grub/menu.lst file was found, but an error occurred when opening this file. This should be a GRUB error. So, we need to technically find out where the specific error is.
This error message means that the BIOS does not support LBA and can only access hard disk files in CHS mode. When accessing the sectors of the hard disk file in CHS mode, the cylinder number is too large, so it fails.
However, since you can open the same file at the command line, this is not caused by a BIOS error, but by GRUB making a mistake itself. We just need to locate exactly where GRUB got confused?
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-6-13 10:49 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
我刚才用qemu启动同样的两个文件,得到了同样的错误!
从贴图来看,/grub/menu.lst 文件是找到了,但是在打开该文件时,出现了错误。这应该是 GRUB 的错误了。所以,我们得在技术上找出具体的错误在哪里。
至于/grub/menu.lst应该与找没有找到没有关系,因为查找命令都还没有出现在屏幕上,如果正常的话查找命令会出现在屏幕上的。(因为我手工选择查找/BOOT/grub/menu.lst同样出错!(/BOOT/grub/没有menu.lst)
Last edited by qwe1234567 on 2006-6-13 at 12:54 ]
I just used qemu to boot the same two files and got the same error!
Judging from the screenshot, the /grub/menu.lst file was found, but an error occurred when opening this file. This should be a GRUB error. So, we need to technically find out where the specific error is.
As for /grub/menu.lst, it should have nothing to do with whether it was found or not, because the search command has not yet appeared on the screen. If it were normal, the search command would appear on the screen. (Because I manually selected to search for /BOOT/grub/menu.lst and it also went wrong! (/BOOT/grub/ does not have menu.lst)
Last edited by qwe1234567 on 2006-6-13 at 12:54 ]
|

我的网络U盘 我的网络第2个U盘
论坛软件下载链接
灵雨飘零论坛
论坛新手必读,所有人的基本行为准则
刷QQ空间人气、留言的小软件 |
|
2006-6-13 12:37 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
『第 25 楼』:
使用 LLM 解释/回答一下
我启动时按方向键让内植菜单停止后,手工选择寻找/GRUB/MENU.LST它却正常,而如果我启动时按方向键让内植菜单停止后,手工选择寻找/boot/GRUB/MENU.LST它却不正常了,出现和让它自动查找MENU.LST时一样的错误,也就是说在指定的查找路径下如果没有MENU.LST时就不能从内植菜单里启动MENU.LST!
After I press the arrow keys during startup to stop the built-in menu, manually selecting to look for /GRUB/MENU.LST works normally, but if I press the arrow keys during startup to stop the built-in menu, manually selecting to look for /boot/GRUB/MENU.LST doesn't work, and it has the same error as when letting it automatically find MENU.LST. That is, if there is no MENU.LST in the specified search path, I can't boot MENU.LST from the built-in menu!
|

我的网络U盘 我的网络第2个U盘
论坛软件下载链接
灵雨飘零论坛
论坛新手必读,所有人的基本行为准则
刷QQ空间人气、留言的小软件 |
|
2006-6-13 12:44 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 26 楼』:
使用 LLM 解释/回答一下
你说的有道理。看来还是你细心。也就是说,还没打印出 find --set-root /grub/menu.lst 就出现 Error 20 了。我还发现了另外一个问题,这些够折腾一阵子了,你先休息几天吧,待我有空研究出一个结果再来通告。
What you said makes sense. It seems you are meticulous. That is to say, the Error 20 occurred before the find --set-root /grub/menu.lst was printed. I also found another problem. These will take some time to figure out. You take a few days off first. I'll let you know when I have time to work out a result.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-6-13 16:52 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-13 17:30 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 28 楼』:
使用 LLM 解释/回答一下
Originally posted by 不点 at 2006-6-13 09:17 AM:
那我也说说我的观点吧。如果是GRUB的问题,那么不管你用什么机器、什么虚拟机来运行同样的硬盘,它都应当出现错误。只要有一个虚拟机,或者一个真实机在同样硬盘上不出现问题,那就说明不是 GRUB 的**软件**的错,而是与硬件相关的。为了确定是 GRUB 的软件错误,我们最好在不同的虚拟机上来测试(也可用多个真实机,但这太麻烦,不现实,所以就免了)。测试的目的是排除硬件错误的可能性。因此,qemu 和 vmware 都应当测试。如果都不成,则可以认为是 GRUB 的错误了。
我这儿如用VMWare来运行GRUB.EXE的话,当屏幕出现以下内容以后,屏幕上的文字居然一个字母一个字母的显示出来(每两个字母的显示时间间隔大约为半秒至1秒),导致完全无法正常使用。即使未加载任何其它程序时亦如此。
About to reset the boot drive. Report bug if the machine hangs here.
Return from int13/AH=0. The reset of the boot drive is OK.
About to enable gate A20. Report bug if the machine hangs here.
Originally posted by Budian at 2006-6-13 09:17 AM:
Let me also share my view. If it's a GRUB issue, then no matter what machine or virtual machine you use to run the same hard drive, it should encounter an error. As long as there is one virtual machine or a real machine that doesn't have a problem with the same hard drive, it means it's not the fault of the **GRUB software**, but related to the hardware. To determine if it's a GRUB software error, we'd better test on different virtual machines (using multiple real machines is too cumbersome and impractical, so let's omit that). The purpose of the test is to rule out the possibility of hardware errors. Therefore, both qemu and VMware should be tested. If neither works, then it can be considered a GRUB error.
When I run GRUB.EXE with VMWare here, after the screen shows the following content, the text on the screen is actually displayed one letter at a time (the interval between displaying each two letters is about half a second to 1 second), making it completely impossible to use normally. This is the case even when no other programs are loaded.
About to reset the boot drive. Report bug if the machine hangs here.
Return from int13/AH=0. The reset of the boot drive is OK.
About to enable gate A20. Report bug if the machine hangs here.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2006-6-14 03:13 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-14 06:52 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 30 楼』:
使用 LLM 解释/回答一下
wengier: 显示了你说的信息之后,还应当显示以下两条信息中的一个:
Gate A20 is turned on successfully.
或者
Failed to turn on Gate A20!!
你是说,从显示这条信息就开始变慢了?那么应该是 A20 的控制,影响了虚拟机的行为。应该属于虚拟机的 BUG。因为我们的 A20 控制,并未触及系统时钟。我这里的 qemu 出现另外一个 BUG,就是方向键(也就是箭头键)都失去作用了。刚刚在 http://grub4dos.jot.com/ 发布的二进制程序解决了 qemu 的问题,不知是否也解决了 vmware 的问题。请报告。
wengier: After displaying the information you mentioned, one of the following two messages should be displayed:
Gate A20 is turned on successfully.
Or
Failed to turn on Gate A20!!
You mean it started to slow down from displaying this message? Then it should be the control of A20 that affects the behavior of the virtual machine. It should belong to a bug in the virtual machine. Because our control of A20 has not touched the system clock. I have another bug in qemu, that is, the arrow keys (that is, the arrow keys) have lost their function. The binary program just released at http://grub4dos.jot.com/ solves the problem in qemu. I don't know if it also solves the problem in vmware. Please report.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-6-14 08:05 |
|