Complete 2024 Guide: How to expand a Ubuntu LVM LV to use all space on the PV

2024 Update - I found myself stuck in this situation again, my Ubuntu root partition was completely full to the brim… I’m scrambling to remove apt chache and pruning and and all docker images, but then I run vgdisplay only to reaslise that my LVM LV isn’t even using the full amount of physical disk space (this is a VM and I have just expanded the VMDK file). Thankfully I wrote this blog post 4 years ago as a how-to. Well now I am going to give this post a refresh and this includes some extra details which I needed during the panic of a full disk. ...

September 4, 2024 · 5 min · Tom

How to upgrade Ubuntu from 18.04 to 20.04

Note: Ubuntu 18.04 LTS reached end-of-life in April 2023, and Ubuntu 20.04 LTS reaches EOL in April 2025. If you’re starting fresh, install Ubuntu 24.04 LTS. The do-release-upgrade process shown here is still valid for sequential LTS upgrades. Ubuntu 20.04 LTS full release is almost upon, with a scheduled release date of April 23rd 2020 (2 days as of writing this). It is packed with lots of great new features and upgrades and the Linux community is very excited to get a hold of it. If you are looking to upgrade ubuntu, there is a quick guide down below. ...

April 21, 2020 · 3 min · Tom

Setup the Nextcloud Snap Package with HTTPS and a separate data path

https://snapcraft.io/nextcloud I have been using the Nextcloud snap package for a long time, but some recent system changes in my colocation facility mean that it is time for a big upgrade. Rather than migrate my existing Nextcloud instance, I have decided to build a new install and here are my goals for the new installation: Use lets encrypt to have automatic and valid HTTPS certificates Have the data path for Nextcloud on a HDD and the rest of the host OS on an SSD. Host OS Details For this setup, I am using Ubuntu 18.04 installed on a 30GB SSD backed partition. I then have a 1TB disk attached and mounted to /media. ...

March 29, 2020 · 3 min · Tom

Ubuntu 19.10 - How to upgrade python 2.7 to python 3.7

Note: This article covers Ubuntu 19.10 and Python 2.7, both of which are end-of-life. Ubuntu 19.10 reached EOL in July 2020; Python 2.7 reached EOL in January 2020. If you’re on a current Ubuntu LTS (22.04 or 24.04), Python 3 is the default — no changes needed. This article is kept for historical reference. Much to my surprise, I found that a fresh install of Ubuntu 19.10 was set to use python 2.7 as the default python instance. ...

November 24, 2019 · 2 min · Tom