|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
『楼 主』:
报告GRUB的一个BUG!
使用 LLM 解释/回答一下
我在虚拟机里挂2个硬盘启动GRLDR时显示:
Booting 'find /menu.lst'
find --set-root /menu.lst
Error 17: File not found
Booting 'find /boot/grub/menu.lst'
Error 20: Selected cylinder exceeds maximum supported by BIOS
Press any key to continue...
以后就寻不到menu.lst
然后我转到GRUB的命令行后输入同样的命令却找到了menu.lst
我在挂单硬盘时却没有这个问题!这是怎么回事?
I'm installing in a virtual machine with two hard drives. When I boot with GRLDR, it shows:
Booting 'find /menu.lst'
find --set-root /menu.lst
Error 17: File not found
Booting 'find /boot/grub/menu.lst'
Error 20: Selected cylinder exceeds maximum supported by BIOS
Press any key to continue...
Then it can't find menu.lst.
Then I go to the GRUB command line and enter the same command and find menu.lst.
I don't have this problem when I have a single hard drive! What's going on?
|

我的网络U盘 我的网络第2个U盘
论坛软件下载链接
灵雨飘零论坛
论坛新手必读,所有人的基本行为准则
刷QQ空间人气、留言的小软件 |
|
2006-6-11 10:04 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
Originally posted by qwe1234567 at 2006-6-11 10:04 AM:
我在虚拟机里挂2个硬盘启动GRLDR时显示:
Booting 'find /menu.lst'
find --set-root /menu.lst
Error 17: File not found
Booting 'find / ...
我在真实机中也遇到过同样的问题,把menu.lst放在/下是可以的,但放在/boot/grub/下就会出现以上错误。
Originally posted by qwe1234567 at 2006-6-11 10:04 AM:
When booting GRLDR in a virtual machine with two hard drives mounted:
Booting 'find /menu.lst'
find --set-root /menu.lst
Error 17: File not found
Booting 'find / ...
I have encountered the same problem in a real machine. Placing menu.lst in / works, but placing it in /boot/grub/ causes the above error.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2006-6-11 10:06 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-11 11:03 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
Selected cylinder exceeds maximum supported by BIOS
这是个顽固的 BUG,我觉得这是 GNU GRUB 中遗留下来的 BUG,在 GNU GRUB 的网站上也屡屡见到同样的报告。要解决它,似乎不容易。需要贴图来说明操作过程(口头表述一般都不准确,会漏掉重要信息)。
选定的柱面超过了BIOS支持的最大值这是个顽固的 BUG,我觉得这是 GNU GRUB 中遗留下来的 BUG,在 GNU GRUB 的网站上也屡屡见到同样的报告。要解决它,似乎不容易。需要贴图来说明操作过程(口头表述一般都不准确,会漏掉重要的信息)。Selected cylinder exceeds maximum supported by BIOS
This is a stubborn bug. I think it's a leftover bug in GNU GRUB, and the same reports are frequently seen on the GNU GRUB website. It seems not easy to solve it. Need to attach pictures to illustrate the operation process (oral description is generally inaccurate and will miss important information)
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-6-11 12:03 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
不点:
这个顽固的 BUG只是在我挂2个硬盘时才出现,出现提示时连内植菜单都还没有读入!然后按任意键就出现了内植菜单!这个问题你可以在虚拟机里试下,或者挂2个硬盘试,这个顽固的 BUG就会出现!
Buddy:
This stubborn BUG only occurs when I have 2 hard drives connected. When the prompt appears, the built-in menu hasn't even been loaded yet! Then pressing any key brings up the built-in menu! You can try this in a virtual machine or by connecting 2 hard drives, and this stubborn BUG will appear!
|

