Create a Bootable Micro SD Card
Raspberry has an official program to create a bootable micro SD easily. Follow these steps:
- Download the appropriate package from the official website (Raspberry Pi Imager).
 - Run the installer.
 - 
                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.
 - Click CHOOSE STORAGE and select the location of your SD card in the Storage section.
 - 
                Click Write to start the installation. 
                Once the installation is complete, remove the SD card from your computer.
 - 
                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