How to copy EMMC to SD card and then boot from SD?

How does one copy the EMMC to an SD card to create a bootable SD card? I am close to running out of space on my 2Gb EMMC so I need to transfer to an SD card. I’m running Debian 11

try eMMC to bootable SD

good luck!
gomer

2 Likes

The only trouble with that is that /opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh no longer exists. You have to jump through hoops in /etc to get the same result.

However that thread does tell me how to stop the new microSD image from flashing itself back onto the EMMC so I think I can probably fight my way through now. :slight_smile:

Thanks

Hi, good afternoon!

I don’t know what version of BeagleBoard do you have. I’m using the BeagleBoard Black and that file: "/opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh " exists. Indeed, I’m using a lot for clone all the BBB I have (near 250 units).

I don’t know about how to boot from the SD Card. Maybe you could try changing the boot partition with fdisk.

Regards!

This was re-written in our Debian 11/12 images…

to configure flasher to copy from microSD → eMMC:

sudo cp -v /etc/beagle-flasher/beaglebone-black-microsd-to-emmc /etc/default/beagle-flasher

to configure flasher to copy from eMMC → microSD

sudo cp -v /etc/beagle-flasher/beaglebone-black-emmc-to-microsd /etc/default/beagle-flasher

To copy as is, while running, (not recommended for complex images X11/Docker/etc…)

sudo beagle-flasher

To copy on bootup like normal flashers:

sudo enable-beagle-flasher
sudo reboot

Regards,