Moving debian from SD card to emmc

Hey there, today my emmc module finally arrived(a month after the rock). Since I didn’t have an emmc module on arrival I started off with a microsd card. Now that I do have the emmc module, I would like to move the system.

First question first, is there an easy solution(automatic?) For this?
If not, would the following procedure work or is there anything I need to consider:

  1. Turn off rock, install emmc module
  2. Turn on rock, boot into current mSD system
  3. Create partition layout on emmc mimicking the original SD card(it’s a fat for kernel+overlay and ext4 for roots right?)
  4. Copy the fat partition contents to the new emmc fat partition
  5. Remount rootfs read-only and DD copy it to emmc
  6. Power off, remove SD card, power on, works(probably need to adjust partition UUID?)

The easy solution is just to dd the live system to the eMMC. Then edit the partition table so that it fits the eMMC full capacity. Turn it off, remove the SD card and boot from eMMC normally.

1 Like

hmm, I should have thought of that - obviously a lot easier than my solution

sorry to interrupt (first time SMB user here :baby: )
From your comment I get that one can boot from a microSd card with some distro on it ?
*I ve just mounted this newboard in its case with only an ssd …and no emmc module.

Thanks for any suggestion. :nerd_face:

microsd would be the default medium to boot from I guess. With SSD you need to flash Bootcode first, and from the reads around here psome eople bricked their units trying to do so.

2 Likes

Yeah, SD cards are by far the easiest to use as storage for single board computers. BTW, you can boot full size PCs from them too, just don’t expect them to be fast :grin:

1 Like

woww… thanks for the tip
about the bricking…:no_mouth:

sure, I can get that Sd are not the fastest.
Havent used any fullsize boxes since I switched to minipcs yrs ago :slight_smile:

i will try to install an Armbian ISO on some SD card next then !
Hope my 5 volt usb-c charger is powerfull enough for a basic boot.

Just an update. I had originally planned to downsize the SD card to fit the 32gig emmc on my computer. It died between removing it from the powered off rock and attaching it to the SD card reader. So I ended up setting everything back up again from scratch using maskrom. Worked like a charm

1 Like

if that’s of any help : I’ve just resized my Armbain SD from 64 to 7GB for Armbian - using Gparted - plugged it again in Rock5B… back to business as usual again :smile:
*should be faster to backup this downsize partition next time…

1 Like