LinuxQuestions.org
Review your favorite Linux distribution.
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 10-22-2004, 11:36 AM   #1
Seventh_Warrior
LQ Newbie
 
Registered: Feb 2004
Location: Canada
Distribution: Fedora Core 3 x86_64
Posts: 19

Rep: Reputation: 0
Questions about installing GRUB


I have some questions about the grub introduction located here:

http://www.linuxquestions.org/questi...icle&artid=207

The way my system is set up is hda has 2 win xp partitions on it, and hdb has the main linux partition and the swap partition on it.

So for the command 'grub-install --rootdirectory=/boot /dev/hda', should I use '/boot' or just '/'?

Also, the 'dev/hda', what is that specifying? Is it the drive where grub will overwrite the mbr, or is it the drive with all the grub files on it? If it's the file with all the grub files, how do you specify which mbr to overwrite?
 
Old 10-22-2004, 11:49 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
grub-install --rootdirectory=/boot /dev/hda
I don't even use the rootdirectory part .
/dev/hda is where the MBR is and the grub will take that over. The grub files like stage1 and stage2 will most likely get put in /boot/grub by the grub installer.
 
Old 10-25-2004, 09:38 PM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
firstly I am trying to get rid of that answer and hope people find this
http://www.linuxquestions.org/questi...troubleshooter

can you post your /etc/fstab file for linux and if you have not xp in that file what each C drive is on for hda
eg hda is partition 1 first C drive part 2 is its swap part 3 is second XP

2) you have multiple choices with 2 mbrs. If bios boot order is hda then hdb (xp then linux) then grub can go into mbr for hda or boot order changed to hdb and grub into that mbr or as per above link you keep ntloader in hda and chainload grub which is put into the PARTITION of linux /boot

we need more info to help you out if you don't understand what I just said.

3) to begin with have a look at the keep windows bootloader section of the link and see if that appeals.
 
  


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
grub booting questions jiawj Red Hat 6 12-31-2004 05:54 AM
grub questions siegecraft4 Linux - Newbie 7 07-17-2004 10:56 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
grub questions.... oubipaws Linux - Software 10 07-25-2003 11:43 AM
Grub Questions? veraMOB Linux - General 2 07-17-2003 04:13 PM

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

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