pkg update fails with "/usr/lib/grub2/bios/sbin/grub-probe: error: Unable to determine device" (Doc ID 2148040.1)

Last updated on AUGUST 01, 2016

Applies to:

Solaris Operating System - Version 11.1 to 11.2 [Release 11.0]
Information in this document applies to any platform.

Symptoms

A system where "zpool status rpool" shows that the wrong device is listed may fail to update with "pkg update":

pool: rpool
state: ONLINE
scan: scrub repaired 0 in 0h20m with 0 errors on Fri May  6 12:46:57 2016
config:

      NAME        STATE     READ WRITE CKSUM
      rpool       ONLINE       0     0     0
        c2t0d0s1  ONLINE       0     0     0   <----- !

format shows:
AVAILABLE DISK SELECTIONS:
     0. c8t0d0 <Unknown-Unknown-0001-32.00GB>
        /xpvd/xdf@51712
     1. c8t1d0 <Unknown-Unknown-0001-200.00GB>
        /xpvd/xdf@51728

"pkg update" may result in an error similar to: "Error during bios grub.cfg generation: /usr/lib/grub2/bios/sbin/grub-mkconfig returned error code 1. stderr was:
/usr/lib/grub2/bios/sbin/grub-probe: error: Unable to determine device."

Changes

 A system that has had its rpool change the device path, like after virtualizing a physical system, or changing the disk driver.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms