# Mender SD image shows error "no such device" on boot

**URL:** <https://hub.mender.io/t/mender-sd-image-shows-error-no-such-device-on-boot/2963>\
**Category:** General Discussions\
**Tags:** x86, x86-grub\
**Created:** [December 9, 2020, 3:07pm UTC](https://hub.mender.io/t/mender-sd-image-shows-error-no-such-device-on-boot/2963 "2020-12-09T15:07:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rohita83](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/rohita83/32/436_2.png) [@Rohita83](https://hub.mender.io/u/Rohita83)\
**Post date:** [December 9, 2020, 3:07pm UTC](https://hub.mender.io/t/mender-sd-image-shows-error-no-such-device-on-boot/2963/1 "2020-12-09T15:07:10Z")

</div>

Hi,

I have created SD image using mender-convert tool. My base image is ubuntu 18.04. GRUB repository version is grub-mender-grubenv-1.3.0  
When I try to boot SD image on my X86 laptop it shows initial logs as follows,

Welcome to GRUB,  
error: no such device: ((hd0,msdos1)/EFI/BOOT)/EFI/BOOT/grub.cfg  
lock: OK  
lock: OK  
:  
:

Though image gets booted successfully and everything works fine, but this error log on boot gives bad impression.  
so I want to fix.  
@drewmoseley @mirzak Could you please help to me to fix this error ?

Error is not coming from /boot/efi/EFI/BOOT/grub.cfg file that I have confirmed by adding echo statement at the top of the grub.cfg file.  
The error comes before grub.cfg file gets loaded.

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [December 9, 2020, 6:06pm UTC](https://hub.mender.io/t/mender-sd-image-shows-error-no-such-device-on-boot/2963/2 "2020-12-09T18:06:34Z")

</div>

It seems that grub is trying to load a grub.cfg from that location and failing. I’m not sure why but it may be built into the grub binary you are using. @mirzak I assume we use the already built GRUB binary from Ubuntu right or am I misremembering?  
Drew

---

<div class="post-metadata">

**Author:** ![Rohita83](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/rohita83/32/436_2.png) [@Rohita83](https://hub.mender.io/u/Rohita83)\
**Post date:** [January 27, 2021, 10:35am UTC](https://hub.mender.io/t/mender-sd-image-shows-error-no-such-device-on-boot/2963/3 "2021-01-27T10:35:56Z")

</div>

This issue is resolved with mender-convert version `2.2.1`. I had observed this with old version.
