PINE64
Migrate Linux from microSD to onboard eMMC - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: Migrate Linux from microSD to onboard eMMC (/showthread.php?tid=6571)



Migrate Linux from microSD to onboard eMMC - elik745i - 09-22-2018

Guys, I do not have usb adapter for eMMC used on ROCK64. Is there any plugin or software to install on linux, like migrate OS to SSD for Windows, so I can use it to format/copy onboard eMMC and migrate linux to it from microSD?

thanks


RE: Migrate Linux from microSD to onboard eMMC - Luke - 09-22-2018

(09-22-2018, 12:07 PM)elik745i Wrote: Guys, I do not have usb adapter for eMMC used on ROCK64. Is there any plugin or software to install on linux, like migrate OS to SSD for Windows, so I can use it to format/copy onboard eMMC and migrate linux to it from microSD?

thanks

If your SD and eMMC are the same size, then most flashing software makes it possible to rip an existing image (be it Disks GUI on Linux or win32imager on Win10). So, rip your SD to your HDD, then flash that to your eMMC. Simple.


RE: Migrate Linux from microSD to onboard eMMC - Joan - 09-28-2018

(09-22-2018, 01:36 PM)Luke Wrote:
(09-22-2018, 12:07 PM)elik745i Wrote: Guys, I do not have usb adapter for eMMC used on ROCK64. Is there any plugin or software to install on linux, like migrate OS to SSD for Windows, so I can use it to format/copy onboard eMMC and migrate linux to it from microSD?

thanks

If your SD and eMMC are the same size, then most flashing software makes it possible to rip an existing image (be it Disks GUI on Linux or win32imager on Win10). So, rip your SD to your HDD, then flash that to your eMMC. Simple.

Hello, I'm a bit of a Noob!
So, I've got my rock64 4G running github.com_bionic-lxde-rock64-0.7.9-1067-arm64.img from my 16Gb SD card, how can I install that image (from the SD card or any other method without an emmc adapter) to my 64Gb emmc?

I've installed disks on my sd, but (with and without jumper installed on rock) it doesn't seem to mount or detect my emmc. I know emmc works because with the 2 seconds jumper method I got xenail mate on it but bionic just boots, even if announced as an emmc installable distro.

Thanks!


RE: Migrate Linux from microSD to onboard eMMC - jl_678 - 09-28-2018

Hi,

I thought about this.  Your best bet is to purchase an eMMC to USB adapter.  You can then easily flash images to it on demand.  You can buy them from the Pine store or even on Amazon:

https://www.amazon.com/gp/offer-listing/B01LHJ2O38/ref=dp_olp_0?ie=UTF8&condition=all&qid=1538141404&sr=8-3

I bought the Amazon one because it was cheaper when factoring in shipping.


RE: Migrate Linux from microSD to onboard eMMC - mara - 10-02-2018

SDcard -> eMMC migrate script


RE: Migrate Linux from microSD to onboard eMMC - netadmin90 - 10-03-2018

While booting Linux a message was displayed how to install the OS to emmc.  It was easy to do.


RE: Migrate Linux from microSD to onboard eMMC - Averell - 11-01-2018

(10-02-2018, 11:08 AM)mara Wrote: SDcard -> eMMC migrate script
Seems interesting, but how do you use it ? Run as is,it does not show anything. There should be parameters, but which ones ? I tried with some without result.

(09-22-2018, 01:36 PM)Luke Wrote: If your SD and eMMC are the same size, then most flashing software makes it possible to rip an existing image (be it Disks GUI on Linux or win32imager on Win10). So, rip your SD to your HDD, then flash that to your eMMC. Simple.

Would be simple if the size was the same, but unfortunately a 32G eMMC is really 31.03, and a 32G microSD is 31.93. And for this reason the transfer fails, even after I have reduced the last partition of the microSD card.


RE: Migrate Linux from microSD to onboard eMMC - mara - 11-03-2018

(11-01-2018, 11:01 AM)Averell Wrote:
(10-02-2018, 11:08 AM)mara Wrote: SDcard -> eMMC migrate script
Seems interesting, but how do you use it ? Run as is,it does not show anything. There should be parameters, but which ones ? I tried with some without result.

There are no parameters, you need to copy script to SDcard to boot from the sdcard and run ./setup.sh