Bug 64428 - grub-install error handling GRUB device name
grub-install error handling GRUB device name
Product: Red Hat Linux
Classification: Retired
Component: grub (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Glen Foster
Depends On:
  Show dependency treegraph
Reported: 2002-05-04 14:38 EDT by Gene Czarcinski
Modified: 2007-04-18 12:42 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-05-04 14:38:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Gene Czarcinski 2002-05-04 14:38:33 EDT
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:

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

Actual Results:

Expected Results:
same as that using /dev/hda5

Additional Information:
Comment 1 Jeremy Katz 2002-05-04 16:02:26 EDT
Welcome to bash.  You need to quote the (hd0) otherwise bash tries to interpret
the parentheses.
Comment 2 Gene Czarcinski 2002-05-04 16:46:23 EDT
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

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