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

Abierto
#119 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
devops

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
58
Forks
57
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de linuxmint/ubiquity

Todos los issues de linuxmint/ubiquity

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.