# Migrate from CentOS 8 to CentOS 8 Stream

Check current version

cat /etc/os-release
1

Run commands:

sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/CentOS-Linux-AppStream.repo
sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/CentOS-Linux-BaseOS.repo
sudo dnf install centos-release-stream -y
sudo dnf swap centos-{linux,stream}-repos -y
sudo dnf distro-sync
1
2
3
4
5
Error "At least 11MB more space needed on the /boot filesystem."

Run:

dnf remove --oldinstallonly --setopt installonly_limit=2 kernel
1

Then repeat the migration process.

Make sure CentOS 8 Stream is installed, run:

cat /etc/os-release
1