microsoft / microsoft/secureboot_objects

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

Offen
#424 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

state:needs-owner state:needs-triage type:bug urgency:low
Vorherrschende Sprache
Python
Sterne
289
Forks
89
Ø Merge
3 T. 10 Std.
Gemergte PRs (30 T.)
7

Beschreibung

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:]

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit Make2023BootableMedia.ps1 und reproduziere den gemeldeten Befehl mit -FileSystem ExFAT. Untersuche die Dateisystemvalidierung und die bestehende FAT32/UEFI-Warnung und überprüfe anschließend, ob das resultierende Verhalten den dokumentierten Anforderungen an die Bootfähigkeit entspricht. Erledigt ist die Aufgabe, wenn ExFAT konsistent mit den UEFI-Hinweisen des Skripts behandelt wird und die Reproduktion des Issues nicht länger einen irreführenden Erfolg meldet.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
powershell
Bereich
operating-systems, tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
68/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.