How to Image an SD that contains a tweaked Linux Build
#1
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.
Thanks
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 0 55 03-24-2024, 01:07 PM
Last Post: mara
  MIPI-CSI IMX214 on Linux NO SUCCESS zeus666 2 1,632 06-02-2023, 07:52 AM
Last Post: diederik
  Linux 5.15 Kernel - openSuse mark1250 0 1,244 12-02-2021, 04:36 PM
Last Post: mark1250
  Alpine Linux isndw 12 17,547 08-12-2021, 05:41 PM
Last Post: pix
Lightbulb RK3399 Linux rtl8822cu module bluetooth not working shivarj89 0 1,318 07-29-2021, 07:19 AM
Last Post: shivarj89
  Debian build from mrfixit2001 Luke 18 26,614 05-17-2021, 02:35 AM
Last Post: Wizzard
Information Linux Mainline ayufan 63 90,290 05-14-2021, 10:41 AM
Last Post: Wizzard
  NextCloudPi image for Rock64, NC version 13.0.2. nachoparker 11 22,895 03-15-2021, 02:59 PM
Last Post: kiriakos
  Linux Images (ROCK64) pineadmin 164 276,714 02-12-2021, 10:14 AM
Last Post: useful64
  Arch Linux Arm --> Kernel 5.8 breaks installation as365n4 12 11,998 08-31-2020, 01:41 AM
Last Post: as365n4

Forum Jump:


Users browsing this thread: 1 Guest(s)