Create a Bootable Micro SD Card

Raspberry has an official program to create a bootable micro SD easily. Follow these steps:

  1. Download the appropriate package from the official website (Raspberry Pi Imager).
  2. Run the installer.
  3. When the installer executes, from the Installation wizard, click CHOOSE OS and select Other General Purpose OS, then select Ubuntu.
    You can select Ubuntu with a Desktop or another version like Server or Core, but it must be the 64 bit version.
  4. Click CHOOSE STORAGE and select the location of your SD card in the Storage section.
  5. Click Write to start the installation.
    Once the installation is complete, remove the SD card from your computer.
  6. Before moving to the next step, edit the file /boot/firmware/cmdline.text by adding the following code to the end of the line (not on a new line):
    cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory