Hello, I would like to customize the Raspberry Pi Ubuntu image before I flash it to multiple SD cards. I tried to use Cubic: I downloaded the official image which is an img.xz file. I extracted it, and converted the img to iso since Cubic only accepts iso files. However, when I try to add this source iso in Cubic, it complains about having a wrong file format. Can you suggest a better way to try and customize it? I just need to uninstall some software that are there by default, and install others that are not there, nothing crazy really.

  • raver@lemmy.rimkus.it
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    3 days ago

    Hmm I don’t know if there’s a “correct” way, but you could flash the stock version on the first SD card and fire Ubuntu up. Then configure your system and shut down.

    Next I would dd the whole SD card into an .img file which then you could flash to all other SD cards.

    Be aware of changing hostname and static IP for each new sd card to avoid network trouble

    • darko@feddit.orgOP
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      Thanks - I will give this a go if I can’t find a solution for customizing without firing up the os