Re: GRUB version

2011-11-30 Thread Camaleón
tried looking at the boot >> sector itself: >> >> $ sudo dd if=/dev/sda of=mbr_backup.bin bs=512 count=1 (...) >> $ file mbr_backup.bin >> mbr_backup.bin: x86 boot sector; GRand Unified Bootloader, stage1 >> version 0x3, stage2 address 0x2000, stage2 segment 0x200, GRUB v

Re: GRUB version

2011-11-30 Thread Brian
On Wed 30 Nov 2011 at 16:25:14 +, Walter Hurry wrote: > One (slightly) interesting thing is that this reports version 0.94 > whereas the version of GRUB on the partition from where it was installed > claims to be 0.97. I think it is Stage 2 which has version 0.94. May be a bug somewhere but

Re: GRUB version

2011-11-30 Thread Hugo Vanwoerkom
backup.bin mbr_backup.bin: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, stage2 address 0x2000, stage2 segment 0x200, GRUB version 0.94; partition 1: ID=0x27, starthead 1, startsector 63, 25173792 sectors; partition 2: ID=0x7, starthead 254, startsector 25173855, 208845 sectors; partition

Re: GRUB version

2011-11-30 Thread Walter Hurry
file mbr_backup.bin mbr_backup.bin: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, stage2 address 0x2000, stage2 segment 0x200, GRUB version 0.94; partition 1: ID=0x27, starthead 1, startsector 63, 25173792 sectors; partition 2: ID=0x7, starthead 254, startsector 25173855, 2088

Re: GRUB version

2011-11-30 Thread Camaleón
On Wed, 30 Nov 2011 08:37:33 -0600, Hugo Vanwoerkom wrote: > Is there a way to find out what version of grub is installed in the MBR > of a drive? "grub-install -v" will tell the installed version. Anyway... IIRC, the version is printed at the top of the boot menu. Greetings, -- Camaleón --

Re: GRUB version

2011-11-30 Thread Brian
On Wed 30 Nov 2011 at 08:37:33 -0600, Hugo Vanwoerkom wrote: > Is there a way to find out what version of grub is installed in the MBR > of a drive? Is that not it at the top of the GRUB menu screen? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubsc

GRUB version

2011-11-30 Thread Hugo Vanwoerkom
Hi, Is there a way to find out what version of grub is installed in the MBR of a drive? Hugo -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jb5f3g$5fb$1...@dough

[SOLVED] What's the easiest way for a shell script to tell if grub version 1 is installed?

2010-07-12 Thread Stephen Powell
On Sat, 03 Jul 2010 07:41:06 -0400 (EDT), Tom H wrote: > Stephen Powell wrote: >> What's the easiest way for a shell script to tell if grub version 1 >> is installed?  It is important to distinguish grub version 1 from >> grub version 2.  For example, can I just do this?

Re: What's the easiest way for a shell script to tell if grub version 1 is installed?

2010-07-03 Thread Tom H
Stephen Powell wrote: >>> What's the easiest way for a shell script to tell if grub version 1 >>> is installed?  It is important to distinguish grub version 1 from >>> grub version 2.  For example, can I just do this? Anand Sivaram wrote: > grub2.0 > g

Re: What's the easiest way for a shell script to tell if grub version 1 is installed?

2010-07-02 Thread Anand Sivaram
On Fri, Jul 2, 2010 at 08:17, Bob Proulx wrote: > Stephen Powell wrote: > > What's the easiest way for a shell script to tell if grub version 1 > > is installed? It is important to distinguish grub version 1 from > > grub version 2. For example, can I just do this?

Re: What's the easiest way for a shell script to tell if grub version 1 is installed?

2010-07-01 Thread Bob Proulx
Stephen Powell wrote: > What's the easiest way for a shell script to tell if grub version 1 > is installed? It is important to distinguish grub version 1 from > grub version 2. For example, can I just do this? > > if [ -f /boot/grub/menu.lst ];then >blah >b

Re: What's the easiest way for a shell script to tell if grub version 1 is installed?

2010-07-01 Thread Ron Johnson
On 07/01/2010 01:30 PM, Stephen Powell wrote: What's the easiest way for a shell script to tell if grub version 1 is installed? It is important to distinguish grub version 1 from grub version 2. For example, can I just do this? if [ -f /boot/grub/menu.lst ];then blah blah bl

Re: What's the easiest way for a shell script to tell if grub version 1 is installed?

2010-07-01 Thread Andrei Popescu
On Jo, 01 iul 10, 14:30:12, Stephen Powell wrote: > What's the easiest way for a shell script to tell if grub version 1 > is installed? It is important to distinguish grub version 1 from > grub version 2. For example, can I just do this? > > if [ -f /boot/grub/menu.

What's the easiest way for a shell script to tell if grub version 1 is installed?

2010-07-01 Thread Stephen Powell
What's the easiest way for a shell script to tell if grub version 1 is installed? It is important to distinguish grub version 1 from grub version 2. For example, can I just do this? if [ -f /boot/grub/menu.lst ];then blah blah blah fi Or does that file exist in grub version 2 as