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:
Welcome to bash. You need to quote the (hd0) otherwise bash tries to interpret the parentheses.
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.