LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-06-2006, 10:14 AM   #1
TurboChicken
Member
 
Registered: Aug 2004
Posts: 44

Rep: Reputation: 15
Grub question


Code:
# 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 (hd0,1)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/hde
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
        root (hd0,1)
        kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.11-1.1369_FC4.img
title Other
        rootnoverify (hd2,0)
        chainloader +1
when i try and boot into windows it gives me nothing...

all i see on the screen is:
Code:
        rootnoverify (hd2,0)
        chainloader +1
windows is installed on hde5 so the hd2,0 doesn't seem right to me...

is there something wrong??

it has worked before now... but i don't know what's gone wrong???
 
Old 03-06-2006, 10:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
hd2,0 in grub is hdc1 inside linux, so you presumably what to use (hd3,4) instead. you can always use the e key to edit the line temporarily within grub.
 
Old 03-06-2006, 06:08 PM   #3
TurboChicken
Member
 
Registered: Aug 2004
Posts: 44

Original Poster
Rep: Reputation: 15
i fixed it... but it seems to be relative to the partition that grub is on... the correct line was hd0,0
 
Old 03-06-2006, 06:15 PM   #4
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
You need to study device.map to figure out how grub is mapping the drives.
 
Old 03-07-2006, 12:00 AM   #5
grym
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Gentoo/Slackware/Debian/Mandrake
Posts: 285

Rep: Reputation: 30
If windows wasn't booting I think grub was working great

You don't need a device map necessarily. Grub has command-line completion just like bash. So you could type something like --

root (

then hit tab and it will provide you with the available options. Also grub doesn't care whether a drive is IDE, SCSI, or SATA - they all start with hd0 and go up from there.
 
  


Reply



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
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 01:51 PM
Grub Question ZingSter Linux - Software 4 10-04-2004 04:09 PM
GRUB question King4lex Linux - Newbie 1 08-16-2004 10:49 AM
Grub question? BajaNick Linux - General 0 07-30-2003 07:58 PM
Grub question lynch Linux - General 1 10-27-2002 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:08 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
Open Source Consulting | Domain Registration