grub-probe error: cannot find a grub drive for /dev/sda2

This happened to me installing Debian testing on a multi-device btrfs volume. Grub didn’t get installed and in console I had this error:

# update-grub
grub-probe: error: cannot find a GRUB drive for /dev/sda2
/dev/sdb2. Check your

Turns out, it’s a bug in the script. I fixed it “on the fly” opening /usr/share/grub/grub-mkconfig_lib and searching for “uses_abstraction”, changing the line from:

abstraction="`"$grub_probe" --device "${device}" --target=abstraction`"


abstraction="`"$grub_probe" --device ${device} --target=abstraction`"

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.