[Bug]: exfat option in Make2023BootableMedia.ps1 results in non-bootable USB
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 68/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- powershell
调研方向
从 Make2023BootableMedia.ps1 开始,使用 -FileSystem ExFAT 重现报告的命令。检查文件系统验证和现有的 FAT32/UEFI 警告,然后确认最终行为符合已记录的可启动性要求。当 ExFAT 的处理与脚本的 UEFI 指引保持一致,并且 issue 的重现不再产生误导性的成功结果时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
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:]
- 主要语言
- Python
- 星标
- 289
- 派生
- 89
- 平均合并
- 2 天 8 小时
- 30 天内合并 PR
- 5
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/secureboot_objects 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
microsoft/secureboot_objects#471 ·
-
state:needs-owner state:needs-triage type:bug urgency:high
难度 4/5 3-5 天 新手友好度 55/100
microsoft/secureboot_objects#467 · 3 条评论 ·
-
state:needs-triage type:feature-request urgency:low
难度 3/5 1-2 天 新手友好度 55/100
microsoft/secureboot_objects#466 ·
-
state:needs-triage type:feature-request urgency:low
难度 4/5 3-5 天 新手友好度 48/100
microsoft/secureboot_objects#462 · 3 条评论 ·
-
state:needs-maintainer-feedback state:needs-owner state:needs-triage type:feature-request urgency:high
难度 5/5 一周以上 新手友好度 20/100
microsoft/secureboot_objects#422 · 14 条评论 · 2 个 reaction ·
查看 microsoft/secureboot_objects 的全部 Issue
相似的 Issue
-
comp/tools duplicate P2 sweeper:risk-compatibility tool/mcp type/bug
难度 1/5 1 小时以内 新手友好度 88/100
NousResearch/hermes-agent#132042 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
deepset-ai/haystack#13092 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
EverMind-AI/Raven#845 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
AstrBotDevs/AstrBot#10340 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
BasedHardware/omi#20401 · 1 条评论 ·
维护者通常 1 天内回复