Comment 22 for bug 1237519

Revision history for this message
Kent Baxley (kentb) wrote :

I'm pretty sure that the "Oct 24 03:33:28 grub-installer: invalid numeric value" error comes from grub-install running efibootmgr against the Fusion-IO device. The naming scheme, of course, for that adapter is /dev/fioa1...the grub-install script, however, runs the following at around line 892:

efidir_part="$(echo "$efidir_drive" | sed 's/^([^,]*,[^0-9]*//; s/[^0-9].*//')"
efibootmgr $efi_quiet -c -d "efidir_disk" -p "$efidir_part" -w\
    -L "$bootloader_id" -l "\\EFI\\$efi_distributor\\$efi_file"

It looks like the regex search is returning basically a null value for efidir_part, thus, the "-p" parameter in efibootmgr isn't valid. The regex seems to be tailored for traditional devices such as /dev/sda1, which does return a sane value.

Ultimately, though, this isn't the total cause of efibootmgr not working properly...if I go in and 'hard code' the -p value to 1 then re-run grub install against the fusion IO card, efibootmgr still doesn't seem to want to add the device to its list. Even just running efibootmgr by hand also produces the same result.