<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Albert Mitini</title>
    <description>The latest articles on DEV Community by Albert Mitini (@albert_f6afcc1a2aeac1890d).</description>
    <link>https://dev.to/albert_f6afcc1a2aeac1890d</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4153011%2F6629f41f-8dd7-43ff-bba2-f7b541be01dd.jpg</url>
      <title>DEV Community: Albert Mitini</title>
      <link>https://dev.to/albert_f6afcc1a2aeac1890d</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/albert_f6afcc1a2aeac1890d"/>
    <language>en</language>
    <item>
      <title>I turned on Secure Boot and my Ubuntu laptop stopped booting</title>
      <dc:creator>Albert Mitini</dc:creator>
      <pubDate>Sun, 18 Oct 2026 02:16:11 +0000</pubDate>
      <link>https://dev.to/albert_f6afcc1a2aeac1890d/i-turned-on-secure-boot-and-my-ubuntu-laptop-stopped-booting-5e4</link>
      <guid>https://dev.to/albert_f6afcc1a2aeac1890d/i-turned-on-secure-boot-and-my-ubuntu-laptop-stopped-booting-5e4</guid>
      <description>&lt;p&gt;I have an old &lt;strong&gt;HP EliteBook Folio 9470m (2014, BIOS F.48)&lt;/strong&gt; running Ubuntu. I had just upgraded to the latest version &lt;strong&gt;Ubuntu 26.04.1 LTS&lt;/strong&gt; &lt;strong&gt;resolute&lt;/strong&gt;, and I thought I would turn on Secure Boot while I was at it. I restarted and Ubuntu would not boot.&lt;/p&gt;

&lt;p&gt;I went back into the BIOS, switched Secure Boot off, and Ubuntu came up again. Then I checked the state from inside Ubuntu:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;mokutil --sb-state&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;It said:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg78pv9yrq2u13brq1jkw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg78pv9yrq2u13brq1jkw.png" alt="state check image" width="552" height="123"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Setup Mode&lt;/strong&gt; means the firmware has no Platform Key enrolled. With no keys, Secure Boot has nothing to check anything against. i went Looking back at the BIOS, I had switched the key option from &lt;strong&gt;HP’s keys&lt;/strong&gt; to “Customer Keys” and never enrolled any. My best guess is that this is what kept it in Setup Mode.&lt;/p&gt;

&lt;p&gt;In the BIOS I wanted to go back to “HP Factory Keys”, but that option and “Customer Keys” were greyed out. They only unlocked after I unticked SecureBoot first. I selected HP Factory Keys, ticked SecureBoot again and saved.&lt;/p&gt;

&lt;p&gt;After that the laptop went into a loop. It showed a “Reset system” screen, then a blank screen, then Caps Lock blinking with nothing on the display. It blinked continuously with no pause, so I couldn’t read an error code from it. I left it alone, did a full power drain, and eventually got back into the BIOS.&lt;/p&gt;

&lt;p&gt;At some point I also deleted the custom boot path in the BIOS, and that made things worse. Ubuntu was still in the boot list, but the laptop would not start it by itself. From the F9 boot menu I could pick Ubuntu and it booted every time, with Secure Boot active:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
$ mokutil --sb-state
SecureBoot enabled
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I checked the boot entry from Ubuntu, and &lt;strong&gt;BootOrder&lt;/strong&gt; was set correctly to Ubuntu’s shim. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxnlro7k1279ic8akett1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxnlro7k1279ic8akett1.png" alt="state check from boot menu" width="586" height="661"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I also confirmed the fallback files already existed in &lt;strong&gt;/boot/efi/EFI/BOOT/&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fynlhoici38zx5m9ghujs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fynlhoici38zx5m9ghujs.png" alt="boot menu fallback file confirmation" width="540" height="198"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I even copied the shim into the folder HP looks at by default. None of it changed anything.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fykc9gmkj1jq7h4i4ww4c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fykc9gmkj1jq7h4i4ww4c.png" alt="boot folder" width="543" height="139"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where I am now:&lt;/strong&gt; Secure Boot works and Ubuntu runs fine, but I still have to press &lt;strong&gt;Esc&lt;/strong&gt;, then &lt;strong&gt;F9&lt;/strong&gt;, then choose &lt;strong&gt;Ubuntu&lt;/strong&gt; on every cold boot. I haven’t solved the auto-boot part. If you’ve dealt with this on an old &lt;strong&gt;HP BIOS&lt;/strong&gt;, please help me out.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;PS:&lt;/strong&gt;If you’re about to try this on your own old laptop, run &lt;code&gt;mokutil --sb-state&lt;/code&gt; before you touch any key settings, and change one BIOS setting at a time.&lt;br&gt;
Once the reset loop starts, don’t keep saving changes.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>ubuntu</category>
      <category>debugging</category>
      <category>secureboot</category>
    </item>
  </channel>
</rss>
