LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-08-2002, 02:00 AM   #1
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Rep: Reputation: 30
edit grub


man i cant seem to get it right i saw on this page a couple of posts on how to get this to work but i just cant figure it out. here is whats in my grub.conf file.
# 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/hda3
# initrd /initrd-version.img
#boot=/dev/hda2

default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title= Red Hat Linux (2.4.18-3)

title= Windows XP boot menu
rootnoverify (hd0,0)
chainloader +1

root (hd0,1)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda3 hdc=ide-scsi
initrd /initrd-2.4.18-3.img


now the problem is that even thou there is a record for winXP and linux it will only load into linux and it will only show the linux record did i right my grub incorrectly or something? please help me
 
Old 11-08-2002, 03:59 AM   #2
jdc2048
Member
 
Registered: Jul 2002
Location: Ohio, USA
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
Was this working and then you made changes to the grub.conf file, or are you changing to grub from lilo?

If either of the previous are true, did you run grub-install after setting this up?
 
Old 11-08-2002, 07:30 AM   #3
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
apon installing red hat i choose to do a grub on but and i put it as the first record on my hd. When i turned it on all that was on the list was Red Hat and not my win xp. Why should i be using lilo insteed. also my winxp is on ntfs if that helps any.

Last edited by digital bots; 11-08-2002 at 09:01 AM.
 
Old 11-08-2002, 09:29 AM   #4
digital bots
Member
 
Registered: Feb 2002
Distribution: Slack 10.1
Posts: 215

Original Poster
Rep: Reputation: 30
this is scary i figured it out on my own. LOL here is what i did.
# 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/hda3
# initrd /initrd-version.img
#boot=/dev/hda2

default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz

title= Red Hat Linux (2.4.18-3)
root (hd0,1)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda3 hdc=ide-scsi
initrd /initrd-2.4.18-3.img

title= Windows XP Pro
rootnoverify (hd0,0)
chainloader +1
 
Old 11-08-2002, 07:38 PM   #5
jdc2048
Member
 
Registered: Jul 2002
Location: Ohio, USA
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
Quote:
Originally posted by digital bots
this is scary i figured it out on my own. LOL here is what i did.
You stated this, but I didn't see your solution. Please post your solution so that others can make use of it as well.

-------------
Jeremiah
 
Old 11-09-2002, 01:09 AM   #6
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
jdc2048, if you check the first time digital bots listed his grub.conf file, you'll see that the title line for red hat got separated from the root, kernel, and initrd lines. digital bots fixed it by moving those lines next to the title line for red hat.
 
  


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
How do you edit GRUB? adamt56 Linux - Newbie 7 09-01-2004 08:48 PM
[SOLVED] How to edit grub.conf filosophem Red Hat 4 02-07-2004 04:04 AM
Trying to edit my grub mranderson Red Hat 1 11-25-2003 10:07 PM
edit grub rudey Linux - Newbie 1 09-18-2003 09:42 PM
GRUB edit? walid97 Linux - Newbie 2 10-04-2002 01:07 PM


All times are GMT -5. The time now is 09:19 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