Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 131930

Summary: GRUB fails to boot DOS occasionally
Product: Red Hat Enterprise Linux 3 Reporter: Landon Kelsey <landonmkelsey>
Component: grubAssignee: Jeremy Katz <katzj>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-07 18:18:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Landon Kelsey 2004-09-07 00:26:33 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922

Description of problem:
XP Prof on one scsi HD
Redhat Enterprise 3.0 on a second scsi HD

works great except:

Once in a while when booting to DOS(XP PROF), the boot process starts
but I never get to the XP Prof login screen. I have to do a not
graceful restart and then I get into XP Prof.

I reloaded XP Prof and this removed GRUB.

To get GRUB back working, I did the below procedure and even though
DOS appeared in the list, selecting DOS always brought me back to the
initial GRUB selection menu.


 
linux rescue
    



You will be asked if you want to enable networking. This is optional
if your installation images are on the local CD-ROM or hard drive. You
will want to enable networking if your installation images reside on
an FTP, HTTP, or NFS server on your network.

The rescue environment will ask if you wish to mount filesystems.
Select "Continue" to mount the filesystems in read-write mode. Verify
that your filesystem was correctly constructed by issuing the mount
command.

Your hard drives will be reconstructed under the mount point
/mnt/sysimage. To reinstall GRUB, you need to shift contexts so the
grub-install command thinks that your root filesystem is the
/mnt/sysimage directory. This is accomplished with the chroot command.
Next run grub-install then exit:

 
sh-2.04# chroot /mnt/sysimage
sh-2.04# grub-install /dev/sda  <--(if your disk is IDE, substitute
hda for sda)
sh-2.04# exit
    



Type exit again to exit the rescue environment and reboot. Your
bootloader should now be restored.




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


How reproducible:
Sometimes

Steps to Reproduce:
1.simple boot and select DOS
2.
3.
    

Actual Results:  I get the GRUB screen again after selecting DOS

Expected Results:  should have booted up DOS

Additional info:

I did nothing fancy. Justwhat I indicated

Comment 1 Jeremy Katz 2004-09-07 18:18:09 UTC
If XP starts to boot and then later fails, that's an XP problem, not a
grub problem.