PINE64
SD CARD - EMMC - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook (https://forum.pine64.org/forumdisplay.php?fid=76)
+--- Forum: General Discussion on Pinebook (https://forum.pine64.org/forumdisplay.php?fid=77)
+--- Thread: SD CARD - EMMC (/showthread.php?tid=4756)



SD CARD - EMMC - jmbernabotto - 07-13-2017

Hello.

Is it possible to transfer the Ubuntu Mate distrib present on SD Card on EMMC because I don't want to reinstall all my preferences ?


RE: SD CARD - EMMC - Luke - 07-13-2017

(07-13-2017, 01:27 PM)jmbernabotto Wrote: Hello.

Is it possible to transfer the Ubuntu Mate distrib present on SD Card on EMMC because I don't want to reinstall all my preferences ?

Possible - yes, easy - not really.


RE: SD CARD - EMMC - jmbernabotto - 07-14-2017

Thanks Luke.
too bad !


RE: SD CARD - EMMC - pfeerick - 07-14-2017

If it is just a matter of stuff on your desktop, and in your home folder, it is possible, and that that hard to do. 

For example, just after running the install_to_emmc.sh script on my pinebook a minute ago (as it was finally time to do a clean upgrade of the eMMC Wink ) I was able to run the following to mount the newly prepared eMMC install, which would allow files to be copied in. N.B. I'm not sure if partprobe is needed, but I thought it was a good idea since the eMMC had just been overwritten!


Code:
sudo -i
partprobe
mkdir /mnt/eMMCp2
mount /dev/mmcblk1p2 /mnt/eMMCp2


At this point, /mnt/eMMCp2/home/pine64 is the /home partition on the eMMC storage, and you are still running from your SD card, so you could copy stuff across. In case you are thinking of doing a "cp -R /home/pine64/* /mnt/eMMCp2/home/pine64/" ... I wouldn't recommend it... you'll also copy across a bunch of cache and configuration files that would best be created by the OS itself on it's next boot. Be selective, and specifically copy across the stuff you want. i.e. the Desktop, Documents, Downloads, Music, Pictures, Videos folders are all good candidates.