Bug 55230 - Grub refuses to load RHL 7.2 and W2k
Summary: Grub refuses to load RHL 7.2 and W2k
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: grub   
(Show other bugs)
Version: 7.2
Hardware: i386 Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2001-10-27 20:29 UTC by Need Real Name
Modified: 2007-04-18 16:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-12-29 17:39:38 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Grub config file that is not working (621 bytes, text/plain)
2001-10-27 20:30 UTC, Need Real Name
no flags Details
Lilo config file that is working (257 bytes, text/plain)
2001-10-27 20:35 UTC, Need Real Name
no flags Details
Disk information (hdparm -i and parted print) (1.66 KB, text/plain)
2001-10-27 20:37 UTC, Need Real Name
no flags Details
device.map (105 bytes, text/plain)
2001-10-30 04:22 UTC, Need Real Name
no flags Details

Description Need Real Name 2001-10-27 20:29:20 UTC
Description of Problem:
After a fresh install of Enigma on a Gateway Pentium II 300 MHz, Grub comes
up with a menu and a splashfile, but does not want to load either of the
operating systems on the machine.  Lilo works perfectly for either.

See attachments for system info.

Version-Release number of selected component (if applicable):

How Reproducible:
Every time Grub is the boot loader.

Steps to Reproduce:
1. Run grub-install
2. Reboot

Actual Results:
Error messages are as follows:
For Enigma: 
  Booting 'Red Hat Linux (2.4.7-10)'

root (hd1,4)
 Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/hde5
   [Linux-bzImage, setup=0x1400, size=0xc2714]

For Win2k:
  Booting 'Windows'

rootnoverify (hd0,0)
chainloader +1

Error 25: Disk read error

Press any key to continue...

Expected Results:
Grub loads Enigma and Win2k correctly.

Additional Information:

Comment 1 Need Real Name 2001-10-27 20:30:51 UTC
Created attachment 35264 [details]
Grub config file that is not working

Comment 2 Need Real Name 2001-10-27 20:35:49 UTC
Created attachment 35265 [details]
Lilo config file that is working

Comment 3 Need Real Name 2001-10-27 20:37:27 UTC
Created attachment 35266 [details]
Disk information (hdparm -i and parted print)

Comment 4 Jeremy Katz 2001-10-29 19:59:48 UTC
Can you also attach your /boot/grub/device.map?

Comment 5 Need Real Name 2001-10-30 04:22:33 UTC
Created attachment 35581 [details]

Comment 6 Jeremy Katz 2001-10-31 22:40:19 UTC
Which drive is set up as your first drive in your BIOS?

Comment 7 Need Real Name 2001-10-31 22:59:21 UTC
/dev/hda (ide0, disk0) is setup as the first boot device.  I actually have no 
opportunity to set it to /dev/hde (ide2, disk0) (the BIOS only allows disks on 
the internal (motherboard) ide slots to be selected for boot).
BTW, I am installing both GRUB and lilo on /dev/hda  (i.e. the MBR).

Comment 8 Need Real Name 2002-01-19 16:13:59 UTC
There is a similar problem in one machine I installed RH 7.2 to...

Grub cannot boot w2k from NTFS partition which is located in (hd0,0), and dislays 
Error 25: Disk read error.
Linux, which is installed to another disk (hd1,6) boots fine.

I found a way to make windows boot: 
When the boot menu appears, press 'C'
run command 'geometry (hd0)'
then press esc to get back to menu
now, when windows is selected from the menu, it boots normally!

The really interesting part is that the command 'geometry (hd0)' must be run by 
hand. If it's put in the menu.lst under 'title Windows', it won't work.
Also, if you type all the commands by hand (geometry (hd0), rootnoverify (hd0,0), 
chainloader +1, boot) the disk read error message appears.

I currently have no access to that machine, so I can't get more detailed info.
I'll try to get the info soon.

Here's something I remember:
Grub is installed on MBR of hda
GRUB versions tried: RedHat 7.2 default and grub-0.91-0.20020102cvs from 
rawhide, both show just the same error
hda is some 20GB IDE and hdb is 40GB IDE disk
Machine is 1000MHz Athlon and mb has probably a VIA chipset.

Comment 9 Jeremy Katz 2002-01-22 01:23:13 UTC
Do the test packages at http://people.redhat.com/katzj/grub/ work any better? 
(install the packages, then run `/sbin/grub-install /dev/hda`)

Comment 10 Jeremy Katz 2002-03-08 21:09:24 UTC
Closing due to inactivity.  If you have further information based on the updated
packages, feel free to reopen this report.

Comment 11 Need Real Name 2002-03-10 00:04:58 UTC
Sorry for not getting back to you on this - too many work and personal issues.

Just tried the test package and it now loads Enigma fine, but still gives the 
exact same error on loading Win2k.

Comment 12 Jeremy Katz 2002-12-29 06:11:13 UTC
Does this still occur with 0.92 or the 0.93 package now available at
http://people.redhat.com/~katzj/grub/.  I've yet to see this on any machine I
have access to or see other reports of the problem

Comment 13 Need Real Name 2002-12-29 14:41:38 UTC
The hardware configuration of this machine changed recently (the disk on hde 
failed).  I replaced it with a completely different disk and put it on hdb.  I 
installed 8.0 on the new disk with grub and it worked fine except that it took 
about 30 seconds to execute stage 1.5.  But then I had trouble with Win2k on 
hda and decided to turn it into a linux only machine.  / and /boot is now on 
hda and /home on hdb.  
So, in the end it seems to have been some peculiar hardware interaction.

Comment 14 Jeremy Katz 2002-12-29 17:39:38 UTC
Due to lack of reproducibility, closing as WORKFORME.  If you can reproduce on
different hardware, feel free to reopen.

Note You need to log in before you can comment on or make changes to this bug.