In this video I show step by step how to upgrade online and without reinstallation from Elementary OS 6.1 to Elementary OS 7. We’re following the Debian upgrade path here, not the Elementary OS developers’ recommendation of doing a clean install.
Therefore, the tip, make a complete backup of your data beforehand and know that everything is at your own risk. But it worked for me in several systems.
All Commands:
Prep:
Update OS 6.1 system and reboot system
sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y && sudo apt autoremove -y
sudo reboot
Upgrade:
sudo -i
cd /etc/apt/
vi sources.list
Change the entry focal to jammy
:%s/focal/jammy/g
cd /etc/apt/sources.list.d
sudo vi elementary.list
sudo vi patches.list
Checks:
cd /etc/apt/sources.list.d
grep focal *
grep jammy *
cd /etc/apt/
grep focal sources.list
grep jammy sources.list
Upgrade OS 6.1 to 7:
sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y && sudo apt autoremove -y
Post…