swap eMMC advice
#3
My original emmc was about to die after a few years. I then bought a 256GB emmc from Amazon. I went with Amazon for three reasons: Pine charges horrendous shipping fees and if I recall correctly the 256GB emmc was cheaper than Pine's 128GB emmc and I'm frustrated with the quality of Pine's emmcs [see thread https://forum.pine64.org/showthread.php?tid=15121].

It's always good to have linux on an SD card so when something fails on the emmc you can boot the SD card and investigate the emmc.

1. I booted linux on the SD card, did a dd of the emmc over wifi to some desktop computer (sshfs, nfs or some creative scp command will all work).

2. I shut down linux. I then swapped the emmcs (old out, new in).

3. I booted linux on the SD card, did a dd back over wifi from the desktop onto the new emmc.

4. While still having booted linux from the sd card, I changed the partition size of the last partition to extend to the full size of the new emmc and resized its filesystem. That's it - you don't need to change UUIDs. That becomes a little trickier when your partitions are encrypted.

dd has some nice options to ignore unallocated space. That speeds up dding out and in the emmc. That also reduced number writes and that is always good for emmcs.

You can use your usb adapter instead of wifi. You should not dd out the old emmc when you booted from it (the running system makes minor changes to the filesystem as you dd out the raw version). You should dd the old emmc on the new emmc on the usb adapter from a linux running from SD card. Then don't forget my step 4.
  Reply


Messages In This Thread
swap eMMC advice - by jceaser - 10-23-2025, 09:42 AM
RE: swap eMMC advice - by Dendrocalamus64 - 10-23-2025, 09:40 PM
RE: swap eMMC advice - by Der Geist der Maschine - 10-23-2025, 09:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need new eMMC Karsten1 2 2,584 10-23-2025, 09:38 AM
Last Post: jceaser
  Happy eMMC and SDcard OS usage for Pinebook Pro Newbies... Paulie420 42 89,257 11-20-2023, 06:22 PM
Last Post: wdt
  I'm booting from NVME but I want to switch back to eMMC acruhl 4 4,559 04-23-2023, 06:58 AM
Last Post: acruhl
  Doesn’t power on after flashing emmc badguru 3 3,773 02-25-2023, 09:00 PM
Last Post: badguru
  eMMC problem with Tow-Boot/u-boot on SPI repa 3 4,002 02-21-2023, 01:49 AM
Last Post: repa
  Partial boot after installing Manjaro on emmc regivanx 11 8,513 02-06-2023, 09:11 AM
Last Post: wdt
  Unable to Boot anything (emmc or SDcard) line72 5 5,129 01-17-2023, 12:07 PM
Last Post: nfms
  What OS have you recently flashed onto PBP eMMC? jcun4128 6 5,500 11-26-2022, 09:39 AM
Last Post: KC9UDX
  Unable to boot from emmc after flashing it rfm83 3 4,215 11-08-2022, 10:59 PM
Last Post: rfm83
  Pinebook picky about which EMMC will boot flatulent_piney 8 7,265 11-05-2022, 06:03 PM
Last Post: ajtravis

Forum Jump:


Users browsing this thread: 1 Guest(s)