microsoft / microsoft/secureboot_objects
[Bug]: exfat option in Make2023BootableMedia.ps1 results in non-bootable USB
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 289
- Fork
- 89
- Merge medio
- 3g 10h
- PR unite (30g)
- 7
Descrizione
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
- 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.
- 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. - 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:]
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con Make2023BootableMedia.ps1 e riproduci il comando segnalato usando -FileSystem ExFAT. Esamina la convalida del filesystem e l’avviso FAT32/UEFI esistente, quindi verifica che il comportamento risultante corrisponda ai requisiti documentati di avviabilità. L’attività è completata quando ExFAT viene gestito in modo coerente con le indicazioni UEFI dello script e la riproduzione dell’issue non produce più un successo fuorviante.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- powershell
- Ambito
- operating-systems, tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 68/100