Ubuntu 20.04 and Raspberry Pi 4


Follow this article but instead of editing /boot/config.txt edit /boot/firmware/usercfg.txt

Install vcgencmd

# Add repository
sudo add-apt-repository ppa:ubuntu-raspi2/ppa

# Replace "focal" keyword with "bionic" and save
sudo nano /etc/apt/sources.list.d/ubuntu-raspi2-ubuntu-ppa-focal.list

# Update and install
sudo apt update
sudo apt install libraspberrypi-bin

# Add current user to "video" group
# else error "VCHI initialization failed" will occur.
sudo usermod -aG video USERNAME

# Reboot is necessary
sudo reboot

Use NTFS External Hard Drive


# Install package
sudo apt install ntfs-3g

# Create directory where disk will be mounted
sudo mkdir /mnt/extdrive

# Get the UUID of the disk

# Edit fstab for auto mount at boot
sudo nano /etc/fstab

# Add the below line to fstab
UUID=THE_DISK_UUID /mnt/extdrive ntfs nofail,uid=1001,gid=1001,dmask=022,fmask=133,x-systemd.device-timeout=10,hide_hid_files,windows_names,big_writes 0 0