中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 03:14
47,811 topics / 349,897 posts / today 0 new / 48,256 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Report a BUG of GRUB!
Printable Version  8,867 / 69
Floor1 不得不爱 Posted 2006-06-11 10:04
超级版主 Posts 2,044 Credits 5,310 From 四川南充
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?
Floor2 Wengier Posted 2006-06-11 10:06
系统支持 Posts 10,521 Credits 27,736
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.
Floor3 不得不爱 Posted 2006-06-11 11:03
超级版主 Posts 2,044 Credits 5,310 From 四川南充
It seems that it is best to put menu.lst under /, but still should make a change!
Floor4 不点 Posted 2006-06-11 12:03
银牌会员 Posts 1,115 Credits 2,491
选定的柱面超过了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)
Floor5 不得不爱 Posted 2006-06-11 13:52
超级版主 Posts 2,044 Credits 5,310 From 四川南充
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!
Floor6 fastslz Posted 2006-06-11 17:48
铂金会员 Posts 2,315 Credits 5,493 From 上海
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 ]
Floor7 不点 Posted 2006-06-11 22:36
银牌会员 Posts 1,115 Credits 2,491
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.
Floor8 不得不爱 Posted 2006-06-12 07:29
超级版主 Posts 2,044 Credits 5,310 From 四川南充
Then where do you put the MENU.LST? Is it under /? It only works properly for me under /!
Floor9 不点 Posted 2006-06-12 09:00
银牌会员 Posts 1,115 Credits 2,491
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.
Floor10 不得不爱 Posted 2006-06-12 10:16
超级版主 Posts 2,044 Credits 5,310 From 四川南充
How about I send you those two hard disk images and you try them in VPC?
Floor11 不点 Posted 2006-06-12 11:01
银牌会员 Posts 1,115 Credits 2,491
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.
Floor12 不得不爱 Posted 2006-06-12 11:22
超级版主 Posts 2,044 Credits 5,310 From 四川南充
There are 25.5M. I don't know if your email supports it.
Floor13 不点 Posted 2006-06-12 12:12
银牌会员 Posts 1,115 Credits 2,491
You can upload it to some FTP space or something like that. My email doesn't support large emails.
Floor14 不得不爱 Posted 2006-06-12 12:31
超级版主 Posts 2,044 Credits 5,310 From 四川南充
Has been sent in two parts. Please check at tinybit@TOM.COM
Floor15 不点 Posted 2006-06-12 18:37
银牌会员 Posts 1,115 Credits 2,491
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.
1 2 3 45  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023