PINE64

Full Version: SD CARD - EMMC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 ?
(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.
Thanks Luke.
too bad !
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.