Grub? Grub2?
Aaron Konstam
akonstam at sbcglobal.net
Thu Feb 23 22:41:39 UTC 2012
On Thu, 2012-02-23 at 10:51 -0800, Scott Doty wrote:
> On 02/23/2012 10:26 AM, Jeffrey Ross wrote:
> > This is a system that was upgraded from F15 to F16 via Yum, how can I do:
> >
> > 1) confirm which version of grub was used to boot the system
>
> # file - < /dev/sda
>
> The dash is important -- tells file(1) to read from stdin. Example:
>
> _[/root]_(root at atom)_
> # file - < /dev/sda
> /dev/stdin: x86 boot sector; GRand Unified Bootloader, stage1 version
> 0x3, boot drive 0x80, 1st sector stage2 0x138800, GRUB version 0.94;
> partition 1: ID=0x83, active, starthead 32, startsector 2048, 1572864
> sectors; partition 2: ID=0x82, starthead 8, startsector 1574912, 1048576
> sectors; partition 3: ID=0x83, starthead 77, startsector 2623488,
> 56002560 sectors, code offset 0x48
>
> > 2) re-install the boot record (MBR?) for the version of grub I'm running
> > onto a replacement drive?
> >
> >
>
> Take a look at grub2-install or grub-install, depending on what you have
> installed.
>
> -Scott
>
Now I wonder. When I run : file - < /dev/sda
The output dose not have the string: GRUB version 0.94
but in /boot/grub2 there is a grub.cfg and there is no grub.conf
in /boot/grub nor is there a grub-install.
So what am I to conclude about booting?
--
=======================================================================
You can tell the ideals of a nation by its advertisements. -- Norman
Douglas
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net
More information about the users
mailing list