{"id":16850,"date":"2021-11-18T08:58:13","date_gmt":"2021-11-18T07:58:13","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/"},"modified":"2021-11-18T08:58:13","modified_gmt":"2021-11-18T07:58:13","slug":"switching-from-centos-8-to-red-hat-8","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/","title":{"rendered":"Switching from CentOS 8 to Red Hat 8"},"content":{"rendered":"<p>We have quite a few customers still running on <a href=\"https:\/\/centos.org\/\" target=\"_blank\" rel=\"noopener\">CentOS 8<\/a> and you probably already are aware that CentOS 8 will be <a href=\"https:\/\/blog.centos.org\/2021\/11\/announcing-the-latest-release-of-centos-linux-8-2111\/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=announcing-the-latest-release-of-centos-linux-8-2111\" target=\"_blank\" rel=\"noopener\">end of life by the end of this year<\/a>. This forces a lot of companies to either switch to an alternative or to stick with <a href=\"https:\/\/centos.org\/centos-stream\/\" target=\"_blank\" rel=\"noopener\">CentOS stream<\/a>. For most enterprise workloads CentOS stream is not a solution as it is rolling release, and if you want to keep a Red Hat compatible enterprise distribution there are the following alternatives:<\/p>\n<ul>\n<li><a href=\"https:\/\/rockylinux.org\/\" target=\"_blank\" rel=\"noopener\">Rocky Linux<\/a><\/li>\n<li><a href=\"https:\/\/almalinux.org\/\" target=\"_blank\" rel=\"noopener\">AlmaLinux<\/a><\/li>\n<li><a href=\"https:\/\/www.oracle.com\/linux\/\" target=\"_blank\" rel=\"noopener\">Oracle Linux<\/a><\/li>\n<li><a href=\"https:\/\/www.redhat.com\/en\/technologies\/linux-platforms\/enterprise-linux\" target=\"_blank\" rel=\"noopener\">Red Hat Enterprise Linux<\/a><\/li>\n<\/ul>\n<p>In this post we&#8217;ll look into how you can switch from CentOS 8 to Red Hat 8, as this is what we&#8217;re doing for one of our customers currently.<\/p>\n<p><!--more--><\/p>\n<p>I did a fresh installation of CentOS 8 which brings me to this release:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\n[root@centos8 ~]$ cat \/etc\/centos-release\nCentOS Linux release 8.5.2111\n<\/pre>\n<p>If you check the compatibility matrix in the <a href=\"https:\/\/access.redhat.com\/documentation\/en-us\/red_hat_enterprise_linux\/8\/html-single\/converting_from_an_rpm-based_linux_distribution_to_rhel\/index\" target=\"_blank\" rel=\"noopener\">official documentation<\/a> you&#8217;ll find this:<br \/>\n<a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/compatibility.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/compatibility.jpg\" alt=\"\" width=\"687\" height=\"396\" class=\"aligncenter size-full wp-image-52430\" \/><\/a><\/p>\n<p>Switching from CentOS 8.5 to Red Hat 8.5 seems not to be supported but as I do not want to downgrade we&#8217;ll try anyway. As Red Hat 8.5 was just released some days ago, I guess the documentation was not yet updated. For production systems, make sure that you check all <a href=\"https:\/\/access.redhat.com\/documentation\/en-us\/red_hat_enterprise_linux\/8\/html-single\/converting_from_an_rpm-based_linux_distribution_to_rhel\/index#proc_preparing-for-a-rhel-conversion_converting-from-a-linux-distribution-to-rhel\" target=\"_blank\" rel=\"noopener\">prerequisites<\/a> before you start.<\/p>\n<p>The first step is to install the conversion tool:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: [1,5,9]\">\n[root@centos8 ~]$ curl -o \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-redhat-release https:\/\/www.redhat.com\/security\/data\/fd431d51.txt\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n100  1855  100  1855    0     0   3644      0 --:--:-- --:--:-- --:--:--  3644\n[root@centos8 ~]$ curl --create-dirs -o \/etc\/rhsm\/ca\/redhat-uep.pem https:\/\/ftp.redhat.com\/redhat\/convert2rhel\/redhat-uep.pem\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n100  7411  100  7411    0     0   4927      0  0:00:01  0:00:01 --:--:--  4924\n[root@centos8 ~]$ curl -o \/etc\/yum.repos.d\/convert2rhel.repo https:\/\/ftp.redhat.com\/redhat\/convert2rhel\/8\/convert2rhel.repo\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n100   247  100   247    0     0    164      0  0:00:01  0:00:01 --:--:--   164\n<\/pre>\n<p>This creates a new yum\/dnf repository definition:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\n[root@centos8 ~]$ cat \/etc\/yum.repos.d\/convert2rhel.repo\n[convert2rhel-for-rhel-8-rpms]\nname=Convert2RHEL for OS 8\nbaseurl=https:\/\/cdn.redhat.com\/content\/public\/convert2rhel\/8\/x86_64\/os\/\nenabled=1\ngpgcheck=1\nsslcacert=\/etc\/rhsm\/ca\/redhat-uep.pem\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-redhat-release\n<\/pre>\n<p>&#8230; and now the conversion tool can be installed:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\n[root@centos8 ~]$ yum -y install convert2rhel\nConvert2RHEL for OS 8                                                                                                                                                                                                                         6.5 kB\/s | 3.9 kB     00:00    \nDependencies resolved.\n==============================================================================================================================================================================================================================================================================\n Package                                                  Architecture                                       Version                                                                           Repository                                                                Size\n==============================================================================================================================================================================================================================================================================\nInstalling:\n convert2rhel                                             noarch                                             0.24-2.el8                                                                        convert2rhel-for-rhel-8-rpms                                             130 k\nInstalling dependencies:\n python3-pip                                              noarch                                             9.0.3-20.el8                                                                      appstream                                                                 20 k\n python36                                                 x86_64                                             3.6.8-38.module_el8.5.0+895+a459eca8                                              appstream                                                                 19 k\n yum-utils                                                noarch                                             4.0.21-3.el8                                                                      baseos                                                                    73 k\nEnabling module streams:\n python36                                                                                                    3.6                                                                                                                                                             \n\nTransaction Summary\n==============================================================================================================================================================================================================================================================================\nInstall  4 Packages\n\nTotal download size: 242 k\nInstalled size: 413 k\nDownloading Packages:\n(1\/4): python36-3.6.8-38.module_el8.5.0+895+a459eca8.x86_64.rpm                                                                                                                                                                               125 kB\/s |  19 kB     00:00    \n(2\/4): yum-utils-4.0.21-3.el8.noarch.rpm                                                                                                                                                                                                      431 kB\/s |  73 kB     00:00    \n(3\/4): python3-pip-9.0.3-20.el8.noarch.rpm                                                                                                                                                                                                    107 kB\/s |  20 kB     00:00    \n(4\/4): convert2rhel-0.24-2.el8.noarch.rpm                                                                                                                                                                                                     440 kB\/s | 130 kB     00:00    \n------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\nTotal                                                                                                                                                                                                                                         217 kB\/s | 242 kB     00:01     \nCentOS Linux 8 - AppStream                                                                                                                                                                                                                    1.6 MB\/s | 1.6 kB     00:00    \nImporting GPG key 0x8483C65D:\n Userid     : \"CentOS (CentOS Official Signing Key) \"\n Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D\n From       : \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-centosofficial\nKey imported successfully\nConvert2RHEL for OS 8                                                                                                                                                                                                                         1.8 MB\/s | 1.8 kB     00:00    \nImporting GPG key 0xFD431D51:\n Userid     : \"Red Hat, Inc. (release key 2) \"\n Fingerprint: 567E 347A D004 4ADE 55BA 8A5F 199E 2F91 FD43 1D51\n From       : \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-redhat-release\nKey imported successfully\nRunning transaction check\nTransaction check succeeded.\nRunning transaction test\nTransaction test succeeded.\nRunning transaction\n  Preparing        :                                                                                                                                                                                                                                                      1\/1 \n  Installing       : python36-3.6.8-38.module_el8.5.0+895+a459eca8.x86_64                                                                                                                                                                                                 1\/4 \n  Running scriptlet: python36-3.6.8-38.module_el8.5.0+895+a459eca8.x86_64                                                                                                                                                                                                 1\/4 \n  Installing       : python3-pip-9.0.3-20.el8.noarch                                                                                                                                                                                                                      2\/4 \n  Installing       : yum-utils-4.0.21-3.el8.noarch                                                                                                                                                                                                                        3\/4 \n  Installing       : convert2rhel-0.24-2.el8.noarch                                                                                                                                                                                                                       4\/4 \n  Running scriptlet: convert2rhel-0.24-2.el8.noarch                                                                                                                                                                                                                       4\/4 \n  Verifying        : python3-pip-9.0.3-20.el8.noarch                                                                                                                                                                                                                      1\/4 \n  Verifying        : python36-3.6.8-38.module_el8.5.0+895+a459eca8.x86_64                                                                                                                                                                                                 2\/4 \n  Verifying        : yum-utils-4.0.21-3.el8.noarch                                                                                                                                                                                                                        3\/4 \n  Verifying        : convert2rhel-0.24-2.el8.noarch                                                                                                                                                                                                                       4\/4 \n\nInstalled:\n  convert2rhel-0.24-2.el8.noarch                               python3-pip-9.0.3-20.el8.noarch                               python36-3.6.8-38.module_el8.5.0+895+a459eca8.x86_64                               yum-utils-4.0.21-3.el8.noarch                              \n\nComplete!\n<\/pre>\n<p>For actually converting the system to Red Hat Enterprise Linux you need access to the Red Hat portal and an active subscription you can attach to the system:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\n[root@centos8 ~]$ convert2rhel --username [username] --password [password]\n<\/pre>\n<p>The first output you&#8217;ll see is the license agreement:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\n[11\/18\/2021 03:22:53] TASK - [Prepare: Show Red Hat software EULA] ******************************\nThe following text is a copy of the November 18, 2019 version of Red Hat GPLv2-Based End User License Agreement (EULA) [1].\nFor up-to-date version of the EULA, visit [2].\n[1] https:\/\/www.redhat.com\/licenses\/Red_Hat_GPLv2-Based_EULA_20191118.pdf\n[2] https:\/\/www.redhat.com\/en\/about\/agreements\n\nEND USER LICENSE AGREEMENT\nRED HAT GPLv2-BASED\n...\n<\/pre>\n<p>Before you proceed, make sure that all the checks\/tasks are successful, e.g.:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\n[11\/18\/2021 03:23:16] TASK - [Prepare: Checking the firmware interface type (BIOS\/UEFI)] ********\nBIOS detected.\n\n[11\/18\/2021 03:23:16] TASK - [Prepare: Checking \/mnt and \/sys are read-write] *******************\nRead-only \/mnt or \/sys mount points not detected.\n\n[11\/18\/2021 03:23:16] TASK - [Prepare: Check kernel compatibility with RHEL] ********************\nKernel is compatible with RHEL\n\n[11\/18\/2021 03:23:16] TASK - [Prepare: Checking if --enablerepo repositories are accessible] ****\nSkipping the check of repositories due to the use of RHSM for the conversion.\n<\/pre>\n<p>Also note the packages that will be removed, maybe you need to re-install them after the conversion:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\nWARNING - The following packages will be removed...\nPackage                               Vendor\/Packager  Repository\n-------                               ---------------  ----------\ncentos-logos-85.8-2.el8.x86_64        CentOS           @baseos\ncentos-logos-httpd-85.8-2.el8.noarch  CentOS           @baseos\ncentos-gpg-keys-8-3.el8.noarch        CentOS           @baseos\n<\/pre>\n<p>Once you are sure to proceed:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: [1]\">\nContinue with the system conversion? [y\/n]: y\n\nBacking up centos-logos-85.8-2.el8.x86_64\nSuccessfully downloaded the centos-logos-85.8-2.el8.x86_64 package.\nBacking up centos-logos-httpd-85.8-2.el8.noarch\nSuccessfully downloaded the centos-logos-httpd-85.8-2.el8.noarch package.\nBacking up centos-gpg-keys-8-3.el8.noarch\nSuccessfully downloaded the centos-gpg-keys-8-3.el8.noarch package.\nRemoving package: centos-logos-85.8-2.el8.x86_64\nRemoving package: centos-logos-httpd-85.8-2.el8.noarch\nRemoving package: centos-gpg-keys-8-3.el8.noarch\n...\n<\/pre>\n<p>Again, double check that all the tasks\/checks are fine, e.g.:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\n[11\/18\/2021 03:26:15] TASK - [Convert: Resolve possible edge cases] *****************************\nChecking if java-1.7.0-openjdk is installed.\njava-1.7.0-openjdk not installed.\nRemoving shim-x64 package yum protection.\nRelevant to Oracle Linux 7 only. Skipping.\n\n[11\/18\/2021 03:26:15] TASK - [Convert: Subscription Manager - Download packages] ****************\nSuccessfully downloaded the subscription-manager package.\nSuccessfully downloaded the subscription-manager-rhsm-certificates package.\nSuccessfully downloaded the python3-subscription-manager-rhsm package.\nSuccessfully downloaded the dnf-plugin-subscription-manager package.\nSuccessfully downloaded the python3-syspurpose package.\n...\n<\/pre>\n<p>Finally select the subscription you want to attach to the system:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\nEnter number of the chosen subscription: 11\n\nAttaching subscription with pool ID xxxx to the system ...\nSuccessfully attached a subscription for: Red Hat Enterprise Linux, Standard Support (128 Sockets, NFR, Partner Only)\n\n[11\/18\/2021 03:30:42] TASK - [Convert: Get RHEL repository IDs] *********************************\nRHEL repository IDs to enable: rhel-8-for-x86_64-baseos-rpms, rhel-8-for-x86_64-appstream-rpms\n\n[11\/18\/2021 03:30:42] TASK - [Convert: Subscription Manager - Check required repositories] ******\nVerifying needed RHEL repositories are available ... \nRepositories available through RHSM:\n...\nNeeded RHEL repos are available.\n\n[11\/18\/2021 03:31:13] TASK - [Convert: Subscription Manager - Disable all repositories] *********\nRepositories disabled.\n\n[11\/18\/2021 03:31:58] TASK - [Convert: Remove packages containing repofiles] ********************\nSearching for packages containing repofiles or affecting variables in the repofiles:\n\ncentos-release* ................................. 0\ncentos-repos .................................... 0\ncentos-linux-repos .............................. 1\ncentos-stream-repos ............................. 0\ncentos-linux-release ............................ 1\ncentos-stream-release ........................... 0\n\n\nWARNING - The following packages will be removed...\nPackage                                     Vendor\/Packager  Repository\n-------                                     ---------------  ----------\ncentos-linux-repos-8-3.el8.noarch           CentOS           @baseos\ncentos-linux-release-8.5-1.2111.el8.noarch  CentOS           @baseos\n\n\nContinue with the system conversion? [y\/n]: y\n\n\nBacking up centos-linux-repos-8-3.el8.noarch\nSuccessfully downloaded the centos-linux-repos-8-3.el8.noarch package.\nBacking up centos-linux-release-8.5-1.2111.el8.noarch\nSuccessfully downloaded the centos-linux-release-8.5-1.2111.el8.noarch package.\nRemoving package: centos-linux-repos-8-3.el8.noarch\nRemoving package: centos-linux-release-8.5-1.2111.el8.noarch\n\n[11\/18\/2021 03:33:20] TASK - [Convert: Subscription Manager - Enable RHEL repositories] *********\nRepositories enabled through subscription-manager\n\n[11\/18\/2021 03:33:58] TASK - [Convert: Final system checks before main conversion] **************\nComparing the loaded kernel modules with the modules available in the following RHEL kernel packages available in the enabled repositories:\n kernel-core-0:4.18.0-348.2.1.el8_5.x86_64\n kernel-debug-core-0:4.18.0-348.2.1.el8_5.x86_64\n kernel-debug-modules-0:4.18.0-348.2.1.el8_5.x86_64\n kernel-debug-modules-extra-0:4.18.0-348.2.1.el8_5.x86_64\n kernel-modules-0:4.18.0-348.2.1.el8_5.x86_64\n kernel-modules-extra-0:4.18.0-348.2.1.el8_5.x86_64\n kmod-kvdo-0:6.2.5.72-81.el8.x86_64\n kmod-redhat-atlantic-0:4.18.0_255.el8_dup8.3-1.el8_3.x86_64\n kmod-redhat-bnxt_en-0:1.10.0_dup8.1-2.el8_1.x86_64\n kmod-redhat-btusb-0:0.8_4.18.0_80.23_dup8.0-4.el8_0.x86_64\n kmod-redhat-ice-0:0.8.2_k_dup8.2-1.el8_2.x86_64\n kmod-redhat-ionic-0:4.18.0.210_dup8.2-2.el8_2.x86_64\n kmod-redhat-iwlwifi-0:4.18.0_107_dup8.0-5.el8_0.x86_64\n kmod-redhat-mlx5_core-0:5.0_0_dup8.2-2.el8_2.x86_64\n kmod-redhat-mpt3sas-0:35.101.00.00_dup8.3-1.el8_3.x86_64\n kmod-redhat-oracleasm-8:2.0.8-12.el8.x86_64\n kmod-redhat-oracleasm-kernel_4_18_0_240-8:2.0.8-1.3.el8_3.x86_64\n kmod-redhat-oracleasm-kernel_4_18_0_240_14_1-8:2.0.8-1.3.el8_3.x86_64\nWARNING - ********************************************************\nWARNING - The tool allows rollback of any action until this point.\nWARNING - By continuing all further changes on the system will need to be reverted manually by the user, if necessary.\nWARNING - ********************************************************\n\nContinue with the system conversion? [y\/n]: \n<\/pre>\n<p>Up until now you can rollback any changes, so please check all the output carefully before you continue from here. The following step will take some time as a lot of packages will be updated\/replaced:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\nContinue with the system conversion? [y\/n]: y\n\n\n\n[11\/18\/2021 03:36:16] TASK - [Convert: Import Red Hat GPG keys] *********************************\nGPG keys imported.\nGPG keys imported.\n\n[11\/18\/2021 03:36:16] TASK - [Convert: Prepare kernel] ******************************************\nInstalling RHEL kernel ...\nUpdating Subscription Management repositories.\nLast metadata expiration check: 0:02:03 ago on Thu Nov 18 03:34:16 2021.\nPackage kernel-4.18.0-348.2.1.el8_5.x86_64 is already installed.\nDependencies resolved.\nNothing to do.\nComplete!\n\nConflict of kernels: One of the installed kernels has the same version as the latest RHEL kernel.\nUpdating Subscription Management repositories.\nLast metadata expiration check: 0:02:12 ago on Thu Nov 18 03:34:16 2021.\nDependencies resolved.\n================================================================================\n Package         Arch    Version           Repository                      Size\n================================================================================\nInstalling:\n kernel          x86_64  4.18.0-348.el8    rhel-8-for-x86_64-baseos-rpms  7.0 M\nInstalling dependencies:\n kernel-core     x86_64  4.18.0-348.el8    rhel-8-for-x86_64-baseos-rpms   38 M\n kernel-modules  x86_64  4.18.0-348.el8    rhel-8-for-x86_64-baseos-rpms   30 M\n...\n[11\/18\/2021 03:39:56] TASK - [Convert: Replace packages] ****************************************\nPerforming update of the CentOS Linux packages ...\nUpdating Subscription Management repositories.\nLast metadata expiration check: 0:05:46 ago on Thu Nov 18 03:34:16 2021.\nDependencies resolved.\n========================================================================================================================\n Package                       Arch    Version                                   Repository                         Size\n========================================================================================================================\nUpgrading:\n buildah                       x86_64  1.22.3-2.module+el8.5.0+12582+56d94c81    rhel-8-for-x86_64-appstream-rpms  7.7 M\n cockpit-podman                noarch  33-1.module+el8.5.0+12582+56d94c81        rhel-8-for-x86_64-appstream-rpms  437 k\n conmon                        x86_64  2:2.0.29-1.module+el8.5.0+12582+56d94c81  rhel-8-for-x86_64-appstream-rpms   52 k\n container-selinux             noarch  2:2.167.0-1.module+el8.5.0+12582+56d94c81 rhel-8-for-x86_64-appstream-rpms   54 k\n containernetworking-plugins   x86_64  1.0.0-1.module+el8.5.0+12582+56d94c81     rhel-8-for-x86_64-appstream-rpms   19 M\n containers-common             noarch  2:1-2.module+el8.5.0+12582+56d94c81       rhel-8-for-x86_64-appstream-rpms   77 k\n criu                          x86_64  3.15-3.module+el8.5.0+12582+56d94c81      rhel-8-for-x86_64-appstream-rpms  518 k\n...\nPerforming reinstallation of the CentOS Linux packages ...\nUpdating Subscription Management repositories.\nLast metadata expiration check: 0:06:46 ago on Thu Nov 18 03:34:16 2021.\nDependencies resolved.\n=========================================================================================================================\n Package                                Arch    Version                           Repository                         Size\n=========================================================================================================================\nReinstalling:\n NetworkManager                         x86_64  1:1.32.10-4.el8                   rhel-8-for-x86_64-baseos-rpms     2.6 M\n NetworkManager-config-server           noarch  1:1.32.10-4.el8                   rhel-8-for-x86_64-baseos-rpms     131 k\n NetworkManager-libnm                   x86_64  1:1.32.10-4.el8                   rhel-8-for-x86_64-baseos-rpms     1.8 M\n NetworkManager-libreswan               x86_64  1.2.10-4.el8                      rhel-8-for-x86_64-appstream-rpms  120 k\n NetworkManager-team                    x86_64  1:1.32.10-4.el8                   rhel-8-for-x86_64-baseos-rpms     149 k\n NetworkManager-tui                     x86_64  1:1.32.10-4.el8                   rhel-8-for-x86_64-baseos-rpms     336 k\n PackageKit                             x86_64  1.1.12-6.el8                      rhel-8-for-x86_64-appstream-rpms  599 k\n PackageKit-glib                        x86_64  1.1.12-6.el8                      rhel-8-for-x86_64-appstream-rpms  140 k\n abattis-cantarell-fonts                noarch  0.0.25-6.el8                      rhel-8-for-x86_64-appstream-rpms  156 k\n...\nDependencies resolved.\nNothing to do.\nComplete!\nReceived return code: 0\n\n\n[11\/18\/2021 03:52:35] TASK - [Convert: List remaining non-Red Hat packages] *********************\nListing packages not signed by Red Hat\nAll packages are now signed by Red Hat.\n\n[11\/18\/2021 03:52:37] TASK - [Convert: Configure the bootloader] ********************************\nBIOS detected. Nothing to do.\n\n[11\/18\/2021 03:52:37] TASK - [Convert: Patch yum configuration file] ****************************\nSkipping patching, yum configuration file not modified\n\n[11\/18\/2021 03:52:37] TASK - [Final: rpm files modified by the conversion] **********************\nRunning the 'rpm -Va' command which can take several minutes. It can be disabled by using the --no-rpm-va option.\n\nRunning the 'rpm -Va' command which can take several minutes. It can be disabled by using the --no-rpm-va option.\nThe 'rpm -Va' output has been stored in the \/var\/log\/convert2rhel\/rpm_va_after_conversion.log file\nComparison of modified rpm files from before and after the conversion:\n--- \/var\/log\/convert2rhel\/rpm_va.log\n+++ \/var\/log\/convert2rhel\/rpm_va_after_conversion.log\n@@ -0,0 +1,2 @@\n+....L....  c \/etc\/nsswitch.conf\n+.M.......  g \/var\/lib\/plymouth\/boot-duration\n@@ -2,2 +3,0 @@\n-.M.......  g \/var\/lib\/plymouth\/boot-duration\n-....L....  c \/etc\/nsswitch.conf\n@@ -9,2 +8,0 @@\n-.......T.  c \/etc\/selinux\/targeted\/contexts\/customizable_types\n-.......T.    \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-redhat-release\n\n[11\/18\/2021 03:53:03] TASK - [Final: Remove temporary folder \/var\/lib\/convert2rhel\/] ************\nTemporary folder \/var\/lib\/convert2rhel\/ removed\n\nConversion successful!\n\nWARNING - In order to boot the RHEL kernel, restart of the system is needed.\n<\/pre>\n<p>Time to reboot and check if all is fine:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">\n[root@centos8 ~]$ systemctl reboot\n[root@centos8 ~]$ Connection to 192.168.100.243 closed by remote host.\nConnection to 192.168.100.243 closed.\ndwe@ltdwe:~$ ssh root@192.168.100.243\nroot@192.168.100.243's password: \nActivate the web console with: systemctl enable --now cockpit.socket\n\nLast login: Thu Nov 18 02:38:37 2021 from 192.168.100.1\n[root@centos8 ~]$ cat \/etc\/os-release \nNAME=\"Red Hat Enterprise Linux\"\nVERSION=\"8.5 (Ootpa)\"\nID=\"rhel\"\nID_LIKE=\"fedora\"\nVERSION_ID=\"8.5\"\nPLATFORM_ID=\"platform:el8\"\nPRETTY_NAME=\"Red Hat Enterprise Linux 8.5 (Ootpa)\"\nANSI_COLOR=\"0;31\"\nCPE_NAME=\"cpe:\/o:redhat:enterprise_linux:8::baseos\"\nHOME_URL=\"https:\/\/www.redhat.com\/\"\nDOCUMENTATION_URL=\"https:\/\/access.redhat.com\/documentation\/red_hat_enterprise_linux\/8\/\"\nBUG_REPORT_URL=\"https:\/\/bugzilla.redhat.com\/\"\n\nREDHAT_BUGZILLA_PRODUCT=\"Red Hat Enterprise Linux 8\"\nREDHAT_BUGZILLA_PRODUCT_VERSION=8.5\nREDHAT_SUPPORT_PRODUCT=\"Red Hat Enterprise Linux\"\nREDHAT_SUPPORT_PRODUCT_VERSION=\"8.5\"\n\n[root@centos8 ~]$ dnf repolist\nUpdating Subscription Management repositories.\nrepo id                                                                                                                    repo name\nconvert2rhel-for-rhel-8-rpms                                                                                               Convert2RHEL for OS 8\nrhel-8-for-x86_64-appstream-rpms                                                                                           Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)\nrhel-8-for-x86_64-baseos-rpms                                                                                              Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)\n\n[root@centos8 ~]$ dnf update -y\nUpdating Subscription Management repositories.\nRed Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                                                                                                                                                                         3.9 MB\/s |  41 MB     00:10    \nRed Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                                                                                                                                                                                      4.1 MB\/s |  37 MB     00:09    \nLast metadata expiration check: 0:00:03 ago on Thu 18 Nov 2021 03:55:39 AM EST.\nDependencies resolved.\nNothing to do.\nComplete!\n<\/pre>\n<p>Looks good. In real live it might be more complicated, depending on what is installed on the original system.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have quite a few customers still running on CentOS 8 and you probably already are aware that CentOS 8 will be end of life by the end of this year. This forces a lot of companies to either switch to an alternative or to stick with CentOS stream. For most enterprise workloads CentOS stream [&hellip;]<\/p>\n","protected":false},"author":28,"featured_media":16851,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229],"tags":[72,73,1462],"type_dbi":[],"class_list":["post-16850","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database-administration-monitoring","tag-centos","tag-linux","tag-red-hat"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Switching from CentOS 8 to Red Hat 8 - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Switching from CentOS 8 to Red Hat 8\" \/>\n<meta property=\"og:description\" content=\"We have quite a few customers still running on CentOS 8 and you probably already are aware that CentOS 8 will be end of life by the end of this year. This forces a lot of companies to either switch to an alternative or to stick with CentOS stream. For most enterprise workloads CentOS stream [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-18T07:58:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/compatibility.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"687\" \/>\n\t<meta property=\"og:image:height\" content=\"396\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Open source Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Open source Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/switching-from-centos-8-to-red-hat-8\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/switching-from-centos-8-to-red-hat-8\\\/\"},\"author\":{\"name\":\"Open source Team\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/4bae5e5dd8c7d48edbd948772b49b202\"},\"headline\":\"Switching from CentOS 8 to Red Hat 8\",\"datePublished\":\"2021-11-18T07:58:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/switching-from-centos-8-to-red-hat-8\\\/\"},\"wordCount\":390,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/switching-from-centos-8-to-red-hat-8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/04\\\/compatibility.jpg\",\"keywords\":[\"CentOS\",\"Linux\",\"Red Hat\"],\"articleSection\":[\"Database Administration &amp; Monitoring\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/switching-from-centos-8-to-red-hat-8\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/switching-from-centos-8-to-red-hat-8\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/switching-from-centos-8-to-red-hat-8\\\/\",\"name\":\"Switching from CentOS 8 to Red Hat 8 - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/switching-from-centos-8-to-red-hat-8\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/switching-from-centos-8-to-red-hat-8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/04\\\/compatibility.jpg\",\"datePublished\":\"2021-11-18T07:58:13+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/4bae5e5dd8c7d48edbd948772b49b202\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/switching-from-centos-8-to-red-hat-8\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/switching-from-centos-8-to-red-hat-8\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/switching-from-centos-8-to-red-hat-8\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/04\\\/compatibility.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2022\\\/04\\\/compatibility.jpg\",\"width\":687,\"height\":396},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/switching-from-centos-8-to-red-hat-8\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Switching from CentOS 8 to Red Hat 8\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/4bae5e5dd8c7d48edbd948772b49b202\",\"name\":\"Open source Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g\",\"caption\":\"Open source Team\"},\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/open-source-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Switching from CentOS 8 to Red Hat 8 - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/","og_locale":"en_US","og_type":"article","og_title":"Switching from CentOS 8 to Red Hat 8","og_description":"We have quite a few customers still running on CentOS 8 and you probably already are aware that CentOS 8 will be end of life by the end of this year. This forces a lot of companies to either switch to an alternative or to stick with CentOS stream. For most enterprise workloads CentOS stream [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/","og_site_name":"dbi Blog","article_published_time":"2021-11-18T07:58:13+00:00","og_image":[{"width":687,"height":396,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/compatibility.jpg","type":"image\/jpeg"}],"author":"Open source Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Open source Team","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/"},"author":{"name":"Open source Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/4bae5e5dd8c7d48edbd948772b49b202"},"headline":"Switching from CentOS 8 to Red Hat 8","datePublished":"2021-11-18T07:58:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/"},"wordCount":390,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/compatibility.jpg","keywords":["CentOS","Linux","Red Hat"],"articleSection":["Database Administration &amp; Monitoring"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/","url":"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/","name":"Switching from CentOS 8 to Red Hat 8 - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/compatibility.jpg","datePublished":"2021-11-18T07:58:13+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/4bae5e5dd8c7d48edbd948772b49b202"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/compatibility.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/compatibility.jpg","width":687,"height":396},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/switching-from-centos-8-to-red-hat-8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Switching from CentOS 8 to Red Hat 8"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/4bae5e5dd8c7d48edbd948772b49b202","name":"Open source Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g","caption":"Open source Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/open-source-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/16850","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=16850"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/16850\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/16851"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=16850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=16850"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=16850"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=16850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}