a) howto copy emmc back to sdcard or image / b) select bootdrive 1) emmc 2) sd?

Started by att2, July 29, 2017, 11:01:09 AM

Previous topic - Next topic

att2

Hello ,
I'm sorry, I have a few sheepish questions about the olinuxino a20 lime2:
a) I used the emmc.sh script in /root dir to copy the debian jessie 8.3 distro to emmc.
Good. Now I did some changes in the emmc filesystem and I want to backup the whole emmc filesystem to SD card or to image file. How to do that?
b) How do I select if I want to boot either from emmc or from sdcard?


AnkyB

QuoteNow I did some changes in the emmc filesystem and I want to backup the whole emmc filesystem to SD card or to image file. How to do that?
I have created image of sd card debian jessie using dd command but never tried emmc.
Try "dd if=/path/to/disk of=/path/to/image" and to copy image on sd card "dd if=disk1.img of=/dev/sda"
this create image of same size of your disk so make sure you have sufficient space. This worked for creating sd card image might work yours.


Regards
AnkyB