Hello, I have a BPI-R2 PRO. I used bpi-r2-pro - Google Drive image for my project. Now I want to move my image from the SD card to emmc, but I do not know how will I do that. I asked a similar question before and I download zip file of my image under /root directory and I got disk size error . I asked this question in a new issue because I am confused and I want to move my image from sd to emmc via a command like
As i wrote in the other thread you can extract to stdout and write to emmc. I guess you have r2pro and using my image which is a gz file to use the right tool for uncompress
Hello ,I tried your solution .Uploading process has done. But it dişd not worked . I think it is about fstab file. There is only one command in BPI-ROOT partition /etc/fstab file which is
UNCONFIGURED FSTAB FOR BASE SYSTEM
what should i write in this file? Thank you best regards
As I remember - the UUID of the root partition remains the same on cloning.
You may figure out yours by using: sudo ls -la /dev/disk/by-uuid
2nd way (imho) is more convenient/universal, the only ‘but’ in this case is - IDK which partition will be used in case if both EMMC and SD-card are present and have the same UUID.
P.S. You also probably will have to edit the extlinux.conf
Likely You’ve flashed a wrong image, please double check it. Probably if you’re burning a BPS image it may use some other than GPT partitioning. e.g. MTD.
Could you give me more details ? I do not know how can I generate partition table ? I do not understand relation between reboot and partition table.
Best Regards
You don’t have to create partition table it is there after you flashed image to emmc. But you have to read it again to access new partitions. Maybe partprobe is enough,maybe reboot is needed
I do not understand xould you give me more details I upload myimage file from .zip to emmc(unzip -c myimage.zip | dd of=/dev/mmcblk1 ) after it I wrote partprobe command.
No,bootx partitions are hardware partitions. But mmcblk1 should be gpt like on sdcard,error with backup is normal,as this needs to be on end of disk and so missing