View Single Post
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#14
Originally Posted by freeman View Post
well, I got it all kinda work out. I got it successfully clone out the data, reboot, and in the UI from the mmcblk0p2(ext2), but it keep rebooting, while if I choose to boot from flash it is working fine.
If you used tar for cloning, make sure GNU tar was really executed, not busybox tar. busybox tar has path limited to 100 chars so not everything is copied. Then it reboots like this. Just run tar with same path without arguments to see which tar it is or run it without -v and check for error messages about 100 character path limit.
Originally Posted by freeman View Post
I even add one step into the instruction, which is to run sync after tar to ensure I don't try to reboot too early and kill whatever didn't finish writing to SD.
critical is to unmount before rebooting, then sync is not needed. sync without unmounting helps a bit but is not ideal at all.