Rock 5B+ Debian build

Is there a minimum build of Debian 12 in existence (no desktop environment)? I’ve tried for a long time to remove KDE from the github posted build but the various startup scripts keep reinstalling.

2 Likes

I also prefer cli only builds,
unfortunately right now radxa builds only kde variant (that is easy to strip down from GUI)
You may be interested in Armbian build system and build whatever You need - including super minimal image.

Hi dominik, my linux skills are pretty limited. I’ve tried deleting/removing/purging the KDE GUI code. There appears to be some boot code that simply re-installs everything so nothing stays uninstalled. I’ve used Armbian recently on a Nanopi build, with success. I don’t think the 5B+ is supported yet…unless using the 5B build will work. I suppose I could just try it and see. I need to dump all the GUI stuff since OpenMediaVault won’t install with any desktop installed. Thank you for your insight.

There is build designed just for OMV7 for ROCK 5B boards by @wong_disable
more on this thread: [Image] - OMV7 for Rock 5B with ZFS v0.2

5B+ is not much different board than 5B, only few small differences so You can boot with any of them, no worries.

To remove GUI on radxa image simply go to rsetup and select boot target from gui, restart.
then just purge gui packages, this should work with something like this:

sudo apt purge --auto-remove libx11-6 libwayland-client0

I don’t have any board at hand now, so package name may be different but it’s quite easy to check, pick any package and check deps, something like firefox.

Ok, I will try some of the other images. I did test Armbian, it kept crashing out, read/write errors…- even though I’m logged in as su. Your code seemed to purge a ton of stuff and now I boot to the cli. However I get certificate errors when I try to install omv. I looked at the omv link in your post and tried the img file referenced - unfortunately winrar is flagging the file as corrupt. Anyhow…I will try the images from the Radxa website and see where that takes me. Thx so much for your help on this.

Some Armbian builds are just broken and same thing sometimes comes with updates. I can’t judge about this particular i/o error, but as always it’s easy to retry on some other image and compare. This can be anything, for sure You will need some time to solve it so choosing easy path can be easier.
Certificate error is not hard to solve. This happens to many images and sometime update comes with fixed gpg key so it’s as easy as temporary update with http or switch to ignore cert errors. Sometime just system time is wrong.

I’m about to give up on the 5B+ I should have checked that the device software was suitable for what I wanted to do - just run OMV. I have tried stripping out KDE. I never get to the point of being able to install omv - the build just keeps crashing. I’ve tried various armbian builds. No luck. I tried to use the OMV build referenced above - the compressed file is corrupt. I have 4 devices from FreindlyElec and they all just work. It’s my own fault, I assumed that Radxa would have the same level of o/s support. My bad. It’s a shame, the specification for the board is great and the KDE interface is very nice, the performance is great. I even designed and 3D printed a nice enclosure. But I just need a std debian build as a base. Freindlyelec don’t have the 2xNVME plus wifi board which is why I went with the 5B+. Oh well, I will see who else has something similar, but with a base debian build.

@wong_disable can You please check if there is anything wrong about this xz archive? Do You plan any update with 6.x kernel?

Have to say that the 5b plus just not production ready. I’ve gone back to look at the yml file to see what packages are installed in the compilation. I’m trying to find a use for this box of tricks. To the best of my limited knowledge the yml has at the front the std packages and at the back all of the kde stuff. Removing all of the latter packages I still get errors about there being a desktop environment.

Keep

packages: [radxa-archive-keyring
vscodium-archive-keyring init initramfs-tools sudo firmware-brcm80211 firmware-realtek
cloud-initramfs-growroot ssh systemd-timesyncd bluetooth iw network-manager
wpasupplicant radxa-firmware radxa-udev rsetup rsetup-config-first-boot firmware-iwlwifi
firmware-linux apt-listchanges apt-transport-https apt-utils bash-completion
bc binutils curl eject exfat-fuse file gpg haveged htop lbzip2 less
locales lm-sensors man-db nano needrestart ntfs-3g python3-pip software-properties-common
tmux vim wget xz-utils efibootmgr systemd-boot avahi-daemon ca-certificates
dnsmasq ldnsutils iproute2 iptables iputils-ping samba wireless-regdb

Remove

vscodium-archive-keyring init initramfs-tools sudo firmware-brcm80211 firmware-realtek
cloud-initramfs-growroot ssh systemd-timesyncd bluetooth iw network-manager
wpasupplicant radxa-firmware radxa-udev rsetup rsetup-config-first-boot firmware-iwlwifi
firmware-linux apt-listchanges apt-transport-https apt-utils bash-completion
bc binutils curl eject exfat-fuse file gpg haveged htop lbzip2 less
locales lm-sensors man-db nano needrestart ntfs-3g python3-pip software-properties-common
tmux vim wget xz-utils efibootmgr systemd-boot avahi-daemon ca-certificates
dnsmasq ldnsutils iproute2 iptables iputils-ping samba wireless-regdb

I think the only hope I would ever have to get a bare-bones build would be to compile a fresh build which is beyond my abilities.

So, I then decided to give up on OpenmediaVault and just find something/anything I could use the box for. I figured an emby server. Again, not happening. Too many errors being kicked out to complete any installation. About the only thing of use to me that I managed to install and get running is docker. But only Cli. No joy with getting a docker GUI inside of KDE.

Compared to other vendors, the OS choices offered by Radxa are very very poor. It truly is a very developer focused platform, not really something a home hobbyist can work with. Other vendors have something like a dozen builds to use including bare-bones. For Radxa, KDE and that’s it. Very poor.