Ok, so you’ve been playing with your BBB and you’ve installed this package and that package, oh and that package you forgot about. So now you want to setup another BBB in exactly the same way but wait… oh no, what did you install again and how did you configure things… this could take some time.
That was me recently when I wanted to set up a second BBB. I’d installed qt4-embedded on the eMMC as well as lots of other stuff and really didn’t want to start from scratch on another board.
Fortunately there is a way to make a copy of the file system on the eMMC. First thing though is to download and write a BBB disk image to an SD card. This new card is then inserted into the BBB so that it can boot without needing access to the eMMC.
The idea is that once booted, we can ssh into the BBB and use the linux dd program to create a disk image. We do however need somewhere to put the image that we create and fortunately we can get the dd program to push the created image out via an ssh pipe.
This will create an image file at the specified location – obviously you will need to change the IP address and path to suit your intended destination.