我的网络U盘 我的网络第2个U盘
论坛软件下载链接
灵雨飘零论坛
论坛新手必读,所有人的基本行为准则
刷QQ空间人气、留言的小软件 |
|
2006-6-11 13:52 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
我接触GRUB时间比较段,也来说说吧,说错见谅啊:P
既然挂2个硬盘启动GRLDR时才出现此BUG的,可以从硬盘安装方式上考虑这个问题,比如
1: IDE1接口上面的第1个硬盘设置为主并在80线上主位置,第2个硬盘设置为从并在80线上从位置,IDE2设置从(或者干脆拔下测试)
2: IDE1接口上面的第1个硬盘设置为主并在80线上主位置,第2个硬盘设置为主挂在IDE2接口80线上主位置上,光驱设置为从挂在80线上从位置
嘿嘿...比较绕口
现在的主板硬盘安装位置要求也不是很严格也能启动,硬盘也有自动判断跳线,引起了GRUB不知从何开始FIND,如果是这情况GRUB用实际路径可以启动。我没有双硬盘没法测试。
Last edited by fastslz on 2006-6-11 at 17:49 ]
I've been in contact with GRUB for a short time, so let me also say something. Please forgive me if I'm wrong. ^_^
Since this bug only occurs when booting GRLDR with 2 hard drives, we can consider this problem from the hard drive installation method. For example:
1: Set the first hard drive on IDE1 interface as master and in the master position on the 80-wire, set the second hard drive as slave and in the slave position on the 80-wire, set IDE2 as slave (or simply unplug it for testing)
2: Set the first hard drive on IDE1 interface as master and in the master position on the 80-wire, set the second hard drive as master and hang on the master position on the 80-wire of IDE2 interface, set the CD-ROM as slave and hang on the slave position on the 80-wire
Hehe... It's rather tongue-twisting.
Now the hard drive installation position requirements on the motherboard are not very strict and can also boot. The hard drive also has automatic jumpers, which causes GRUB not knowing where to start FIND. If this is the case, GRUB can start with the actual path. I don't have a dual hard drive to test.
Last edited by fastslz on 2006-6-11 at 17:49 ]
|
|
2006-6-11 17:48 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
两个硬盘,乃至3个硬盘,我都试过,没问题的。问题出在你那里,也就只有你可以调试解决了。如果你能提供一个虚拟机映像,我倒是可以试试。估计你也做不出一个映像,用来反复再现该问题的。如果能做出,把它传给我,我就有可能把 BUG 揪出来。
I have tried two hard drives, and even three hard drives, and there's no problem. The problem is with you, and only you can debug and solve it. If you can provide a virtual machine image, I can give it a try. I estimate you can't make an image to repeatedly reproduce this problem. If you can make it, pass it to me, and I might be able to find the bug.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-6-11 22:36 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-12 07:29 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
有的人放在/找不到,放在/boot/grub 却可以找到,有的人刚好相反。而我本人连一次都没碰上,如果让我碰上了,说不定早就解决了。你最好制作一个简单的硬盘映像,来反复再现问题,证实你的猜测。
Some people can't find it when placing it in /, but can find it when placing it in /boot/grub, and some are just the opposite. And I myself have never encountered it even once. If I encountered it, maybe I would have solved it long ago. You'd better make a simple hard disk image to repeatedly reproduce the problem and confirm your guess.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-6-12 09:00 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-12 10:16 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
好的,硬盘映像有多大?太大了这里恐怕不能上载吧?我使用 qemu,没用过 VPC。
qemu识别的磁盘映像很简单,就是直接按扇区拷贝的磁盘映像便可,没有任何多余的格式。
Okay, how large is the hard disk image? It's too big and恐怕can't be uploaded here? I use qemu, haven't used VPC.
The disk image recognized by qemu is very simple, that is, the disk image directly copied by sectors, without any redundant formats.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-6-12 11:01 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-12 11:22 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
你可以上载到某个 FTP 空间之类的。我的邮箱不支持大邮件。
You can upload it to some FTP space or something like that. My email doesn't support large emails.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-6-12 12:12 |
|
|
不得不爱
超级版主
         我爱DOS
积分 5310
发帖 2044
注册 2005-9-26 来自 四川南充
状态 离线
|
|
2006-6-12 12:31 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
我在qemu虚拟机中测试你给的两个硬盘映像。无论加载一个,还是同时加载两个,都正常,没有出现任何异常。你自己也可以用 qemu 来试验。
I tested the two hard disk images you provided in the qemu virtual machine. Whether loading one or both simultaneously, it works normally without any exceptions. You can also use qemu to test it yourself.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2006-6-12 18:37 |
|