Create a Disk Image of the BlueOS RPi SD card

Hi
Is is possible to create a disk image of the SD card with BlueOS fully configured. In Linux, the ‘dd’ command is used. Can I still use this command and how do I get at it?
Cheers
Jason

Hi @scriffij, what’s the context here?

There are two relevant options I can think of:

  1. We provide pre-built BlueOS images in the GitHub releases
    • Download BlueOS-raspberry.zip from the Assets of the relevant release, and flash it onto an SD card
  2. If you’ve made your own configuration that you’re wanting to turn into an image then dd is the appropriate command, and you can run it from either
    1. the Terminal page in BlueOS
      • You’ll need Pirate Mode turned on to see the Terminal page
      • Terminal starts out inside the BlueOS-core docker container, so you’ll need to run the red-pill command to drop down into the underlying Raspberry Pi OS before dd makes sense to run
      • If you generate/move your image to /usr/blueos/userdata then you’ll be able to download it using the BlueOS File Browser
    2. Alternatively if you prefer to just use your computer’s terminal with command-line programs, you could connect to BlueOS using ssh, then run dd as desired, and fetch/send the resulting image using scp

Feel free to clarify if that’s not what you’re asking about :slight_smile: