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 - 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 02-02-2007, 01:56 PM   #1
Commander Quan
LQ Newbie
 
Registered: Jan 2004
Location: Ohio
Posts: 2

Rep: Reputation: 0
GRUB not loading on bootup going straight to Windows


I currently have windows XP installed on the master hard drive of my computer and I reciently have installed FC6 on a slave drive the instillation seamed to work fine but when I reboot the system GRUB never loads and it boots straight into XP
I've reinstalled FC on this disk about 3 times all all 3 times it does the exact same thing I used to have redhat 7 on this disk and it would boot to GRUB fine but for whatever reason I had to format the MBR and have only used windows for the last year. What am I missing here?
 
Old 02-02-2007, 02:21 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You have to install grub to the MBR of the first hard drive (/dev/hda).
 
Old 02-02-2007, 02:25 PM   #3
Commander Quan
LQ Newbie
 
Registered: Jan 2004
Location: Ohio
Posts: 2

Original Poster
Rep: Reputation: 0
When I installed FC I could swear that I had it set to overwrite the MBR. I'll go home tonight and try again to make sure.
 
Old 02-02-2007, 02:33 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Just make sure it overwrites the MBR on the first hard drive, not on the second (where it is installed).
 
Old 02-02-2007, 02:40 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
If it is not obvious that the installer is going to put grub on the first drive, you can always put it on a floppy.

Also, you should be able to install grub from the install CD. Boot from the CD and--as soon as it is up a running, type ctrl-alt-F1. This should get you to a command line.

Here are the steps to install grub from any Linux command line:
I'm assuming IDE/PATA, and Fedora all on one partition (/)
Code:
grub    starts the grub shell
root   (hd1,0)   Tells grub that "home base" is on the first partition of the 2nd drive
setup (hd0)
If you have FC6 setup with a separate partition for /boot, then the "root" statement above needs to point to that partition.

Now you have to edit the /boot/grub/menu.lst file to make sure it is setup correctly.
 
  


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
Keeps loading straight to Windows (even with Grub installed) stugi Linux - Newbie 12 03-02-2006 08:49 AM
I Fedora Core 2 (windows bootup problem) not in grub but in partions setup fromFedora maximalred Fedora 0 01-15-2005 10:39 PM
SuSE 9.1 and Windows Xp refuse to live in harmony: error loading windows through GRUB sanctumtacete Linux - Newbie 3 10-19-2004 07:47 AM
GRUB loading windows teamstatic84 Linux - General 5 12-29-2003 08:46 PM
GRUB hanging at bootup (Fedora Linux, dual boot Windows XP) Forezt Linux - Software 4 12-07-2003 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:56 AM.

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