I am running a system on a Banana Pi M2+ which I need to clone into a bootable working copy and I cannot find repos for tools like syslinux and clonezilla for the ARM processor.
Is there another solution out there?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
I would use "dd". The only downside is the final image will be the same size as the HDD. But since it's a pie, i'm guessing it won't be too big.
I'm just copying this answer --> https://unix.stackexchange.com/a/275778/130767
Yes there is a way. The machine doesn't even always need to be the same, since Linux creates the
/sys filesystems on the fly as the kernel boots which gives you a lot of freedom to make some pretty drastic hardware changes.
Let's say your OS is installed on disk
/dev/sda. You can make an ISO of
/dev/sda and all of its partitions, whatever they may be, with the following command:
dd if=/dev/sda of=/path/to/image.iso
The downside to this is that the image will be the full size of the disk you specified as if (input file), even if that disk is not full.
If you'd like to clone the disk directly from /dev/sda, simply insert another disk and use something like:
dd if=/dev/sda of=/dev/sdb