* Configuring grub
@ 2008-09-12 14:03 Dermot Paikkos
2008-09-12 14:55 ` Tom Corwine
0 siblings, 1 reply; 3+ messages in thread
From: Dermot Paikkos @ 2008-09-12 14:03 UTC (permalink / raw)
To: linux-admin
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Configuring grub
2008-09-12 14:03 Configuring grub Dermot Paikkos
@ 2008-09-12 14:55 ` Tom Corwine
2008-09-12 15:14 ` Dermot Paikkos
0 siblings, 1 reply; 3+ messages in thread
From: Tom Corwine @ 2008-09-12 14:55 UTC (permalink / raw)
To: linux-admin
> Here's what I've tried
>
>> grub
>
> grub>device (hd0) /dev/cciss/c0d0 # Compaq device names
> grub>root (hd0,0)
> grub>setup (hd0,0)
Try:
grub> root (hd0,0)
grub> setup (hd0)
This should update the MBR correctly.
Tom
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Configuring grub
2008-09-12 14:55 ` Tom Corwine
@ 2008-09-12 15:14 ` Dermot Paikkos
0 siblings, 0 replies; 3+ messages in thread
From: Dermot Paikkos @ 2008-09-12 15:14 UTC (permalink / raw)
To: linux-admin
Thank you Tom. That's fixed it.
Dp.
> -----Original Message-----
> From: Tom Corwine [mailto:linux-admin@...]
>
> > Here's what I've tried
> >
> >> grub
> >
> > grub>device (hd0) /dev/cciss/c0d0 # Compaq device names
> > grub>root (hd0,0)
> > grub>setup (hd0,0)
>
> Try:
>
> grub> root (hd0,0)
> grub> setup (hd0)
>
> This should update the MBR correctly.
>
>
> Tom
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-09-12 15:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-12 14:03 Configuring grub Dermot Paikkos
2008-09-12 14:55 ` Tom Corwine
2008-09-12 15:14 ` Dermot Paikkos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).