Problem with EMMC boot

Flashed Debian 12 CLI to sweet potato EMMC. Now boots from emmc but boots straight to the login, bypassing the installation script. When I reinsert the SD cart it still boots to emmc so I’m stuck. Any solution would be appreciated. Thanks

When I did a eMMC mess up, I did the instructions I found on this site.

Oi! here it is:

Thanks Idahowalker, great info. Got it working.

1 Like

For anyone stumbling across this in the future, a much better option is to prefer USB/uSD boot over eMMC with:

echo "boot_targets=usb mmc1 mmc0" > /boot/efi/boot.ini

Where /boot/efi is mounted from /dev/mmcblk0p1.