-
Download Ubuntu Server aarch64
Ubuntu Server for ARM: https://ubuntu.com/download/server/arm
-
Flash the ISO to a USB drive
dd if=~/Downloads/ubuntu-*version*-live-server-arm64.iso of=/dev/sdX
Alternatively, you can use Gnome Disks, balenaEtcher, or an imaging tool of your choice.
-
Insert and boot from the USB drive
[ESC at Boot] > Boot Maintenance Manager > Boot From File > (USB Device ID) > EFI > AARCH64.EFI; [ENTER]
-
Press [e] at "Install Ubuntu" and type the following at the end of the
linux
lineiommu.passthrough=1 amdgpu.pcie_gen_cap=0x4
-
Install Ubuntu by following on-screen prompts; Installer may run sluggish, can skip updates at end
-
Remove "cdrom" from sources.list [Replace "jammy" with your Ubuntu version]
nano /etc/apt/sources.list
Comment out:
# deb [check-date=no] file:///cdrom jammy main restricted
sudo apt update && sudo apt upgrade
-
Run the following to install Ubuntu's default desktop
sudo apt install ubuntu-desktop gdm3 firefox
-
Complete the following steps to prevent crashing [AMD GPU's]
nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="iommu.passthrough=1 amdgpu.pcie_gen_cap=0x4 amdgpu.noretry=0"
sudo update-grub
-
Start GNOME Display Manager
sudo systemctl start gdm3
NOTE: If you are using an AMD GPU, you will probably need to apply the Mesa patch on under "Post-Install Recommendations" on the main page.