How to transfer customised OS from SDcard to emmc
It's nice to play with OSes on sdcards, and then when you know what you want, move it to emmc. The only problem for this noob is I couldn't find a simple step-by-step. Flashing downloaded img files, yes. But not exactly how to transfer your customised OS. So this is what worked for me. If I did somethng stupid, please mention it in comments and I'll fix this first post.

1) Buy the usb thingy to carry the emmc so you can do this process on your other computer. (You're a linux fan. Of course you have several computers, right?)

2) Carefully! insert emmc into usb carrier, and then into usb slot on computer.

3) Remove your customised bootable SDcard from pinebook and insert into sd slot on computer.
        [3a) you may want to mount and look at the contents of the emmc
        if it's a new one you bought.
        Mine had some stray files on it that I deleted.]


sudo fdisk -l
to find the names of the devices. In my case the sdcard was:
/dev/mmcblk0 (this is the "input device" which sends info to the target)
and the emmc was
/dev/sda (this is the "output device")
Substitute your own device names, of course, as reported by fdisk.

Make absolutely sure you have the right names of the right devices, because the dd command used below just does what it's told. If, by accident, you tell it to overwrite your hard drive, it will.

5)Make sure both are unmounted:
sudo umount /dev/sda
sudo umount /dev/mmcblk0
If they're already unmounted, it will tell you so. Note: "umount", not "unmount".

6) This is the actual copy using the dd command. The output device MUST be equal to or larger than the input device.

sudo dd if=/dev/mmcblk0 of=/dev/sda bs=1M status=progress
if means "input file" and of means "output file." This takes a looong time. As in half an hour type of long.

7) Resize the partition dd just copied to your emmc. It's an exact bit-for-bit copy of the sdcard, so it's the same size as that, and it's not using all the space on your larger emmc. I used gparted to resize, but I think any of the standard methods will work.

And that's it. Put the emmc with the transplanted brain into the pinebook, get the screws back into the backplate, and boot up.

I hope it works as well for you as it did for me!
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OS: Mobian Bookworm, Phosh. Pinephone Braveheart from 2020-02-11
Yes this works for me,
I was looking for the Unmounted Code
sudo umount /dev/sda
sudo umount /dev/mmcblk0

The other pointers were also useful

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook with a broken screen and 2 eMMC's for sale. UK ONLY. frank-zappa 0 1,794 03-08-2022, 10:14 AM
Last Post: frank-zappa
  eMMC backup milkaca 19 28,627 04-08-2020, 07:35 PM
Last Post: adamz
  eMMC boot linux distros for Pinebook. frank-zappa 14 21,878 09-06-2019, 08:39 AM
Last Post: frank-zappa
  These fell out of my Pinebook when I tried to replace the eMMC. frank-zappa 6 8,373 03-02-2019, 06:51 AM
Last Post: frank-zappa
  Is it possible to choose between SD/eMMC boot programmatically? UltraBloxX 2 5,085 01-28-2019, 11:41 AM
Last Post: UltraBloxX
  Move Installation from SD Card to eMMC? soupbowl 4 9,172 11-10-2018, 10:47 AM
Last Post: acruhl
  Dual Boot on eMMC? d97 1 3,729 08-30-2017, 10:04 AM
Last Post: abrmx
  Overview images & which run from sdcard? rookieone 6 9,052 08-23-2017, 03:55 AM
Last Post: Luke
Question Whether 64GB emmc for Pinebook Siliconserf 7 9,306 08-19-2017, 06:50 AM
Last Post: combs
  Pinebook wont boot from eMMC priyamjani 2 4,270 08-06-2017, 09:22 AM
Last Post: priyamjani

Forum Jump:

Users browsing this thread: 1 Guest(s)