Raspberry
The Boot Menu
The latest Pi firmware has an option for a boot menu so you can boot from SD, USB or SSD.
The hotkey during boot is the
Copying an Image to SD
Using dd Command
How to copy from your Linux PC an image file to an SD-card.
Wherebs=4M means a block size of 4 MByte is used.
Where conv=fsync means to physically write output file data before finishing also write metadata.
Where status=progress makes it show progress.
This is all done as root user of course.
Using Raspberry Pi Imager
Install package rpi-imager.
Run the imager and do an easy installation.
Change the Hostname
To change the hostname use the command hostnamectl.
Do not edit the file /etc/hostname.
Set Root Password
From the default user use sudo set the password.
Setup Networking
See page on network manager for that.
Disable Display Manager
When no graphics is needed free up resource by disabling the display manager
The display manager for Ubuntu Mate is gdm.
Install Some (Needed) Packages
Copying SD to Local Storage
Create Image File from SD
First an image needs to be created from the SD-card using another system.
When the initial image is 7650410496 bytes and the SD is bigger then that copy should be limited. So when the sector size is 512, the amount of sectors than is 14942208.
Resulting in:
Copying SD to Local Storage (when applicable)
Overclocking System
On the fat32 boot partition modify the file config.txt and add the following section to that file.
When the Pi is running the same file is located here /boot/formware/config.txt.
RPi4 Config
RPi5 Config
Install KDE Desktop on Ubuntu Server (24.04)
Install the package kubuntu-desktop.
When the sddm service is not starting and the startx application reports an error like the following
in the log file:
Create the file /etc/X11/xorg.conf.d/99-fbdev.conf having the following content.
Enable the sddm service if not already.
Set the default target opf systemd from multi-user.target to graphical.target
so sddm can start without errors.