# Problem with Debian Bullseye installation from built image

**URL:** <https://community.solid-run.com/t/problem-with-debian-bullseye-installation-from-built-image/475>\
**Category:** NXP LX2160\
**Created:** [September 29, 2022, 2:40pm UTC](https://community.solid-run.com/t/problem-with-debian-bullseye-installation-from-built-image/475 "2022-09-29T14:40:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmazel](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@jmazel](https://community.solid-run.com/u/jmazel)\
**Post date:** [September 29, 2022, 2:40pm UTC](https://community.solid-run.com/t/problem-with-debian-bullseye-installation-from-built-image/475/1 "2022-09-29T14:40:37Z")

</div>

Hello  
I used the [GitHub - SolidRun/lx2160a\_build: Scripts to build basic images for LX2160A COM express type 7 modules](https://github.com/SolidRun/lx2160a_build) repo to build a Debian-based image.  
I replaced ${DISTRO:=ubuntu} by ${DISTRO:=debian} and built the image using the docker commands.  
I then flashed the img on a SD card.

After booting on the SD card (cf bootswitch configuration), when I type “load mmc 0:1 0xa4000000 debian-bullseye.img” in the prompt, I get the following error after a small delay:  
mmc fail to send stop cmd  
\*\* fs\_devread read error - block  
Failed to load ‘debian-bullseye.img’  
How can I fix this?

This command (and the next two) are working when I put an Ubuntu img file on the SD card.

Thank you for your time.  
Best regards,  
Johan

---

<div class="post-metadata">

**Author:** ![jmazel](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@jmazel](https://community.solid-run.com/u/jmazel)\
**Post date:** [October 3, 2022, 9:23am UTC](https://community.solid-run.com/t/problem-with-debian-bullseye-installation-from-built-image/475/2 "2022-10-03T09:23:01Z")

</div>

I wrote the same image on the SD card again and the error disappeared.  
I guess I had a writing error when I wrote the image the first time.

Is there any clean way to mark this problem as solved?
