Reinstalling Linux boot-file packages

You can update and reinstall boot-file packages.

About this task

If Linux boot files were corrupted, or if boot-file signatures are invalid, for example due to an expired secure boot certificate, proceed as follows:
  1. Update the relevant packages to their latest versions.
  2. If the package is already at the latest version, reinstall the package.

Procedure

  • Red Hat® Enterprise Linux
    To update packages to their latest versions, issue:
    # dnf update kernel-core s390utils-core
    To reinstall packages, issue:
    # dnf reinstall kernel-core s390utils-core
  • SUSE Linux Enterprise Server
    To update packages to their latest version, issue:
    # zypper update kernel-default s390-tools
    To reinstall packages, issue:
    # zypper install -f kernel-default s390-tools
    # grub2-install
    
  • Ubuntu
    To update packages to their latest versions, issue:
    # apt update
    # apt upgrade linux-image-generic s390-tools
    
    To reinstall packages, issue:
    # apt install --reinstall linux-image-$(uname -r) s390-tools-signed