Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728
Rep:
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.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
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:
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.
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.
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.
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.
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728
Rep:
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
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.