Difference between revisions of "Migrate Centos8 Strean into Alma Linux8"

From Bitbull Wiki
Jump to navigation Jump to search
(Created page with "=Intro= In many forums I found the information, that the EOL of CentOS8 Stream needs a reinstall and can't get ugpraded or migrated into newer releases.<br> Since the repos ha...")
 
 
Line 14: Line 14:
 
</pre>
 
</pre>
  
==Upgrade to Alma Linux 8==
+
==Upgrade to Rocky Linux 8==
 
I migrated several Stream8 OS into Alma and never run into problems.
 
I migrated several Stream8 OS into Alma and never run into problems.
 
<pre>
 
<pre>
Line 24: Line 24:
 
reboot
 
reboot
 
</pre>
 
</pre>
 +
 +
[[Category:CentOS8]]
 +
[[Category:Linux]]
  
 
==Links==
 
==Links==

Latest revision as of 12:15, 26 April 2022

1 Intro

In many forums I found the information, that the EOL of CentOS8 Stream needs a reinstall and can't get ugpraded or migrated into newer releases.
Since the repos have been removed, you need to switch to the vault repos to install any software in an old CentOS 8 Stream OS.

1.1 Switch to Vault Repos

find /etc/yum.repos.d -type f -exec sed -i 's/mirrorlist=http:\/\/mirrorlist.centos.org/\#mirrorlist=http:\/\/mirrorlist.centos.org/g' {} \;
find /etc/yum.repos.d -type f -exec sed -i 's/\#baseurl=http:\/\/mirror.centos.org/baseurl=http:\/\/vault.centos.org/g' {} \;
dnf update -y
reboot
dnf swap centos-linux-repos centos-stream-repos -y
dnf update -y
reboot

1.2 Upgrade to Rocky Linux 8

I migrated several Stream8 OS into Alma and never run into problems.

dnf install git -y
cd /tmp
git clone https://github.com/rocky-linux/rocky-tools.git
chmod +x /tmp/rocky-tools/migrate2rocky/migrate2rocky.sh
bash /tmp/rocky-tools/migrate2rocky/migrate2rocky.sh -r
reboot

1.3 Links