problem with grub under winxp and Rh 9

From: Dave (davis_eric_at_yahoo.com)
Date: 12/27/03


Date: 26 Dec 2003 23:45:01 -0800

Hi,

Got a problem on grub under winxp and linux 9. My box with winxp and
linux worked fine before I reinstalled winxp. Then not suprisingly, it
wiped out MBR and kicked out linux boot record. I was trying to
reinstall grub to /dev/hda but no luck. Could anyone tell me what's
wrong here?

My partitions are winxp on /dev/hda1 and linux on /dev/hda2. The way I
reinstalled grub is :
1. boot to rescue mode.
2. chroot to /mnt/sysimage
3. run grub-install /dev/hda

my grub.conf under /boot/grub looks like:
default=1
timeout=30
title Red Hat Linux
      root (hd0,2)
      kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
      initrc /boot/initrd-2.4.20-8.img
title WindowsXP
      rootnoverify (hd0,0)
      chainloader +1

then I rebooted my machine and I got the message "Grub load stage1.5"
and "Grub loading, please wait". Then the machine just hangs for a
long while with black screen and then winxp boots up, without any
indication on linux's exsitence. I remember previously when the
systems worked, I got "Grub load stage 2" and then a GUI menu to
choose which OS to boot. But it doesn't show this now.

I guess something wrong with the conf. But could someone please point
out what I should do to make the booting correct?

Thanks a lot.



Relevant Pages

  • [SLE] Reinstalling Grub on MBR
    ... I screwed up when installing another linux on another partition on my ... harddrive and let it install Lilo on the MRB. ... Grub from SuSE on the MBR but have not found info for my particular ... it seems it should be simple to just reinstall ...
    (SuSE)
  • Re: how to recover grub
    ... linux and xp. ... I need to> reinstall xp caz its ... =>getting the dual> boot option anymore. ... Do I need to do anything regarding grub now that sdc has been added? ...
    (RedHat)
  • problem with grub under winxp and rh9
    ... Got a problem on grub under winxp and linux 9. ... reinstall grub to /dev/hda but no luck. ...
    (comp.os.linux.misc)
  • problem with grub under winxp and rh9
    ... Got a problem on grub under winxp and linux 9. ... reinstall grub to /dev/hda but no luck. ...
    (comp.os.linux.hardware)
  • problem with grub under winxp and rh9
    ... Got a problem on grub under winxp and linux 9. ... reinstall grub to /dev/hda but no luck. ...
    (comp.os.linux.setup)