List Info

Thread: RE: Confirming grub installation




RE: Confirming grub installation
user name
2008-06-10 09:19:34
Peter Farrell wrote:
> 
> 2008/6/9 Bowie Bailey <Bowie_Baileybuc.com>:
> > I have two drives in a software mirror.  Other
than setting the
> > bios to boot from the second drive, is there any
way to confirm
> > that grub is installed properly on the second
drive?
> 
> When installing CentOS - sometimes the RAID-1 /boot
partition, usually
> /dev/md0 fails to boot.
> 
> The bug is known and exists on the bugtracker for
CentOS as well as
> RedHat. 
> 
> The fix is to re-install GRUB on on each partition of
the RAID-1
> array. 
> 
> I think you could use the same method to answer your
question.

  <SNIP>

> If you then want to test it, disconnect one of your
drives - or just
> drop into grub  at boot
> and tell it to boot from the partition of another
drive.

I already know how to install grub on the second drive.  The
issue is
that this is a production server and I'm trying to avoid
rebooting it if
possible.

I'm looking for a way to determine whether grub is installed
on a drive
WITHOUT having to actually attempt to boot from it.  If I
redo the
installation, then I can be sure it's installed, but if it's
already
there, I'd rather leave it alone.  There's no point in
messing with it
if it's already installed.

-- 
Bowie
_______________________________________________
CentOS mailing list
CentOScentos.org
http:
//lists.centos.org/mailman/listinfo/centos

Re: RE: Confirming grub installation
country flaguser name
Germany
2008-06-10 09:33:29
Bowie Bailey wrote on Tue, 10 Jun 2008 10:19:34 -0400:

> I'm looking for a way to determine whether grub is
installed on a drive
> WITHOUT having to actually attempt to boot from it.  If
I redo the
> installation, then I can be sure it's installed, but if
it's already
> there, I'd rather leave it alone.  There's no point in
messing with it
> if it's already installed.

You could dd the MBR to a file and then examine both. You
could diff them, 
I think they should be identical, should they?

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com




_______________________________________________
CentOS mailing list
CentOScentos.org
http:
//lists.centos.org/mailman/listinfo/centos

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )