Bug 64428 - grub-install error handling GRUB device name
Summary: grub-install error handling GRUB device name
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: grub
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Glen Foster
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-04 18:38 UTC by Gene Czarcinski
Modified: 2007-04-18 16:42 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-05-04 18:38:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Gene Czarcinski 2002-05-04 18:38:33 UTC
Description of Problem:
grub-install will work (MBR or partition) if the device is specified as
/dev/sda, /dev/sda1 (or for that matter /dev/hda1, /dev/hda) but not using GRUB
device hames such as (hdo) or (hd0,0).

The error indcate a "token" parsing error.

Version-Release number of selected component (if applicable):


How Reproducible:
always

Steps to Reproduce:
1. grub-install (hd0,4)
2. grub-install /dev/hda5
3. 

Actual Results:
error

Expected Results:
same as that using /dev/hda5

Additional Information:

Comment 1 Jeremy Katz 2002-05-04 20:02:26 UTC
Welcome to bash.  You need to quote the (hd0) otherwise bash tries to interpret
the parentheses.

Comment 2 Gene Czarcinski 2002-05-04 20:46:23 UTC
OK, the info for grub clearly shows:

grub-install '(hd0)'

and I just missed that.

However, there is no mention of this on man page.  I am not going to reopen this
but I believe it would be a good idea to mention this on the man page for
grub-install.


Note You need to log in before you can comment on or make changes to this bug.