Configuring grub

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux