Swap SD <> eMMC Installs?
#5
I still don't understand the boot process, and made the mistake of trying to copy just the Debian partition rather than the entire drive. That didn't work.

Here's what worked:
  1. Prepare an empty SD card (formatted as ext4, labelled "XFER") to hold the backup copies. (I had a USB card reader that mounted as /dev/sda1)

  2. Use Gparted to shrink the partitions of each OS to just larger than the actual space being used

  3. Use dd to copy the offline partitions to image files on the fresh SD card (named XFER)
    Code:
    sudo dd if=/dev/mmcblk2 of=/run/media/jdcard/XFER/pbpDebian.img
    sudo dd if=/dev/mmcblk1 of=/run/media/jdcard/XFER/pbpManjaro.img


  4. Use dd to copy the Manjaro image to /dev/mmcblk2 (after verifying that's the right device)
    Code:
    sudo dd if=/run/media/jdcard/XFER/pbpManjaro.img of=/dev/mmcblk2 status=progress


  5. Boot into the newly-restored Manjaro and use dd to copy the Debian image to another SD card
    Code:
    sudo dd if=/run/media/jdcard/XFER/Debian.img of=/dev/mmcblk1 status=progress


  6. Use Gparted to resize the partitions of both filesystems to use all the space available on the drives

Thanks for the help.


Messages In This Thread
Swap SD <> eMMC Installs? - by jdcard - 01-23-2020, 12:55 PM
RE: Swap SD <> eMMC Installs? - by tophneal - 01-23-2020, 01:08 PM
RE: Swap SD <> eMMC Installs? - by jdcard - 01-23-2020, 02:04 PM
RE: Swap SD <> eMMC Installs? - by tophneal - 01-23-2020, 03:29 PM
RE: Swap SD <> eMMC Installs? - by jdcard - 01-24-2020, 10:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Happy eMMC and SDcard OS usage for Pinebook Pro Newbies... Paulie420 42 60,202 11-20-2023, 06:22 PM
Last Post: wdt
  I'm booting from NVME but I want to switch back to eMMC acruhl 4 1,495 04-23-2023, 06:58 AM
Last Post: acruhl
  Doesn’t power on after flashing emmc badguru 3 1,259 02-25-2023, 09:00 PM
Last Post: badguru
  eMMC problem with Tow-Boot/u-boot on SPI repa 3 1,724 02-21-2023, 01:49 AM
Last Post: repa
  Partial boot after installing Manjaro on emmc regivanx 11 3,187 02-06-2023, 09:11 AM
Last Post: wdt
  Unable to Boot anything (emmc or SDcard) line72 5 2,030 01-17-2023, 12:07 PM
Last Post: nfms
  What OS have you recently flashed onto PBP eMMC? jcun4128 6 2,385 11-26-2022, 09:39 AM
Last Post: KC9UDX
  Unable to boot from emmc after flashing it rfm83 3 1,793 11-08-2022, 10:59 PM
Last Post: rfm83
  Pinebook picky about which EMMC will boot flatulent_piney 8 3,083 11-05-2022, 06:03 PM
Last Post: ajtravis
  After Flashing eMMC, Will Not Boot Mossbot 5 2,389 09-28-2022, 06:22 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)