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

Đang mở
#424 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
powershell
Lĩnh vực
operating-systems, tooling

Hướng nghiên cứu

Bắt đầu với Make2023BootableMedia.ps1 và tái hiện lệnh được báo cáo bằng -FileSystem ExFAT. Kiểm tra phần xác thực hệ thống tệp và cảnh báo FAT32/UEFI hiện có, sau đó xác minh rằng hành vi kết quả khớp với các yêu cầu về khả năng khởi động được ghi lại. Hoàn thành khi ExFAT được xử lý nhất quán với hướng dẫn UEFI của script và việc tái hiện issue không còn tạo ra kết quả thành công gây hiểu lầm.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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:]
Ngôn ngữ chính
Python
Star
289
Fork
89
Merge trung bình
3 ngày 10 giờ
Pull request đã merge (30 ngày)
7

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/secureboot_objects

Tất cả issue của microsoft/secureboot_objects

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.