grub-install cannot be installed if disk name has more than 3 characters

Solution Unverified - Updated -

Issue

  • When trying to restore grub, getting:
# /sbin/grub-install /dev/xvdb
expr: non-numeric argument
expr: non-numeric argument
the file /boot/grub/stage1 not read correctly

Environment

  • Red Hat Enterprise Linux 6.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content