Skip to content

Latest commit

 

History

History
55 lines (49 loc) · 1.87 KB

Install-Ubuntu.md

File metadata and controls

55 lines (49 loc) · 1.87 KB

Installing Ubuntu

  1. Download Ubuntu Server aarch64

    Ubuntu Server for ARM: https://ubuntu.com/download/server/arm
    
  2. 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.

  3. Insert and boot from the USB drive

    [ESC at Boot] > Boot Maintenance Manager > Boot From File > (USB Device ID) > EFI > AARCH64.EFI; [ENTER]
    
  4. Press [e] at "Install Ubuntu" and type the following at the end of the linux line

    iommu.passthrough=1 amdgpu.pcie_gen_cap=0x4
    
  5. Install Ubuntu by following on-screen prompts; Installer may run sluggish, can skip updates at end

  6. 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
    
  7. Run the following to install Ubuntu's default desktop

    sudo apt install ubuntu-desktop gdm3 firefox
    
  8. 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
    
  9. 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.