Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-09-2011, 11:31 AM   #1
LQ Newbie
Registered: Jun 2009
Posts: 6

Rep: Reputation: 0
Grub installs successfully but will not boot.

I restored my system with CentOS 4.8.
When it boots I am taken to the GRUB prompt.

I ran the following commands:

find /grub/stage1
root (hd0,0)
setup (hd0)

It claims it was successful. Here is the output.

After I give the 'boot' command it just reboots back into the grub prompt. Am I doing something wrong?
Old 02-09-2011, 12:59 PM   #2
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
Try this;
grub> setup hd0,0
You should see a bunch of output. Then check your default boot line in the config file
title CentOS-custom (2.6.18-194.8.1.el5) (hd0,0)
  root (hd0,0)
  kernel /vmlinuz-2.6.18-194.8.1.el5 ro root=/dev/vg0/lv1 rhgb quiet crashkernel=128@16M
  initrd /initrd-2.6.18-194.8.1.el5.img
Old 02-09-2011, 01:01 PM   #3
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,891

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
There are two other things to look at: your partition setup and your grub menu.lst (just the menu part listing your installed OSs).
Please show the output of "fdisk -l" along with the menu stanzas from /boot/grub/menu.lst. That information may be enough to sort things out.
Old 02-23-2011, 03:50 AM   #4
LQ Newbie
Registered: Feb 2011
Posts: 6

Rep: Reputation: 0
Smile Grub Loader

The partition mounted on /boot/ contains the operating system kernel.
While creating the /boot partition, select "Force to be a primary partition" ... next window ...Grub loader... select "The GRUB boot loader will be installed on /dev/hda" and proceed further.


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
grub help! HDD installs and now cannot boot. keratos Linux - Newbie 13 05-28-2007 02:13 AM
GRUB with 2 or more Linux installs sadiqdm Linux - Distributions 0 05-21-2007 04:18 AM
grub and iso installs davidleroux1 SUSE / openSUSE 2 01-06-2007 07:53 PM
LXer: Resolution Software successfully installs ClearHealth LXer Syndicated Linux News 0 12-05-2006 01:24 AM
installs of fedora and lycoris boot to grub prompt mrtessster Member Success Stories 2 08-16-2004 06:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration