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

オープン
#424 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
powershell

調査の方向性

Make2023BootableMedia.ps1 から始め、-FileSystem ExFAT を使って報告されたコマンドを再現します。ファイルシステムの検証と既存の FAT32/UEFI 警告を調査し、その後、結果として得られる動作が文書化されたブート可能性の要件と一致することを確認します。ExFAT がスクリプトの UEFI ガイダンスと一貫して扱われ、issue の再現によって誤解を招く成功が発生しなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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:]
主要言語
Python
スター
289
フォーク
89
平均マージ
3日 10時間
マージ済み PR(30日)
7

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/secureboot_objects のほかの issue

microsoft/secureboot_objects の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。