GNU GRUB, CentOS won't start up

General support questions including new installations
sports_fan72
Posts: 7
Joined: 2011/04/28 15:12:45

GNU GRUB, CentOS won't start up

Post by sports_fan72 » 2011/04/28 18:15:07

I installed CentOS 5.6 and there was an error, so once it finished, I reburned the cds and installed it again. Now When I start up the cpu, GNU Grub comes up. Version 0.97 (640K lower/2096864K upper memory). How do I get the OS to start up. When i type in boot, I get error 8: Kernel must be loaded before booting".
[Moderator edit: Fixed tyop in Subject.]

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

GNU GRUB, CentOS won't start up

Post by pschaff » 2011/04/28 20:12:45

Welcome to the CentOS fora. Reading [url=https://www.centos.org/modules/newbb/viewforum.php?forum=47]FAQ & Readme First[/url] is recommended for new users.

It seem that GRUB cannot find the menu file. Some information about the disk configuration you used for the installation might help. To debug try the following at the GRUB prompt and see what is returned:[code]
find /boot/grub/stage1
find /grub/stage1[/code]
You could also try booting from installation media in rescue mode to see if you may need to [url=http://wiki.centos.org/TipsAndTricks/ReinstallGRUB]reinstall GRUB[/url].

sports_fan72
Posts: 7
Joined: 2011/04/28 15:12:45

Re: GNU GRUB, CentOS won't start up

Post by sports_fan72 » 2011/04/28 20:52:14

When I type those commands, I receive error 15: file not found.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: GNU GRUB, CentOS won't start up

Post by pschaff » 2011/04/28 21:04:42

So GRUB can't find its own files. What happens when you try the rescue boot?

sports_fan72
Posts: 7
Joined: 2011/04/28 15:12:45

Re: GNU GRUB, CentOS won't start up

Post by sports_fan72 » 2011/04/28 21:32:21

Just tried the rescue boot, got to the 5th and final cd and then it says the file isdn4k-utlis-3.2-56.e15.i386.rpm cannot be opened. This is due to a missing file, a corrupt package or corrupt media. Please verify your installation source.

If you exit, your system will be left in an inconsistent state that will likely require reinstallation.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: GNU GRUB, CentOS won't start up

Post by pschaff » 2011/04/28 21:36:09

That was not a rescue boot, that was a re-install. A rescue boot requires only CD#1 and is initiated, as explained in the [url=http://wiki.centos.org/TipsAndTricks/ReinstallGRUB]link[/url] provided earlier, by typing "linux rescue" at the "boot:" prompt. You seem to have bad media. Did you do the checksums on the downloaded ISO images and verify the media?

[OT: The install DVD is a whole lot easier to deal with than a stack of CDs unless you can't use it.]

sports_fan72
Posts: 7
Joined: 2011/04/28 15:12:45

Re: GNU GRUB, CentOS won't start up

Post by sports_fan72 » 2011/04/28 21:42:41

Edit - Nvm

sports_fan72
Posts: 7
Joined: 2011/04/28 15:12:45

Re: GNU GRUB, CentOS won't start up

Post by sports_fan72 » 2011/04/28 21:49:23

Typed the commands in on the black screen. now what do I do?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: GNU GRUB, CentOS won't start up

Post by pschaff » 2011/04/28 21:53:42

What black screen and what commands? Please read the last link in my signature before replying.

sports_fan72
Posts: 7
Joined: 2011/04/28 15:12:45

Re: GNU GRUB, CentOS won't start up

Post by sports_fan72 » 2011/04/28 21:56:38

I followed the commands in the link. I went into linux rescue mode and typed "chroot /mnt/sysimage" and "grub-install /dev/sda". Now what do I do from here?Reboot?

Post Reply