# Force Grub to select eMMC when Flash Drive plugged in

**URL:** <https://hub.mender.io/t/force-grub-to-select-emmc-when-flash-drive-plugged-in/725>\
**Category:** General Discussions\
**Created:** [June 18, 2019, 9:40am UTC](https://hub.mender.io/t/force-grub-to-select-emmc-when-flash-drive-plugged-in/725 "2019-06-18T09:40:17Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [September 9, 2019, 6:53am UTC](https://hub.mender.io/t/force-grub-to-select-emmc-when-flash-drive-plugged-in/725/11 "2019-09-09T06:53:44Z")

</div>

Makes sense now, that `partuuid` only applies to the `mender_root` variable and not to the `mender_grub_storage_device`.

I can not think of an easy way to get around this, because GRUB is not able to scan/probe for a partuuid.

But I know of one user who has solved a similar problem using the GRUB [search](https://www.gnu.org/software/grub/manual/grub/grub.html#search) command, which supports looking up filesystem image by label or fs-uuid. But this would require changes to the grub.cfg file + making sure that the partitions are labeled accordingly on each update.

---

_[View the full topic](https://hub.mender.io/t/force-grub-to-select-emmc-when-flash-drive-plugged-in/725)._
