[Bug]: exfat option in Make2023BootableMedia.ps1 results in non-bootable USB

Abierto
#424 6 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
powershell

Línea de trabajo

Empieza con Make2023BootableMedia.ps1 y reproduce el comando indicado usando -FileSystem ExFAT. Inspecciona la validación del sistema de archivos y la advertencia existente sobre FAT32/UEFI; después, verifica que el comportamiento resultante coincida con los requisitos documentados de arranque. Se considera terminado cuando ExFAT se gestione de forma coherente con las indicaciones UEFI del script y la reproducción del issue ya no produzca un éxito engañoso.

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

Descripción

state:needs-owner state:needs-triage type:bug urgency:low
Is there an existing issue for this?
  • I have searched existing issues
Current Behavior

Using -FileSystem ExFAT when attempting to make a bootable USB results in a non-bootable USB. This seems to happen because most UEFI firmware does not support ExFAT by default.
Although FAT32 is the default, it doesn't work for larger partitions and the script recommends to use ExFAT in that case.

Expected Behavior

Using the script should result in a bootable drive, so the ExFAT option should not exist unless there is some way to make it bootable on most computers.

Steps To Reproduce
  1. Tested with Windows 11 with Secure Boot enabled and updates applied, using a 256 GB USB stick with a GPT partition table and a single partition covering the whole drive. The ISO used was Win11_25H2_English_x64_v2.iso.
  2. Run .\Make2023BootableMedia.ps1 -MediaPath C:\Media\Win11_25H2_English_x64_v2.iso -TargetType USB -USBDrive E: -FileSystem ExFAT (adjusting the command to point to the correct paths). The script should not display any errors at this stage.
  3. Attempting to boot from the USB will likely fail as UEFI firmware is not required to understand ExFAT.
Build Environment
- OS: Microsoft Windows [Version 10.0.26100.8457]
Bug report is for a script, so I didn't build/compile anything, just downloaded it.
Version Information
Tag: v1.6.4-signed
Urgency

Low

Are you going to fix this?

Someone else needs to fix it

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

There is a message in the script saying that the filesystem must be FAT32 to boot on most UEFI systems but the actual code still allows ExFAT so that error will never actually display if -FileSystem ExFAT is used.

Log:

.\Make2023BootableMedia.ps1 -MediaPath C:\Media\Win11_25H2_English_x64_v2.iso -TargetType USB -USBDrive E: -FileSystem ExFAT


Microsoft 'Windows UEFI CA 2023' Media Update Script - Version 1.4


WARNING: Contents on drive [E:] will be erased! Continue? (Y/N)
y
Initializing staging directory
Staging media
Mounting ISO from staged media
Mounting boot.wim from staged media
Updating staged media to use boot binaries signed with 'Windows UEFI CA 2023' certificate
Creating 'Windows UEFI CA 2023' bootable USB media on drive [E:]
Successfully created media on drive [E:]
Lenguaje dominante
Python
Estrellas
289
Forks
89
Merge medio
3 d 10 h
PR fusionados (30 d)
7

Guía de contribución

Abrir la guía de contribución

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 microsoft/secureboot_objects

Todos los issues de microsoft/secureboot_objects

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.