grub2 doesn't give/have version info.

Bug #299344 reported by Shirish Agarwal
2
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: grub2

Hi all,
 If I use grub --version I get the following :-

$grub --version

grub (GNU GRUB 0.97)

I ams shown the various utilities which grub2 has but can't find version info.

~$ grub-
grub-editenv grub-install grub-mkimage grub-probe grub-setup
grub-emu grub-mkdevicemap grub-mkrescue grub-set-default

Or even tried this :-

 grub2 --version
bash: grub2: command not found

The only way I am able to find version info. is using dpkg -l grub2$ dpkg -l grub2
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=========================-=========================-==================================================================
ii grub2 1.96+20080724-12ubuntu1 GRand Unified Bootloader, version 2 (dummy package)

This IMHO is a regression which should be fixed.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: grub2 1.96+20080724-12ubuntu1
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_IN
SourcePackage: grub2
Uname: Linux 2.6.27-7-generic i686

Tags: apport-bug
Revision history for this message
Shirish Agarwal (shirishag75) wrote :
Revision history for this message
Chris Halse Rogers (raof) wrote :

Running $GRUB_UTILITY --version gives the correct version for that utility. For example: grub-emu --version responds with
"""
grub-emu (GRUB) 1.96
"""
Since there is no grub2 executable, and it doesn't make sense to have one, I don't think this is a bug.

Changed in grub2:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.