Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 64428

Summary: grub-install error handling GRUB device name
Product: [Retired] Red Hat Linux Reporter: Gene Czarcinski <gczarcinski>
Component: grubAssignee: Jeremy Katz <katzj>
Status: CLOSED NOTABUG QA Contact: Glen Foster <glen>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-05-04 18:38:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.