Leftover Windows NVRAM entry (Windows Boot Manager) after clean install blocks kernel boot with Secure Boot on Mint 22.3
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
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:
- Start with a machine that previously had Windows installed (leaving a Windows Boot Manager entry in NVRAM) with Secure Boot enabled.
- Perform a clean installation of Linux Mint 22.3 ("Erase disk and install Linux Mint").
- Reboot the system.
Workaround / Solution: - 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.
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của linuxmint/ubiquity
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
The variable named 'partition' causes an unhandled error when there are no disks connected to the system: "TypeError: argument of type 'NoneType' is not iterable".Có thể đã có người làm @eran132 đã nhận 71 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 32/100
Tất cả issue của linuxmint/ubiquity
Issue tương tự
-
docs(contributing): the two things that silently block a PRCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởavailable documentation good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 95/100
Nixitov/Riptide-Native#944 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
JTHCode/secretguard#24 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: middleware documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainer thường phản hồi trong vòng 1 ngày