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.
Why not customize Ubuntu exactly as desired on one Raspberry Pi, and before you make any other changes clone the Micro SD?
deleted by creator
Have you tried the Raspberry Pi Image Generator?
Yes, this is what I use to flash the image to the SD card. The issue is that I want to change the official image before flashing and that is where I’m stuck
This isn’t the Raspberry Pi Imager - it’s a tool to build custom images. From the GitHub: A tool to generate highly customised software images for Raspberry Pi devices.
Sorry I thought it was the same. I think I came across this before and it seemed a bit too complex for my level but I will give it another go
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
Thanks - I will give this a go if I can’t find a solution for customizing without firing up the os