Upgradation from RHEL 7 to RHEL 8

[root@dcweb ~]# subscription-manager list –installed
+——————————————-+
Installed Product Status
+——————————————-+
Product Name: Red Hat Enterprise Linux Server
Product ID: 69
Version: 7.9
Arch: x86_64
Status: Subscribed
Status Details:
Starts: 03/31/2022
Ends: 03/31/2025
[root@web ~]# subscription-manager register –username rhn.masuk
[root@web ~]# subscription-manager attach –auto
[root@web ~]# subscription-manager repos –enable rhel-7-server-extras-rpms

Repository ‘rhel-7-server-extras-rpms’ is enabled for this system.
[root@web ~]# yum install leapp
[root@web ~]# reboot
[root@web ~]# leapp answer –section remove_pam_pkcs11_module_check.confirm=True
[root@web ~]# leapp upgrade –target 8.6
[root@web ~]# reboot
[root@web ~]# subscription-manager list –installed

+——————————————-+
Installed Product Status
+——————————————-+
Product Name: Red Hat Enterprise Linux for x86_64
Product ID: 479
Version: 8.6
Arch: x86_64
Status: Subscribed
Status Details:
Starts: 03/31/2022
Ends: 03/31/2025

Error: Inhibitor: Leapp detected loaded kernel drivers which have been removed in RH
Check Report: As per /var/log/leapp/leapp-report.txt file:
Error 01:
Risk Factor: high (inhibitor)
Title: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed.
Summary: Support for the following RHEL 7 device drivers has been removed in RHEL 8:
– floppy
– pata_acpi
Solution:
$ rmmod floppy
$ rmmod pata_acpi

Error 02:
Risk Factor: high (inhibitor)
Title: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed.
Summary: Support for the following RHEL 7 device drivers has been removed in RHEL 8:
mptbase
mptscsih
mptspi
Solution:
# cp /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.backup
# dracut -N -f
# shutdown
On the VMWare Hypervisor side, change the SCSI Controller type
Change to “VMware Paravirtual”. A warning is displayed.
Click on “Change Type”.
# dracut -f –regenerate-all

,

Published by


Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.