LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GRUB Hard Disk Error (https://www.linuxquestions.org/questions/linux-newbie-8/grub-hard-disk-error-138523/)

joe_wilkins2001 01-25-2004 02:37 PM

GRUB Hard Disk Error
 
Hello,
I've just installed Fedora on a Dell box with three hard drives. There are three versions of Windows installed on the the first two disks before installing Fedora on an empty unformated third drive.
All the disks showed up ok during the install and I used the automatic disk partition option and unchecked the Windows disks as install options and selected to leave all existing partitions alone.
It defaulted to GRUB.
After the install conpleted and a reboot it just sayes:
"GRUB Hard Disk Error"
I used the boot disk created during the install and got Fedora started and this is what the /boot/grub/grub.conf looks like:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd2,0)
# kernel /vmlinuz-version ro root=/dev/hde2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd2,0)/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2115.nptl)
root (hd2,0)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdd=ide-scsi rhgb initrd /initrd-2.4.22-1.2115.nptl.img
title Windows options
rootnoverify (hd0,0)
chainloader +1

Any ideas how to get the GRUB to start like it's supposed to with the option to choose which OS to start?

Thanks!!

spuzzzzzzz 01-25-2004 04:29 PM

First of all, you should make sure GRUB is installed in the correct place - (hd0):

me@mycomputer# grub
grub> root (hd2,0) /*or wherever your /boot partition is */
grub> setup (hd0) /* install GRUB in the MBR of your first disk */
grub> quit

Then you should add all the boot options by adding the lines:

title Crappy M$ Windoze
rootnoverify (hdX,Y) /* depending on which partition you want */
chainloader +1

for each instance of windows that you want to enable


All times are GMT -5. The time now is 07:21 AM.