Configuring grub

"Dermot Paikkos" <[email protected]>
Newsgroups gmane.linux.admin
Message-ID <L5DAE23984F1043cfB2590D770EC43285.1221228193.earth.sciencephoto.co.uk@MHS>
Hi,

I have hit a problem. My HP server rebooted after installing some 
updates and gave me a red screen Illegal OpCode error. After doing some 
hunting around, the best answer I found was on a thread on a mailing 
list that said that the error was due to the the BIOS trying to find a 
correct boot image and failing.

I can boot the system from the OS CD (CentOS) and chroot so that my 
existing root system is installed. What I can't seem to do is get grub 
to re-install the boot loader into the MBR. In an effort to make it do 
so I booted the server with a MS dos floppy and did fdisk /mbr. That has 
remoced the red screen message but I still can't get grub to configure 
my MBR correctly and I am left with a missing operating system message 
from the server.


Here's what I've tried

>grub

grub>device (hd0) /dev/cciss/c0d0	# Compaq device names
grub>root (hd0,0)
grub>setup (hd0,0)

I get a number of messages

Checking if /boot/stage1 exists...(no)
Checking if /grub/state1 exists...(yes)
Checking if /grube2fs_stage1_5 exists...(yes)
Running embed /grub/e2fs_stage1_5 (hd0,0) failed (this is not fatal)
Running embed /grub/e2fs_stage1_5 (hd0,0) failed (this is not fatal)
Running install /grub/stage1 (hd,0) /grub/stage2 p /grub/grub.conf 
succeeded
Done.

It always reads as if it's ended successfully but nothing changes and I 
can't get the boot loader into the MBR.

Can anyone spot where I might be going wrong?
Thanx in advance,
Dp.

--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.