LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-19-2006, 12:22 AM   #1
kuznles
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Rep: Reputation: 0
grub bootloader won't load


I have just loaded Fedora onto my computer, but the grub program won't work. I have 2 - 80 gig hard drives, one for windows and one for Linux. Everything went well during the install, but when it came time to reboot, all I can get is windows. I deleted the programs and reinstalled but it is the same, the bootloader (grub) won't work. Is there a place where I can download a boot loader with instructions on how to install it. I don't know anything about Linux yet.
 
Old 08-19-2006, 12:31 AM   #2
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
When you install Fedora, where did you choose when it ask you to where you want to install grub?
You should choose MBR (master boot record). if you don't, you can run the command
Code:
info grub
to get instruction about how to reinstall just grub only, but you can also easily reinstall Fedora and choose the right option.
 
Old 08-19-2006, 12:44 AM   #3
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,982

Rep: Reputation: 296Reputation: 296Reputation: 296
Use the fedora CD to boot into rescue mode:

boot: rescue <enter>

reinstall the grub boot loader, and do the detailed, or custom install. Grub is probably confused by what you bios states the drive order is, and what grub would think it should be. You do this in /boot/grub/device.map. Grub needs to go in the MBR of the first HDD. If the hard drives are on two different controllers, not a master/slave setup on one controller, (hd0) and (hd1) might be reversed. Read this post:

http://www.linuxquestions.org/questi...d.php?t=473320
 
Old 08-19-2006, 10:08 AM   #4
kuznles
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I tried to re-install from the rescue disk twice, but I will try again, it may look different to me this morning. I only have one drive controller, and both drives are IDE drives.
 
Old 08-19-2006, 03:59 PM   #5
kuznles
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs down grub - bootloader

I have now re- installed it 7 times, the grub file must be corupted. Does anyone know of a bootloader that I can download and use. It would also have to give instructions on using it.
 
Old 08-19-2006, 05:49 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,290

Rep: Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988
For a distro like Fedora you are better off trying to use their package management system rather than a manual install of something. That said, it has plenty of flaws.
It is very unlikely grub is broken. Given you have tried to use the accepted fix procedure, looks like a possible installer issue.

Try the following as a test; change the boot order of the disks in the BIOS, and see if Linux boots. If it does, Windows should be an option on the menu, but probably won't work. Will give us all some more info - you can change the BIOS back to boot windows for now.
 
Old 08-20-2006, 01:00 PM   #7
kuznles
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Smile grub - bootloader

Yes, changed the third boot drive in Bios to hd1 and it worked, in that I could see the contents of the grub files. I edited the grub file to say that linux was in hdo and windows in hd1 and now it works. Aparently grub was going into the MBR of drive 2. Some time I would like to straighten it out, but right now I want to play around in Linux a bit to get some of it figured out.
 
Old 08-20-2006, 01:34 PM   #8
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
Grub is powerful but configure and master it is painful.
I think you should reinstall fedora the whole and remember to install grub to MBR, it is easier for you now.
Later you will find that it is not so difficult after you read the info page I have shown you
 
Old 08-20-2006, 04:49 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,290

Rep: Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988
Broken installer - the user is not to blame. If kuznles told the installer to use the MBR and it installed to the wrong disk, that is a Fedora problem.

There is only 1 MBR (that's what MASTER means after all) - the installer should be able to figure out which disk to update.
 
Old 08-21-2006, 10:20 AM   #10
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
So, Have we found a bug in anaconda-the FC installer, that it cannot find MBR???
 
Old 08-21-2006, 04:44 PM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,290

Rep: Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988
Yes, I believe so - this configuartion (and others) gets mentioned often here as a problem. It's not a new/recent problem either.
Probably should be reported to the devs by an affected user.
 
Old 08-21-2006, 08:04 PM   #12
kuznles
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Original Poster
Rep: Reputation: 0
grub - bootloader

It is definitely a problem. Every time I try to start my computer I have to edit the grub file and tell it that the Linux system is on drive 0 and Windows is on drive 1. It is a pain but it works. I deleted the installation several times and re installed the software but then could not run Linux until yall suggested that I rename the drives in my Bios. It is funny, I tell the bios to boot from drive 1 and then have to tell Linux to boot from drive 0 and win from drive1. What a mess.
 
Old 08-23-2006, 01:32 PM   #13
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by syg00
There is only 1 MBR (that's what MASTER means after all) - the installer should be able to figure out which disk to update.
I hope you meant "1 MBR per hard disk", because each & every HD has its own.

Quote:
Originally Posted by TruongAn
I think you should reinstall fedora the whole and remember to install grub to MBR, it is easier for you now.
but be sure to tell the installer which MBR to install on.

I haven't done an RH/FC install in a while, but my memory is that the non-standard GRUB location option is a bear to find. And since that is a stupid UI problem, they probably don't consider it a bug. It may even be a "feature" because it hides a possibly confusing choice from the average user (P. T. Barnum & Bill Gates would be proud).

Quote:
Originally Posted by kuznles
It is funny, I tell the bios to boot from drive 1 and then have to tell Linux to boot from drive 0 and win from drive1. What a mess.
See /boot/grub/device.map as AwesomeMachine suggests in post #3.

Also you eventually need to read the full manual: http://www.gnu.org/software/grub/manual/grub.html
 
  


Reply

Tags
grub, mbr


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
Bootloader won't load Windows GothicSheep Linux - General 8 02-14-2006 11:10 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM
LILO bootloader will not load Borg Swarm Linux - General 2 12-23-2004 03:10 PM
bootloader won't load on boot tearbasco Linux - Newbie 4 02-07-2004 12:43 AM
Windows Bootloader to load RH 7.3, How? Ůmegaflops Linux - Newbie 2 05-27-2002 03:16 AM


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