Build your first Ubuntu Core image

This tutorial will guide you through the steps required to create your own Ubuntu Core image, with your own selection of snaps, and install it on a Raspberry Pi.
The same process can be used to build Ubuntu Core images for various hardware and devices.

Here’s what you’ll need for the tutorial

  • a basic understanding of Linux and the command line
  • a Raspberry Pi 4 Model B (any model)
    • 4GB+ microSD card
    • keyboard and display (for setup only)
    • Ethernet or wireless network connectivity
  • Host system running Ubuntu 22.04 LTS or later
  • 10GB of free storage space
  • a microSD card reader
  • access to the internet

The above requirements are specific to this tutorial. Other distributions can be used, and other platforms are supported. See Supported platforms for details.

Step-by-step guide

Here’s an overview of the steps required with links to our separate tutorials that deal with each individual step:

1 Like

What’s with the timestamp example in section 4.2 ending in “0Z”? Is this some weird but valid variation?

I think it’s the UTC offset from the timestamp in the model. Not sure how that’s been generated, but it’s accepted.

I’m not sure this page qualifies as a “Quick Start” guide … it jumps right into creating model assertions and building your own image. A quick start might be just downloading a ready-to-go image and booting your Raspberry Pi, or maybe even downloading a QEMU image and booting that.

That wouldn’t fit very well with the title, would it?

I think @rpjday1 is referring to the title in the navigation which is indeed Quickstart guide (for consistency with other docs). But I think he’s right. It’s a tough place to start and not quick. I’ll shuffle this - put the install guides first and then this second with a new name.

1 Like

At the very least, those first two tabs could be reversed … start with “Install Ubuntu Core” after which rename the other tab to “Build your own image”. That would flow more smoothly. Ah, as was just done.

1 Like

I would put, as a first tutorial, downloading and running a QEMU image, so people don’t even need to invest in hardware. I think we have such a tutorial kicking around somewhere, so just add that as a TO-DO item.

1 Like