Leftover Windows NVRAM entry (Windows Boot Manager) after clean install blocks kernel boot with Secure Boot on Mint 22.3

オープン
#119 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
devops

調査の方向性

Start by reading the installer’s UEFI boot-entry creation and boot-priority handling; the issue does not name specific files or tests. Reproduce with a system that has a stale Windows Boot Manager NVRAM entry and Secure Boot enabled, then check whether a clean install registers and prioritizes the new ubuntu entry so the installed system boots.

索引モデルが issue の本文から書いたものです。

説明

Description:
System Information:
• OS: Linux Mint 22.3 (Zena)
• Hardware / Motherboard: Lenovo ThinkPad 14IIL 20SL
• Boot Mode: UEFI with Secure Boot enabled
Problem:
After performing a clean installation of Linux Mint 22.3 (wiping the disk), the installer did not remove or properly deprioritize the old Windows Boot Manager (Boot0000) entry stored in the motherboard's NVRAM.
On reboot, GRUB loaded, but the system failed to load the Linux kernel. Because the orphaned Windows entry remained in NVRAM alongside the new ubuntu entry, the UEFI firmware/Secure Boot chain failed to properly hand off to the signed kernel (shimx64.efi).
Steps to Reproduce:

  1. Start with a machine that previously had Windows installed (leaving a Windows Boot Manager entry in NVRAM) with Secure Boot enabled.
  2. Perform a clean installation of Linux Mint 22.3 ("Erase disk and install Linux Mint").
  3. Reboot the system.
    Workaround / Solution:
  4. Entered UEFI/BIOS settings, toggled Secure Boot off and back on (to re-initialize keys/state), and manually moved the ubuntu boot entry above Windows Boot Manager in the boot priority order.
  5. Once booted into Mint, removed the orphaned NVRAM entry manually using sudo efibootmgr -b 0000 -B.

Suggestion:
During a full disk erase/clean install, Ubiquity should check for orphaned Windows Boot Manager NVRAM entries (or ensure the newly created ubuntu UEFI entry is strictly prioritized and properly registered for Secure Boot) so users don't get stuck unable to boot the kernel after installation.

主要言語
Python
スター
58
フォーク
57
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxmint/ubiquity のほかの issue

linuxmint/ubiquity の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。