<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ubuntu on ShieldedBytes</title>
    <link>https://linuxeries.org/tags/ubuntu/</link>
    <description>Recent content in Ubuntu on ShieldedBytes</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 30 Sep 2026 11:21:02 +0200</lastBuildDate>
    <atom:link href="https://linuxeries.org/tags/ubuntu/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>When initramfs drops into emergency mode after a kernel upgrade: how to recover the root partition on Ubuntu 24.04</title>
      <link>https://linuxeries.org/post/2026-09-30-when-initramfs-drops-into-emergency-mode-afte/</link>
      <pubDate>Wed, 30 Sep 2026 11:21:02 +0200</pubDate>
      <guid>https://linuxeries.org/post/2026-09-30-when-initramfs-drops-into-emergency-mode-afte/</guid>
      <description>&lt;p&gt;After a kernel upgrade, Ubuntu 24.04 can sometimes drop straight into emergency mode if the initramfs can’t mount the root filesystem. The prompt usually looks like:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Emergency mode&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;You are in emergency mode. The root filesystem is mounted read‑only.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Below is a practical walk‑through of the most common culprits and how to bring the root back online without compromising security.&lt;/p&gt;&#xA;&lt;h2 id=&#34;why-emergency-mode-happens&#34;&gt;Why emergency mode happens&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;UUID mismatch&lt;/strong&gt; – The kernel’s &lt;code&gt;root=&lt;/code&gt; parameter points at a UUID that no longer exists (think LVM snapshot churn or a fresh partition).&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Missing drivers&lt;/strong&gt; – The initramfs was rebuilt without the modules needed for your storage controller or filesystem.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Secure‑boot hiccups&lt;/strong&gt; – A signed kernel gets rejected because the firmware can’t find the signing key or the initramfs isn’t signed.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Filesystem corruption&lt;/strong&gt; – Bad blocks or a half‑finished update can stop the kernel from mounting the root.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The emergency shell gives you a minimal environment with the root filesystem mounted read‑only, which is perfect for debugging without risking further damage.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
