1

Background:

I have set up properly Mendel 10.0 (debian) in a Google Coral dev board, and installed my desired libraries (some through apt install, some through git cloning and make install). The Google Coral Documentation explains the procedure of flashing the .img system into a micro-SD card. After putting the hardware pins in the proper position and turning it on, it boots and installs the system. Then, changing the pins and booting the board, you can connect to it. No problem at all with that.

All the libraries installation process require Internet connection and some, a long time to compile and install. I wanted to make a clone of my system (which is less than 4gb, as I saw that it could be an issue if it was more than that) as a .img so I can clone and distribute the system with the exact libraries and programs, and configurations, to other Google Coral dev boards in a faster way, rather than having to run an install.sh in every board after installing the basic OS. This sounds doable as the hardware is always the same (the same board always), and even the username or system name can be the same, so it shouldn't have any pathing nor naming problems.

My research and testing so far:

I have already tried without success with the defunct Remastersys and it's newer Linux Respin. I have seen some alternatives like Systemback, but this requires GUI, and it is not advised to connect a monitor and have a graphical insight in the GCoral dev board. I am not sure if Clonezilla, or dd, more dd can serve this purpose, as it looks quite complex to a non-expert user. Same for squashfs, Linux Live Kit (third option) seems to create an .iso, and changes to config files seem necessary.

Is there a simple way to create a complete image of a debian system, to be able distribute it to other boards, just via command line? I would flash that image with balenaEtcher into a MicroSD, and have the same system installed in different boards (which would be the same model).

2
  • Does this answer your question? Fastest way to clone a Debian system?
    – EsmaeelE
    Jun 14, 2022 at 0:30
  • No! I did not mention it in the question, but they mention Clonezilla as well as gparted and the use of parted through terminal, which has a lot of their functionalities by it removed. The second (not accepted) answer might give details. Using systemrescue also seems like an option, but again, not a simple and direct way like Remastersys was. @EsmaeelE
    – M.K
    Jun 14, 2022 at 13:14

0

You must log in to answer this question.

Browse other questions tagged .