Is the same DD command appropriate for writing EMMC and SD cards
#2
(09-19-2021, 06:30 PM)wpeckham Wrote: I have written several SD cards and they all work from software on other machines. I have written images from SD card to emmc and had it work. Now I want to back up my emmc to an SD card and be able to boot from it.  Can I have DD read from the emmc device and write to the SD device and get that?

UPDATE:  I found a spare SD card, dropped it in the clot, and ran
sudo dd if=/dev/mmcblk2 of=/dev/mmcblk1 bs=1M status=progress
where mmcblk2 is my emmc
and mmcblk1 is my sd card

It took a good while, but finished without error.  Rebooting the PBP brought me into the same session, settings, and everything as if I had booted to emmd without the card, except that the root mount point was on mmcblk1 now.

This is perfect.  As easy as that I have a card that is a clone of my usual boot to use as a backup card in case of issues, and from which to rewrite the emmc at need. 
UPDATE: 2021-11-13 I have now had it succeed once, and fail once.  (To the same SD card from the same EMMC!) so the lesson is that it CAN work but you might want another solution available: just in case.
Ancient teacher (Secondary Field Science/Math), Warrior (USARNG- RET SSG), and IT warrior (30+ years Coder, Network/Systems Administrator, general house geek). 
Pinebook Pro user (Debian, Manjaro)
  Reply


Messages In This Thread
RE: Is the same DD command appropriate for writing EMMC and SD cards - by wpeckham - 09-22-2021, 02:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,172 12-13-2023, 07:22 PM
Last Post: trillobite
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 421 12-07-2023, 03:11 PM
Last Post: wdt
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 1,990 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Blank screen after Armbian 20.04 install to emmc? psychoacoustic 3 3,521 04-01-2023, 03:22 PM
Last Post: TRS-80
  Fix for Armbian not booting on PBP from eMMC agreenbhm 7 3,908 04-01-2023, 02:58 PM
Last Post: TRS-80
  My installation guide starting from messed up eMMC Besouro 0 876 12-19-2022, 01:01 PM
Last Post: Besouro
  newer ""emmc-installer" images (manjaro xfce) magistral 1 1,112 10-10-2022, 06:22 AM
Last Post: maxjrh
  6/22 run of PBPs - is reimaging eMMC with new OS possible still? elitegamercody 29 11,566 10-04-2022, 07:55 PM
Last Post: wdt
  Debian emmc installer db579 6 3,008 08-23-2022, 06:13 AM
Last Post: db579
  what is the magic dd incantation to copy the system from the sd card to the emmc? geokon 18 9,365 08-18-2022, 11:26 PM
Last Post: calinb

Forum Jump:


Users browsing this thread: 1 Guest(s)