Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Where have you been all my life! I found the answer I needed in seconds..."

Geography

Where in the world do Tek-Tips members come from?
handle789 (TechnicalUser)
31 May 12 0:22
Hi,

Can someone help with this booting issue?

My PC has 2 hard drives, one IDE and one Sata, with several disk partitions on the Sata drive and with both Windows XP and CentOS residing on the same larger Sata drive. It could dual boot into either CentOS or Windows XP until recently.

I recently installed a newer version of CentOS over the same old Linux partition. When booting up there is now a "grub>" prompt and nothing happens after this.

I typed boot and got:

Error 8: Kernel most be loaded before booting.

I boot into the Rescue mode using CD 1 of CentOS. Here is the output of fdisk -l, /boot/grub/device.map, /boot/grub/grub.conf, df -h. What changes are needed so that grub will display a boot menu instead of the grub prompt and will boot properly? Thank you.

fdisk -l
=========
Disk /dev/hdc: 40.0 GB .... (this is the small IDE Windows data drive)
...

Disk /dev/sda: 250.0 GB ... (this is the larger Sata drive with the two OS)

Device Boot Start End Blocks Id System
/dev/sda1 * 7 HPFS/NTFS
/dev/sda2 b W95 FAT32
/dev/sda3 f W95 Ext'd (LBA)
/dev/sda5 7 HPFS/NTFS
/dev/sda6 7 HPFS/NTFS
/dev/sda7 640K blk 83 Linux
/dev/sda8 65,954K blk 8e Linux LVM

/boot/grub/device.map
======================
(hd0) /dev/hdc
(hd1) /dev/sda

/boot/grub/grub.conf
=====================
default=0
timeout=5
splashimage=(hd1,6)/grub/splash.xpm.gz
hiddenmenu

title CentOS (2.6.18-194.el5xen)
root (hd1,6)
kernel /xen.gz-2.6.18-194.el5
module /vmlinuz-2.6.18-194.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.18-194.el5xen.img

title CentOS-base (2.6.18-194.el5)
root (hd1,6)
module /vmlinuz-2.6.18-194.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-194.el5.img

title Other
rootnoverify (hd0,0)
chainloader +1

df -h
=======
/dev/VolGroup00/LogVol00 58 G (mounted on /)
/dev/sda7 578 M (mounted on /boot)

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close