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

Đang mở
#119 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
devops

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
58
Fork
57
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của linuxmint/ubiquity

Tất cả issue của linuxmint/ubiquity

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.