I made this image because I got tired of installing the server version of Ubuntu and then upgrading it on my M1 to 22.04.1 and then having to install the desktop. It is currently building 6 different flavors (many of which are not officially available as an image).
This is not using a mainline kernel. It is using the official ODROID 6.0.x kernel packages from their PPA repository. It looks like to me they're getting really close to finishing support. The NPU overlay (rknpu) is not present in the 6.0.x branch yet so they aren't quite finished but if you aren't using the NPU it's finished enough. Since it's using official packages these will update with apt over time so there's a good chance the NPU may fix itself when they add a compatible rknpu overlay to the kernel package.
If you'd like to build it yourself I have included the build script I used to make the images. It is based off another project I did here on GitHub for Ubuntu 18.04 to make Ubuntu work with the Raspberry Pi (before it was officially supported). See the "Build Instructions" section for more information.
If you find any problems (or even better know how to fix them) you can submit them as a pull request or just let me know in the comments on my blog and I'll try to fix them! Please keep in mind when looking for support that this is an unofficial image and I don't work for ODROID. I won't be able to support you doing things that have nothing to do with the image itself. If it's related to the image or how I've packaged it though definitely let me know as I am happy to clean up my packaging / image!
- Ubuntu 22.04.1 Server
- Ubuntu 22.04.1 Desktop (ubuntu-desktop)
- Ubuntu 22.04.1 MATE Desktop (ubuntu-mate-desktop)
- Xubuntu 22.04.1 XFCE Desktop (xubuntu-desktop)
- Kubuntu 22.04.1 KDE Desktop (kubuntu-desktop)
- Lubuntu 22.04.1 LXQt Desktop (lubuntu-desktop)
- NPU overlay (rknpu) is not present in the ODROID 6.0.x kernel branch yet so the NPU will not work with this kernel yet
tar -xf *.tar.xzThat will give you a .img file that will boot successfully. If you are using Windows you can decompress these files with 7zip or WinRAR. Note that the first startup is slow. This is due to resizing your root filesystem to fit your drive. After the first startup it will boot much faster but it may take several minutes on a black screen the first startup. Be patient. If you see a few lines of text then it is resizing your root filesystem.
You may also see CRC checksum errors during your first startup. These are safe to ignore as it will run fsck on the drive the first startup. When you reboot the device these will be gone.
Set correct timezone:
sudo dpkg-reconfigure tzdataSet correct locale:
sudo apt install locales -y && sudo dpkg-reconfigure localesGet web browser (desktop only):
sudo snap install firefox
sudo snap install chromiumThe build system will first download the original ODROID image and update it to 22.04 desktop and server versions. This makes repeat builds much faster as downloading the updates the first time takes a huge amount of time. After this your individual changes you're making will be much faster.
If you would like to build the image yourself it is pretty straightforward with the included script. You will need a few dependencies such as:
sudo apt install build-essential guestfs-tools kpartx qemu-user-static binfmt-supportNow run the build script with sudo ./BuildImage.sh. It will retrieve the base image from ODROID's servers and update it.
People have expressed some interest in this (you are all saints, thank you, truly)
- PayPal: [email protected]
- Venmo: @JamesAChambers
- CashApp: $theremote
- Bitcoin (BTC): 3H6wkPnL1Kvne7dJQS8h7wB4vndB9KxZP7
- March 22nd 2023 - V1.4
- Refresh to all the latest packages -- surprisingly there is still no official 22.04 release from ODROID
- November 9th 2022 - V1.3
- Assign permanent randomly generated MAC address at first startup via netplan to prevent MAC changing every reboot
- Upgrade to ODROID Linux kernel 6.0 branch
- Add packages: usbutils ethtool ufw macchanger man-db locales
- Update build dependencies
- October 18th 2022 - V1.2
- Reupload images as some were not mounting properly
- October 3rd 2022 - V1.1
- Add lubuntu-desktop flavor
- Purge old 4.x kernels to save image space
- Run update-initramfs -u on first startup
- Make resize-rootfs.sh find real root drive so that automatic expansion of rootfs works on SSDs/NVMe/etc.
- October 2nd 2022 - V1.0
- Initial Release