Category Archives: Ubuntu

Ubuntu 20.4: Virtualbox not running after the last upgrade

When launching a VM in Virtualbox I got an error saying that it can’t be started because a required module isn’t loaded. It suggests to manually load it. Re-installing Virtualbox also fails because the virtualbox-dkms package can’t be configured The last system update upgraded the kernel from 5.4 to 5.8, and there is something in… Read More: Ubuntu 20.4: Virtualbox not running after the last upgrade »

Ubuntu: ZFS bpool is full and not running snapshots during apt updates

When running apt to update my system I kept seeing a message saying that bpool had less than 20% space free and that the automatic snapshotting would not run. What I didn’t realise is that this would apply to the rpool even if it had plenty of free space. They are run together and have… Read More: Ubuntu: ZFS bpool is full and not running snapshots during… »

Ubuntu: System freezing for a few seconds with iwlwifi microcode sw error

For a few months now my main system would momentarily freeze or stall (usually about 20-30 seconds) and then continue working. It was something that started after one system update and wasn’t fixed with any further updates. I opened a bug with Debian without much luck. The system would notify that one of the CPU… Read More: Ubuntu: System freezing for a few seconds with iwlwifi microcode… »

Ubuntu/Linux: systemd-resolved[2344]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.

In one of my systems the system log was reporting every 2-3 minutes the following error message: This was caused by a mismatch between the systemd configuration and /etc/resolv.conf. /etc/resolv.conf should be a symbolic link pointing to the systemd DNS configuration in /run/systemd/resolve/resolv.conf You can check if this is in place just by listing the… Read More: Ubuntu/Linux: systemd-resolved[2344]: Server returned error NXDOMAIN, mitigating potential DNS violation… »

Ubuntu/GRUB: Error: invalid environment block

After a recent system update I got the following error message: Luckily the system would boot up but ignoring errors isn’t best practice. This error is caused by a faulty GRUB2 environment block. This is a file located in /boot/grub/grubenv. You can easily regenerate it with the following commands. It is advisable to make a… Read More: Ubuntu/GRUB: Error: invalid environment block »

Ubuntu 20.04: Install Ubuntu with ZFS and encryption

Ubuntu 20.04 offers installing ZFS as the default filesystem. This has lots of advantages. My favourite is being able to revert the system and home partitions (simultaneously or individually) to a previous state through the boot menu. One major drawback for me is the lack of an option to encrypt the filesystem during the installation.… Read More: Ubuntu 20.04: Install Ubuntu with ZFS and encryption »

Ubuntu: Ubuntu 20.4 installing NVIDIA drivers breaks built-in audio on laptop

On a new laptop I couldn’t get the external HDMI monitor to work with the nouveau drivers, so I installed the NVIDIA drivers (version 440). The NVIDIA drivers worked perfectly and the external monitor could be configured, but it didn’t take too long to notice that the built-in audio wasn’t working. Audio would only play… Read More: Ubuntu: Ubuntu 20.4 installing NVIDIA drivers breaks built-in audio on… »

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 remove old kernels using ‘sudo… Read More: Ubuntu/Debian: Not enough free space on disk ‘/boot’ when updating… »

Ubuntu: Change default language/dictionary in Firefox

If you install Firefox via repositories it might not install with your preferred language/settings. If your distro is in English it will default to American English as the main language and other English variations as additional spelling dictionaries. You can change this from the CLI. The below examples will leave British English as the default… Read More: Ubuntu: Change default language/dictionary in Firefox »

Ubuntu: Installing/fixing TP-Link AC1200 (T4UH 1.0) drivers in Ubuntu

[Updated instructions for Ubuntu 20.04 here] I have had this USB wireless adapter working fine on Ubuntu 18.04 LTS for a while. A system update stopped it from working. Re-installing the OS provided drivers (Software & Updates / Additional Drivers) made no difference. I tested the adapter in other operating systems and it worked fine.… Read More: Ubuntu: Installing/fixing TP-Link AC1200 (T4UH 1.0) drivers in Ubuntu »