How to Image an SD that contains a tweaked Linux Build
Not sure where this should go. Searched old posts. There was one from 11/2016 referring to writing one SD card's contents to another but didn't go very far. I didn't find much more info.

Step 1: Customize a mainline Debian Stretch build (or any build of choice).
Step 2. Save that customized build to an image on an external USB drive (or HDD)
Step 3. Test software installation, performance, try and break it.
Step 4: If build gets broken, restore the saved image without having to re-customize the mainline build.
Step 5: Rinse, repeat.

What I gather so far.
1. Can't use Clonezilla - it's for AMD64 or i386 and can't boot the Rock64 board to usb like a conventional "PC." Bummer but understandable.
2. Use partclone.dd (with extreme caution)?
3. Will partclone.dd image all 7 of the base Rock64 partitions? (I don't see an option for loader1, loader2 in the partclone usage info.
4. Do I need to retain all 7 of the base Rock64 partitions? Just partclone the fat16 boot partition and the ext4 root partition?

I'm guessing there are others that have spent many hours tweaking builds only to make a mistake and have to start over. I'm looking to be able to save time by getting back to a car that already has the engine humming before I soup it up, so to speak.
I don't have the serial cable (yet) so can't write the SD to an EMMC chip. Will eventually do that, from what I gather, the performance gain & longevity compared to SD is worth the price of the EMMC.

Possibly Related Threads...
Thread Author Replies Views Last Post
Question Alpine Linux won't boot rock7 0 75 10-06-2019, 07:57 PM
Last Post: rock7
  Linux Images (ROCK64) pineadmin 156 76,216 08-30-2019, 05:08 PM
Last Post: kcirap
Information Linux Mainline ayufan 63 21,553 08-28-2019, 01:51 AM
Last Post: CameronNemo
  Upgrading Debian Stretch image to Buster cosuhi 2 188 08-27-2019, 02:42 AM
Last Post: Malmgren
  Alpine Linux isndw 10 1,938 08-13-2019, 05:25 PM
Last Post: rock7
  Underclocking the Rock64 (latest stable linux image) va88 2 142 08-07-2019, 05:39 PM
Last Post: evilbunny
  HDMI output with Arch Linux Arm yogo1212 2 222 07-17-2019, 02:46 AM
Last Post: yogo1212
  help building a docker image jata 6 980 07-12-2019, 08:47 PM
Last Post: hmuller
  Debian build from mrfixit2001 Luke 11 1,717 06-21-2019, 01:20 PM
Last Post: JCMPine64
  NextCloudPi image for Rock64, NC version 13.0.2. nachoparker 10 4,248 06-19-2019, 01:58 AM
Last Post: pineadmin

Forum Jump:

Users browsing this thread: 1 Guest(s)