LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2003, 03:17 AM   #1
stmifx
LQ Newbie
 
Registered: Apr 2003
Posts: 1

Rep: Reputation: 0
Angry 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
 
Old 04-02-2003, 06:03 AM   #2
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 04:50 PM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM
GRUB problems allforcarrie Linux - Newbie 1 09-17-2004 05:36 PM
GRUB problems Swishaa Linux - Newbie 12 05-10-2004 09:47 AM
GRUB problems... pandasonic Linux - Software 2 11-27-2003 02:34 PM


All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration