ArticlesRocky Linux

Rocky Linux Fails to Boot in a Dual-Boot Setup with Windows

Introduction

Dual-booting is the practice of installing and using two separate operating systems on one computer. This setup enables you to select which operating system to boot into during startup, offering the flexibility to switch between them as needed.

Problem

After installing the August 2024 Windows security update, KB5041585 or the August 2024 preview update, you might face issues with booting Linux if you have enabled a dual-boot setup of Windows and Linux on your machine. The result of this issue, is your device might fail to boot Linux and show the following error message:

Verifying shim SBAT data failed: Security Policy Violation
Something has gone seriously wrong: SBAT self-check failed: Security Policy Violation

Resolution

Please follow the instructions highlighted in this Microsoft article.

Root Cause

The August 2024 Windows security and preview updates apply a Secure Boot Advanced Targeting (SBAT) setting to machines that run Windows. This blocks old and vulnerable boot managers. This SBAT update will not be applied to devices where dual-booting is detected. On some machines, the dual-boot detection did not detect some customized methods of dual-booting and applied the SBAT value when it shouldn't have done so.


IMPORTANT: This known issue only occurs with the installation of the August 2024 security and preview updates. The September 2024 KB5043076 and later security updates do not contain the settings that cause this issue. If you install the September 2024 update, you don’t need to apply the workaround listed above.


Notes

  • Disabling Secure Boot is a temporary workaround, but is not recommended for long-term security.
  • Ensure your system firmware (BIOS/UEFI) is up to date before applying updates.
  • Monitor Windows Update for any future patches addressing this issue.

References & Related Articles (Optional)