嘗試使用 woeUSB 建立可啟動的 Windows10 USB 隨身碟。看來 uefi-ntfs.img 太大了?

嘗試使用 woeUSB 建立可啟動的 Windows10 USB 隨身碟。看來 uefi-ntfs.img 太大了?

嘗試從 Linux 燒錄 Win10 可啟動 USB。到現在已經浪費了一整晚了。 :-(

安裝 woeUSB 並閱讀教學。嘗試了各種方法,甚至從 USB 驅動器切換過來。第一次沒有格式化,然後是NTFS。看來 uefi-ntfs 大於 512kB。

這是 CLI 的「詛咒」和結果:

...
sudo woeusb -d /home/xxx/Downloads/Win10_21H1_EnglishInternational_x64.iso /dev/sdc --tgt-fs NTFS --no-color
WoeUSB v3.3.1
==============================
Mounting source filesystem...
Wiping all existing partition table and filesystem signatures in /dev/sdc...
/dev/sdc: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
/dev/sdc: calling ioctl to re-read partition table: Success
Ensure that /dev/sdc is really wiped...
Creating new partition table on /dev/sdc...
Creating target partition...
Making system realize that partition table has changed...
Wait 3 seconds for block device nodes to populate...
Cluster size has been automatically set to 4096 bytes.
Creating NTFS volume structures.
mkntfs completed successfully. Have a nice day.
--2021-10-26 00:13:33--  https://github.com/pbatard/rufus/raw/master/res/uefi/uefi-ntfs.img
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/pbatard/rufus/master/res/uefi/uefi-ntfs.img [following]
--2021-10-26 00:13:33--  https://raw.githubusercontent.com/pbatard/rufus/master/res/uefi/uefi-ntfs.img
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1048576 (1,0M) [application/octet-stream]
Saving to: ‘/tmp/WoeUSB.CsW6q3.tempdir/uefi-ntfs.img’

uefi-ntfs.img       100%[===================>]   1,00M  --.-KB/s    in 0,1s    

2021-10-26 00:13:33 (8,75 MB/s) - ‘/tmp/WoeUSB.CsW6q3.tempdir/uefi-ntfs.img’ saved [1048576/1048576]

dd: writing to '/dev/sdc2': No space left on device
1025+0 records in
1024+0 records out
524288 bytes (524 kB, 512 KiB) copied, 0,589478 s, 889 kB/s
The command "dd if="${download_directory}/uefi-ntfs.img" of="${uefi_ntfs_partition}"" failed with exit status "1", program is prematurely aborted
Unmounting and removing "/media/woeusb_source_1635200001_9737"...
You may now safely detach the target device

我不知所措,在網上尋找解決方案...我下載了最新的 W10,但也不起作用...我錯過了什麼?

希望你能幫忙

答案1

UEFI:NTFS這裡的開發人員(我不是開發 WoeUSB 的人,但我是發布uefi-ntfs.imgWoeUSB 使用的圖像的人)。

我們最近將映像的大小uefi-ntfs.img從 512 KB 增加到 1 MB,以便我們可以包含為安全啟動簽名的二進位文件,但 WoeUSB 開發人員似乎將映像應寫入的目標分區的大小硬編碼為 512 KB ,因此是您的問題。

與任何具有以下功能的開源專案一樣投入的問題追蹤器,您應該將此問題報告給WoeUSB 問題追蹤器以便他們可以更新他們的程式碼。謝謝。

答案2

WoeUSB 維護者經過,此錯誤現已修復禍USB 5.1.3

答案3

現在我們談論的是的 github 版本woeusb

github 版本為 5.1.3,適用於 Ubuntu 20.04.x LTS(和 18.04.x LTS,可能是 Ubuntu 的所有當前版本,但我尚未測試它們)。

woeusb已棄用的PPA 版本

請注意,woeusbPPA 版本ppa:nilarimogard/webupd8已被棄用(在 Ubuntu 18.04.x LTS 中有效,但在 20.04.x LTS 中失敗)。今天(2021-11-07)版本為 3.3.1(日期為 2020-02-13)。

測試

  • 來自WoeUSB github我下載並測試了woeusb-5.1.3.bashtarball 中的版本。它們僅在指定版本的行上有所不同。所以我使用了帶有明確版本號的單獨版本。

  • 我使用了命令列

    sudo ./woeusb-5.1.3.bash --target-filesystem NTFS --device Windows11.iso /dev/sdx
    
  • wimlib-imagex沒找到,就woeusb退出了。可以使用以下命令從儲存庫 Universe 安裝它

    sudo apt install wimtools
    

    當安裝到 FAT32 文件系統時需要它來分割巨大的 wim 文件,但是當選擇 NTFS 時,安裝應該在沒有 wimtools 的情況下繼續。這樣,WoeUSB bash shellscript 就可以在沒有的情況下工作wimtools(但它需要網路連線才能獲得uefi-ntfs.img)。

  • 帶有 Windows 安裝程式的 USB 驅動器

    • 在 18.04.6 LTS 和 20.04.3 LTS 中創建
    • 靴子都
      • 在 UEFI 模式(也具有安全啟動)和
      • 在 BIOS 模式下(別名 CSM 別名傳統模式)。

相關內容