Can't get past GRUB Screen after new install of Fedora 15
I have been trying to install Fedora 15 on a desktop. I have used the Live CD, I have created a bootable usb, and have used the larger install DVD. In each case I have been able to install Fedora 15 successfully and then get prompted to restart my computer. When I restart it only opens up a GRUB command prompt.
The exact message on the screen is: GNU GRUB version 0.97-71.fc15 (638k lower / 1047488k upper memory)I am completely new at this and have not been able to find anything in the forums or on the web that describes the same problem. I don't have any other OS installed on the computer and it is a brand new install of Fedora 15. Anyone have any ideas? |
How many had disks do you have ?.
If you have just one enter this command and post the output - if two do it for hd1 as well Code:
geometry (hd0) |
When I type in the code at the GRUB screen it just returns "Error 21: selected disk does not exist"
I wasn't sure if you meant for me to do it at the GRUB screen or in a terminal so I used the live cd to open up the terminal. I typed the same code and it returned "bash: syntax error near unexpected token `hd1'" |
Sorry, I meant from the grub menu - odd this is the second like this just recently.
From the liveCD, go here, do as it says and post the RESULTS.txt. Let's see what's on that machine. |
This is the RESULTS.txt:
Code:
Boot Info Script 0.60 from 17 May 2011 |
You have a 1GB flash drive shown as sda with syslinux as the bootloader. You have a 160GB hard drive with Fedora installed with Grub in its mbr looking for boot files on sdb1. Your Fedora entry is pointing to (hd0,0) which is sda1. Are you getting this error when you set the 160GB drive to first boot priority in the BIOS?
If that's the case, you should be able to boot by changing your grub.conf entry to root (hd1,0). Use the Fedora CD, boot it, log in as root user, open a terminal and mount sdb1 so that you can access the grub.conf file on your hard drive to make the change. |
I assume that is a liveUSB - normally the system would be booted without it.
@lilseal18, boot the system as normal, at the grub menu, enter "geometry (hd" (no quotes, nothing else) and hit the <Tab> key. Post the full response here. BTW, did you use a 0 (zero) in the geometry command previously ?. |
@syg00 when I type in "geometry (hd" and hit the <TAB> key it just creates another command line in GRUB with "geometry (hd" still in it. When I press the <ENTER> key it returns "Error 21: selected disk does not exist" which is the same error message when I tried it before with the (hd0). To your next question I did use the zero character and not the letter o when I had tried it before (I did it again just to make sure).
So what does the error 21 mean exactly? I am interpreting that as saying that GRUB doesn't even see my hard drive. Or am I just reading it the complete wrong way? @yancek I haven't tried to edit the grub.conf file yet. Maybe I'll give it a try next... |
@yancek I changed the grub.conf entry to hd(1,0) and rebooted. I changed the boot priority back to the 160G hard drive in the BIOS and it still took me to the GRUB command prompt. Just to clarify, the 1G usb drive has the live install on it.
|
I'm presuming the USB boots the same as the liveCD. When you see the "Default boot in 10 seconds" message, hit one of the arrow keys. It'll give you a boot menu - choose the last one "Boot from local drive".
Once that comes up, open a terminal and try the following (you'll need your root password) Code:
su -c grub |
Yes the USB boots the same as the live CD. When I tried to boot from local disk I end up getting a message that says:
Quote:
Quote:
Quote:
|
Some points to clarify:
You do have a 64-bit computer? You booted the flash drive with the installation CD on it. You selected to install Fedora. The installation completed and you got a message on screeen indicating so and instructing you to reboot. You re-booted, changed the BIOS to set your 160GB drive to first boot priority and removed the USB drive. Upon reboot, you get only the grub prompt. Correct? The output from the (hd*) commands suggested by syg00 are what would be expected. Don't know what the first message means. I don't see anything really wrong with the bootinfo script output. You have the correct boot files and you have Grub in the mbr of sdb. Did you get the error message from your first post when you tried to boot with the 160GB drive set to first boot priority? Have you tried reinstalling Grub from the flash to the hard drive? |
Quote:
Quote:
Quote:
Quote:
|
It's starting to look like you have a BIOS problem - esecially that PXE message. I have a similar situation on an old laptop. I simply boot that from a floppy as it doesn't boot from USB (I said it was old .... :p )
I don't understand why you can't then boot into the hard disk like I do - although I constructed the grub from scratch. You could do a chroot into that system (from the USB command line) but you would have to ensure the LVM environment is in place first. Once booted, Linux ignores the BIOS, so you will (er, should) be o.k. |
I note that what you have on your hard drive is the first beta release of Fedora 15. Your problem may, but is not likely to, be caused by installing an old beta system. Have you tried downloading a current release? (The Fedora 16 beta should be available early next month if you want to us a beta release, but Fedora 15 has been in production for almost six months now. FYI: Fedora release are normally supported for about a year, with new releases made about every six months.)
If you do reinstall, consider doing your own partitioning without using the logical volume system. The additional complication of LVM is seldom worth it unless you're running a large, multi-user system, or a web server with RAID sets. Having LV overhead on a single drive system is, in my opinion, senseless. Oh, the PIX boot message is just your BIOS telling you that your hard drive has no MBR, so it was attempting a network boot. I suspect that one of your problems is that you failed to let GRUB (or anaconda) overwrite the MBR of your hard drive. (Or, your BIOS may have "virus protection" turned on which often prevents changing the drive's MBR.) |
All times are GMT -5. The time now is 08:59 AM. |