Howto migrate centos7 to 8x: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
start a preupgrade check:
start a preupgrade check:
  leapp preupgrade
  leapp preupgrade
normally the check will fail, it’s normal because we need to do some tweaks:
  sudo rmmod pata_acpi
  echo PermitRootLogin yes | sudo tee -a /etc/ssh/sshd_config
  sudo leapp answer --section remove_pam_pkcs11_module_check.confirm=True
reboot the system after this process is completed:
reboot
then run check again:
leapp preupgrade
once the migration is completed, you’ll be offered to reboot the system:
reboot
select the new entry in grub called ELevate-Upgrade-Initramfs, wait for the upgrade process to finish.
= references =
= references =
* https://wiki.almalinux.org/elevate/ELevate-quickstart-guide.html
* https://wiki.almalinux.org/elevate/ELevate-quickstart-guide.html

Revision as of 21:08, 3 January 2022

distributions to migrate supported:

  • CentOS 7 to AlmaLinux 8
  • CentOS 7 to Rocky Linux 8
  • CentOS 7 to Oracle Linux 8
  • CentOS 7 to CentOS Stream 8

upgrade current system to latest:

yum update -y

verify your current version:

cat /etc/centos-release

install elevate-release package:

yum install http://repo.almalinux.org/elevate/elevate-release-latest-el7.noarch.rpm -y

install leapp-upgrade and migration-data:

Possible options are:

  • leapp-data-almalinux
  • leapp-data-centos
  • leapp-data-oraclelinux
  • leapp-data-rocky
yum install leapp-upgrade leapp-data-almalinux -y

start a preupgrade check:

leapp preupgrade

normally the check will fail, it’s normal because we need to do some tweaks:

  sudo rmmod pata_acpi
  echo PermitRootLogin yes | sudo tee -a /etc/ssh/sshd_config
  sudo leapp answer --section remove_pam_pkcs11_module_check.confirm=True

reboot the system after this process is completed:

reboot

then run check again:

leapp preupgrade

once the migration is completed, you’ll be offered to reboot the system:

reboot

select the new entry in grub called ELevate-Upgrade-Initramfs, wait for the upgrade process to finish.

references