I got a Orange Pi RV2 recently, and it only was supplied with a pre-build Ubuntu Server image from a Chinese website. I did not like that too much. It also used Chinese mirrors, and I prefer to have full control over my install. This guide shows you how to build / install Ubuntu Server 25.04 from the official RISCV Ubuntu install media and the provided kernel sources for the RV2.
- Build kernel .deb files (using a Ubuntu 22.04 x86 VM)
- Install Ubuntu 25.04 RISCV using a RISCV VM and a NVME drive that we will use with the RV2.
- Install kernel deb files, manage the DTB properly, configure some needed stuff