LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GRUB problems !! (https://www.linuxquestions.org/questions/linux-newbie-8/grub-problems-52995/)

stmifx 04-02-2003 03:17 AM

GRUB problems !!
 
I am having Win XP and RH 8.0 on 2 different disks. Everything
was working fine till I did something with GRUB and now am not
able to get it back to where I want it. I am using a rescue disk to
boot.

My grub.conf file is empty and here is what I have entered into
that file

title Red Hat (2.4.18-27.8.0)
root(hd1,1)
kernel /boot/vmlinuz-2.4.18-27.8.0 root=/dev/hdb3
init

It fails at 'kernel' line saying file not found.

If I choose Win XP option it fails too 'executable not found'.


Any ideas where I am going wrong ??

Really appreciate a response.

This is the output of fdisk -l , if it helps.

Disk /dev/hda: 255 heads, 63 sectors, 2431 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2430 19518943+ 7 HPFS/NTFS

Disk /dev/hdb: 255 heads, 63 sectors, 7297 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 2563 20482875 83 Linux
/dev/hdb3 2564 3328 6144862+ 83 Linux
/dev/hdb4 3329 7297 31880992+ f Win95 Ext'd (LBA)
/dev/hdb5 3329 3459 1052226 82 Linux swap
/dev/hdb6 3460 7297 30828703+ 83 Linux

annehoog 04-02-2003 06:03 AM

Here's my config (also booting two disks with grub in the mbr):
# 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 (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdc2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14)
root (hd1,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /initrd-2.4.18-14.img
title DOS
rootnoverify (hd0,0)
chainloader +1

Hope that helps,

Anne


All times are GMT -5. The time now is 08:25 AM.