{"id":2081,"date":"2026-10-09T23:01:34","date_gmt":"2026-10-09T23:01:34","guid":{"rendered":"https:\/\/pro.osassistance.com\/?p=2081"},"modified":"2026-10-09T23:11:51","modified_gmt":"2026-10-09T23:11:51","slug":"fix-missing-boot-files","status":"publish","type":"post","link":"https:\/\/osassistance.com\/blog\/fix-missing-boot-files\/","title":{"rendered":"Fix Missing Boot Files on RHEL 8: The &#8220;Phantom Update&#8221; Trap | OS Assistance"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Author:<\/strong> Thomas C<br><strong>Category:<\/strong> Linux Operation<br><strong>Target Systems:<\/strong> RHEL 8, Rocky Linux 8, AlmaLinux 8, Oracle Linux 8<\/p>\n\n\n\n<div class=\"wp-block-notice warning\" style=\"border-left: 4px solid #f0ad4e; padding: 15px; background: #fdf8e4; margin-bottom: 25px;\">\r\n  <p><strong>\u26a0\ufe0f IMPORTANT DISCLAIMER &amp; SAFETY WARNING:<\/strong> The troubleshooting walkthrough below reflects an actual resolved production incident. Because system architectures, repository setups, and volume topologies vary, <em>these steps carry no guarantee of identical results in your specific environment<\/em>.<\/p>\r\n  <ul>\r\n    <li><strong>Always capture a full VM snapshot or tested block-level backup<\/strong> before modifying core packages, kernels, or partitions.<\/li>\r\n    <li>If you are unsure of any step or observe unexpected dependencies, <strong>consult a qualified Linux systems engineer<\/strong> prior to rebooting or removing packages.<\/li>\r\n  <\/ul>\r\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Fix Missing Boot Files<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">During automated maintenance cycles across an enterprise server fleet, an administrator occasionally encounters an unsettling silent failure: a server reboots successfully, yet continues to execute an outdated kernel [2]. A quick inspection of the <code>\/boot<\/code> directory reveals that the binaries for the patched kernel were never installed on disk\u2014yet running <code>dnf update<\/code> simply responds with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Dependencies resolved.\nNothing to do.\nComplete!<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This condition represents the <strong>&#8220;Phantom Update&#8221; trap<\/strong>. Below is an engineering analysis of why this failure occurs under Red Hat Enterprise Linux 8 and Rocky Linux 8, alongside a validated procedure to restore package-to-disk consistency.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Root_Cause_Analysis_The_Multilib_Transaction_Failure\"><\/span>1. Root Cause Analysis: The Multilib Transaction Failure<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To identify why a patched kernel fails to materialize in <code>\/boot<\/code>, one must trace the transactional execution pipeline of <code>dnf<\/code>:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Dependency Solver:<\/strong> Packages are matched, downloaded, and cached in local staging.<\/li>\n\n\n\n<li><strong>Transaction Test:<\/strong> File paths and multilib shared libraries are checked for collision against existing RPM headers.<\/li>\n\n\n\n<li><strong>Transaction Run:<\/strong> Binaries, configuration artifacts, and initramfs images are written to their target mount points.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">If an environment hosts legacy 32-bit compatibility packages alongside standard 64-bit packages, updating a security-critical package such as Pluggable Authentication Modules (<code>pam<\/code>) frequently triggers a transaction conflict:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Error: Transaction test error:\n  file \/usr\/share\/man\/man5\/access.conf.5.gz from install of pam-1.3.1-40.0.1.el8_10.i686 conflicts with file from package pam-1.3.1-38.0.1.el8_10.x86_64\n  file \/usr\/share\/man\/man5\/limits.conf.5.gz from install of pam-1.3.1-40.0.1.el8_10.i686 conflicts with file from package pam-1.3.1-38.0.1.el8_10.x86_64\n  ... (additional manual and config conflict lines)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Because the <strong>Transaction Test failed<\/strong>, execution terminated immediately. None of the downloaded packages in that batch\u2014including the kernel\u2014were unpacked onto the filesystem. However, if previous attempts were interrupted or partial metadata was recorded by secondary scripts, the local RPM database and DNF state tracker can desynchronize, registering the package as installed while <code>\/boot<\/code> remains completely unpopulated.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Inspecting <code>\/boot<\/code> on the affected host shows only older kernel images:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@Host23 ~]# ls -l \/boot\ntotal 182373\n-rw-r--r--. 1 root root   202453 May 13 04:11 config-4.18.0-553.124.1.el8_10.x86_64\n-rw-------. 1 root root 51656051 Jun  1 11:32 initramfs-4.18.0-553.124.1.el8_10.x86_64.img\n-rwxr-xr-x. 1 root root 10891472 May 13 04:11 vmlinuz-4.18.0-553.124.1.el8_10.x86_64<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Step-by-Step_Resolution_Clearing_the_Block_Reinstalling\"><\/span>2. Step-by-Step Resolution: Clearing the Block &amp; Reinstalling<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Eliminate_the_Conflicting_32-Bit_Package\"><\/span>Step 1: Eliminate the Conflicting 32-Bit Package<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Unless your node runs legacy proprietary 32-bit software requiring multilib compatibility, the <code>i686<\/code> architecture variant of PAM should be purged:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf remove pam.i686<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Pre-execution check: Carefully audit the removal summary. Confirm that the solver is not removing core 64-bit production services as cascading dependencies.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Force_a_Clean_Kernel_Reinstallation\"><\/span>Step 2: Force a Clean Kernel Reinstallation<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Since the local database already considers the kernel package &#8220;installed,&#8221; standard <code>dnf install<\/code> or <code>dnf update<\/code> operations will bypass it. You must invoke an explicit reinstallation command to force DNF to download the RPMs, extract the binaries, and trigger Dracut to generate an initramfs:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf reinstall kernel-core kernel-modules kernel<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Verify_the_Physical_Kernel_Artifacts\"><\/span>Step 3: Verify the Physical Kernel Artifacts<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm that both the compressed vmlinuz binary and the initramfs ramdisk exist in <code>\/boot<\/code> prior to issuing a reboot instruction:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@Host23 ~]# ls -l \/boot\/vmlinuz-*\n-rwxr-xr-x. 1 root root 10891472 May 13 04:11 \/boot\/vmlinuz-4.18.0-553.124.1.el8_10.x86_64\n-rwxr-xr-x. 1 root root 10892520 Jun 15 14:02 \/boot\/vmlinuz-4.18.0-553.170.1.el8_10.x86_64<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once verified, cycle the node:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo reboot<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Following startup, confirm active execution on the updated release:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;governor@Host23 ~]$ uname -r\n4.18.0-553.170.1.el8_10.x86_64<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Identifying_Silent_Blockers_Repositories_and_Version_Controls\"><\/span>3. Identifying Silent Blockers: Repositories and Version Controls<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you encounter situations where DNF skips kernel updates despite verified upstream availability, review these two common administrative restrictions:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"A_Exclusion_Directives_in_etcyumreposd\"><\/span>A. Exclusion Directives in <code>\/etc\/yum.repos.d\/<\/code><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Look for active package exclusion rules configured inside <code>\/etc\/dnf\/dnf.conf<\/code> or per-repository configuration files under <code>\/etc\/yum.repos.d\/*.repo<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grep -rn \"exclude=\" \/etc\/yum.repos.d\/ \/etc\/dnf\/dnf.conf<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If an entry such as <code>exclude=kernel*<\/code> is present, DNF will mask upstream kernel updates. You can temporarily override this behavior to confirm by appending the flag <code>--disableexcludes=all<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf check-update --security --disableexcludes=all<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"B_Active_DNF_Versionlock_Profiles\"><\/span>B. Active DNF Versionlock Profiles<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>versionlock<\/code> plugin is frequently used to freeze specific application tiers. Check whether the package has been pinned at a historical version:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf versionlock list<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If obsolete kernel strings appear, unpin them using:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf versionlock delete \"kernel-core-*\"<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Managing_Storage_Constraints_in_boot\"><\/span>4. Managing Storage Constraints in <code>\/boot<\/code><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A filled <code>\/boot<\/code> filesystem is the primary catalyst for corrupted transactions and missing kernel files. Because Dracut requires temporary uncompressed space to compile your ramdisk, insufficient capacity causes silent execution rollbacks.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Safe_Kernel_Housekeeping\"><\/span>Safe Kernel Housekeeping<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Never run manual <code>rm<\/code> commands against raw boot directories. Instead, command DNF to cleanly remove older installation iterations while maintaining your current operating kernel and one reliable fallback:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf remove --oldinstallonly --setopt installonly_limit=2 kernel<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Persist this ceiling permanently by updating <code>\/etc\/dnf\/dnf.conf<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;main]\ninstallonly_limit=2<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Resizing_boot_with_LVM_Is_Rarely_Recommended\"><\/span>Why Resizing <code>\/boot<\/code> with LVM Is Rarely Recommended<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Standard storage design on RHEL systems provisions <code>\/boot<\/code> onto a standard MBR or GPT physical partition (typically <code>\/dev\/sda1<\/code>) rather than a Logical Volume. This ensures legacy BIOS and modern UEFI bootloaders can read kernel definitions directly without initializing device-mapper or volume group filters [2].<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because the physical sectors immediately following <code>\/boot<\/code> are allocated to the primary LVM Physical Volume (PV), resizing <code>\/boot<\/code> requires shrinking the primary filesystem, shrinking the LVM PV, and physically moving disk partition start boundaries [3, 4]. In production environments, this carries an unacceptable risk of data corruption [5]. Enforcing kernel retention ceilings via <code>installonly_limit<\/code> provides a far safer, zero-risk maintenance posture.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary_Checklist\"><\/span>Summary Checklist<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Symptom<\/th><th>Diagnostic Command<\/th><th>Remediation<\/th><\/tr><\/thead><tbody><tr><td><strong>Transaction Test Conflict<\/strong><\/td><td><code>dnf update<\/code> output<\/td><td>Remove o<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Author: Thomas CCategory: Linux OperationTarget Systems: RHEL 8, Rocky Linux 8, AlmaLinux 8, Oracle Linux 8 \u26a0\ufe0f IMPORTANT DISCLAIMER &amp; SAFETY WARNING: The troubleshooting walkthrough below reflects an actual resolved production incident. Because system architectures, repository setups, and volume topologies vary, these steps carry no guarantee of identical results in your specific environment. Always capture&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-2081","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"taxonomy_info":{"category":[{"value":1,"label":"Uncategorized"}]},"featured_image_src_large":false,"author_info":{"display_name":"Thomas","author_link":"https:\/\/osassistance.com\/blog\/author\/thomasc\/"},"comment_info":5,"category_info":[{"term_id":1,"name":"Uncategorized","slug":"uncategorized","term_group":0,"term_taxonomy_id":1,"taxonomy":"category","description":"","parent":0,"count":7,"filter":"raw","cat_ID":1,"category_count":7,"category_description":"","cat_name":"Uncategorized","category_nicename":"uncategorized","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/posts\/2081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/comments?post=2081"}],"version-history":[{"count":6,"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/posts\/2081\/revisions"}],"predecessor-version":[{"id":2090,"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/posts\/2081\/revisions\/2090"}],"wp:attachment":[{"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/media?parent=2081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/categories?post=2081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/osassistance.com\/blog\/wp-json\/wp\/v2\/tags?post=2081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}