I have build my linux image with elbe linux build. This produces an image which can be copied to a filestorage and can be run. This works well if I use the output image and copy it with "dd"-command to the usb stick. The computer boots from the usb with no problems. If I try to install the new image from the live cd (USB-Stick) with the same "dd"-command using before , it does not work. It wont boot without the usb-stick plugged in. If I remove the usb-stick, I get the error " no bootable device found". If I plug in the USB-Stick, it boots with no problems.
I have looked at the mount output. I see that "/dev/mmcblk0" is used for my rfs. and "dev/sda5" is used for my /home folder. Somehow i think the bootloader is not found, if I unplug the usb-stick.
For understanding: /dev/sda is my USB-Stick /dev/mmcblk0 is my emmc card There are also two more partitions /dev/mmcblk0boot0 and /dev/mmcblk0boot1 dont know what there are for.
I tried also "grub-update" to /dev/mmcblk. The grub package is "grup-pc" Kernel is "linux-image-amd64". The Hardware has an intel atom cpu, the linux dist is debian stretch. It runs in legacy mode and secure boot is disabled.