Posts

Showing posts from April, 2021

solving gnu grub version 2.02 and 2.04

cmpath=(hd0) prefix=(hd0,gpt8)/boot/grub root=hd0,gpt8 set boot=(hd0,gpt8) set prefi=(hd0,gpt8)/boot/grub insmod normal normal  

Upgrade Ubuntu Cosmic (18.10) to Focal (20.04)

Upgrade Ubuntu Cosmic (18.10) to Focal (20.04) Posted on Apr 22, 2020 There is no supported upgrade path from Ubuntu Cosmic to the new Focal release. I had an old server running Cosmic (that I picked 18.10 over 18.04 must surely been an mistake). So let’s upgrade Ubuntu to Focal the old school Debian way! Beware that this can potentially be a dangerous upgrade as it is not supported. I had issues with SELinux refusing access to systemctl for root, but you can read below how to fix it. If you’re feeling adventurous and comfortable with fixing any issue that could arise, go ahead! As root, replace all the occurrences of cosmic to focal in: /etc/apt/sources.list and /etc/apt/sources.list.d The easiest way would be with sed : sed -i 's/cosmic/focal/g' /etc/apt/sources.list sed -i 's/cosmic/focal/g' /etc/apt/sources.list.d/*.list Tip: Double check that everything looks correct in these files. Before upgrading, update all the apt package sources: apt update Now, time for...