After upgrading to Ubuntu 22.04 running apt shows an error message saying “Key is stored in legacy trusted.gpg keyring“: The key needs to be exported from the legacy keyring and then imported back to the current system. List the keys and find the key ID of the repository that is…
Linux: Booting in single-user mode
Sometimes it might be necessary to start in single-user mode to do some administration work, or even reset an existing password. Normally this can be achieved via the GRUB boot loader. CentOS / RedHat (with root account enabled) Switch on your system. Press Esc until the GRUB menu shows up.…
Ubuntu/Debian: Not enough free space on disk ‘/boot’ when updating the OS
My /boot partition is only 512MB and I get this error message every now and then when updating: Not enough free space The upgrade needs a total of xx.x M free space on disk ‘/boot’. Please free at least an additional xx.x M of disk space on ‘/boot’. You can…
Linux: Adding a GUI to headless/server installs
Server and minimal installs are normally headless and have no graphical interface. If needed you can add a GUI manually. The process is slightly different depending on the distro. RedHat / CentOS 7.x RedHat / CentOS 8.x Ubuntu 18.04.x LTS Debian 9.x Debian 10.x All the above distros use systemd…