09-16-2017, 02:30 PM
Update on what I've learned.
a. Used DD to save and restore an SD card image on a Linux Mint laptop. Now have a clone of the tweaked build so I can continue testing the multiarch add-ons. Yippee! The restored card boots up per normal in the Rock64. Took a lot more time than I'm used to with other "cloning" apps. Save of 32GB card took an hour or so. Restoring the 32GB card image took 2-3 hours (not exactly sure, could look at logs but bottom line, took a while). If there are other/more commands I could be using let me know. Thanks.
Save and Restore Linux Rock64 build SD card
NOTE: Need running Linux laptop or PC with a card reader.
Need approximately the same about of space free on the HDD as the card size.
1. lsblk -l or lsblk –fs check attached devices.
2. sudo dd if=/dev/mmcblk0 of=~/stretch-sd.img create saved image
3. Unmount source sd card, remove it.
4. Insert target sd card. used same brand, same size card as original build.
5. sudo dd if=~/stretch-sd.img of=/dev/mmcblk0 write saved image to different card.
6. lsblk -l or lsblk –fs check attached devices.
7. Unmount target sd card, remove it.
b. Attempting to save the image from a running Rock64 build to an attached USB HDD. Can't seem to wrap my head around creating an "image" subdir on the usb HDD. Have it partitioned, filesystem created, mounted, but can't seem to create a location on the HDD where the saved DD image will reside. It's something simple, staring me in the face but so far no luck. I used the noob tutorial for adding USB storage but must have messed up somewhere. I'll keep trying.
a. Used DD to save and restore an SD card image on a Linux Mint laptop. Now have a clone of the tweaked build so I can continue testing the multiarch add-ons. Yippee! The restored card boots up per normal in the Rock64. Took a lot more time than I'm used to with other "cloning" apps. Save of 32GB card took an hour or so. Restoring the 32GB card image took 2-3 hours (not exactly sure, could look at logs but bottom line, took a while). If there are other/more commands I could be using let me know. Thanks.
Save and Restore Linux Rock64 build SD card
NOTE: Need running Linux laptop or PC with a card reader.
Need approximately the same about of space free on the HDD as the card size.
1. lsblk -l or lsblk –fs check attached devices.
2. sudo dd if=/dev/mmcblk0 of=~/stretch-sd.img create saved image
3. Unmount source sd card, remove it.
4. Insert target sd card. used same brand, same size card as original build.
5. sudo dd if=~/stretch-sd.img of=/dev/mmcblk0 write saved image to different card.
6. lsblk -l or lsblk –fs check attached devices.
7. Unmount target sd card, remove it.
b. Attempting to save the image from a running Rock64 build to an attached USB HDD. Can't seem to wrap my head around creating an "image" subdir on the usb HDD. Have it partitioned, filesystem created, mounted, but can't seem to create a location on the HDD where the saved DD image will reside. It's something simple, staring me in the face but so far no luck. I used the noob tutorial for adding USB storage but must have messed up somewhere. I'll keep trying.