LinuxQuestions.org
Visit Jeremy's Blog.
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 06-25-2003, 10:49 PM   #1
Phil Healey
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat 9.0
Posts: 25

Rep: Reputation: 15
Adding GRUB after the fact?


I'm running RH9.0 on a Dell Dimension 4550 which came with WinXP pre-installed. During the installation, the program "strongly recommended" I make a boot disk because of GRUB problems with WinXP. Fearful of losing my Windows partition (good indicator of newbie-ness) I forewent installation of GRUB and now boot with a boot disk. This is getting to be a hassle, and now that I know a bit more about what's going on, I was wondering if there's a way to install GRUB now, with everything in place.

Thanks for the advice,
Phil
 
Old 06-26-2003, 02:18 AM   #2
JunLitsu
Member
 
Registered: Apr 2002
Distribution: Gentoo
Posts: 95

Rep: Reputation: 15
yes simply type grub-install as root
make sure /boot/grub/grub.conf is set up properly
 
Old 06-28-2003, 01:58 PM   #3
Phil Healey
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
How do I know if it's set up properly? That is, where can I find out what the various hda partitions are?
 
Old 06-28-2003, 02:13 PM   #4
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Take a look at the /etc/fstab.

Here's my grub.conf file to serve as a guide.

Quote:
# 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,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz

title Red Hat Linux (2.4.21-AthlonXP)
root (hd0,0)
kernel /vmlinuz-2.4.21-ck1 ro root=LABEL=/ hdc=ide-scsi hdd=ide-scsi vga=792
initrd /initrd-2.4.21-ck1.img

title Red Hat Linux (2.4.20-18.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-18.9 ro root=LABEL=/ hdc=ide-scsi hdd=ide-scsi
initrd /initrd-2.4.20-18.9.img
 
  


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
Adding to Grub zchoyt Linux - Software 3 08-15-2005 11:34 PM
Adding to GRUB stolieman Linux - General 1 11-20-2004 01:42 AM
adding OS to Grub jturnbul Fedora 6 09-16-2004 09:29 PM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 10:16 AM
Help adding XP to Grub? superdigg Linux - Newbie 1 01-09-2003 05:13 PM

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

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