Leapp upgrade fail with error "Inhibitor: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed."

Solution Verified - Updated

Environment

  • Red Hat Enterprise Linux 7
  • VMware Guest
  • leapp

Issue

  • Leapp upgrade fails with error as "Inhibitor: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed."

    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
    

Resolution

  1. Backup the initramfs being currently used for booting

    # cp /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.backup
    
  2. Build a generic initramfs containing all drivers

     # dracut -N -f
    
  3. Stop the system

      # shutdown
    
  4. On the VMWare Hypervisor side, change the SCSI Controller type

    In "VM Hardware" pane, click on "Edit" button, then "SCSI Controller x" and choose "VMware Paravirtual" in "Change Type".

  5. (Optional but recommended) On the VMWare Hypervisor side, upgrade the hardware level

    Right-click on the VM, then choose "Compatibility" then "Upgrade VM compatibility" and select "ESXi 7.0 update 3 or later" as a minimum.

  6. Boot the system and once booted run following

    # dracut -f --regenerate-all
    

Root Cause

SBR
Components
Category
Tags

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.