# Mender convert fails during grub install

**URL:** <https://hub.mender.io/t/mender-convert-fails-during-grub-install/5280>\
**Category:** Debian family\
**Created:** [September 28, 2022, 10:24am UTC](https://hub.mender.io/t/mender-convert-fails-during-grub-install/5280 "2022-09-28T10:24:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [September 29, 2022, 5:20am UTC](https://hub.mender.io/t/mender-convert-fails-during-grub-install/5280/2 "2022-09-29T05:20:27Z")

</div>

Hmm, that’s odd, it chooses the i386 BIOS variant. This is a x86\_64 image, right?

Can you try to add `--target=x86_64-efi` to the line in `grub.sh` that it mentions? There is a line right below it which is very similar; you should add it there too.

Don’t forget to run `./docker-build` afterwards to rebuild the mender-convert Docker image before trying to convert again.

---

_[View the full topic](https://hub.mender.io/t/mender-convert-fails-during-grub-install/5280)._
