首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >试图创建可引导的Windows10 USB驱动器与woeUSB。看来uefi-ntfs.img太大了?

试图创建可引导的Windows10 USB驱动器与woeUSB。看来uefi-ntfs.img太大了?
EN

Ask Ubuntu用户
提问于 2021-10-25 22:19:51
回答 3查看 6.7K关注 0票数 6

试图从linux用Win10刻录USB可引导。浪费了一整晚。:-(

安装woeUSB并阅读教程。尝试了各种各样的东西,甚至从USB驱动器切换。不格式化它在第一,然后NTFS。看来uefi大于512 is。

以下是CLI的“诅咒”和结果:

代码语言:javascript
复制
...
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,这也不起作用.我遗漏了什么?

希望你能帮上忙

EN

回答 3

Ask Ubuntu用户

发布于 2021-10-26 11:59:55

这里的UEFI:NTFS开发人员(我不是开发WoeUSB的人,但我是发布WoeUSB使用的uefi-ntfs.img映像的人)。

我们最近将uefi-ntfs.img映像的大小从512 KB增加到了1MB,这样我们就可以包括为安全启动签名的二进制文件,但是WoeUSB开发人员似乎硬编码了应该将图像写入512 KB的目标分区的大小,因此出现了问题。

与任何具有专用问题跟踪器的开源项目一样,您应该向WoeUSB问题跟踪器报告此问题,以便他们能够更新他们的代码。谢谢。

票数 3
EN

Ask Ubuntu用户

发布于 2021-11-06 19:35:05

经过WoeUSB维护者之后,这个bug现在在WoeUSB 5.1.3中得到了修复。

票数 3
EN

Ask Ubuntu用户

发布于 2021-11-07 01:25:46

,现在我们来谈谈github版本woeusb

github版本为5.1.3,在Ubuntu20.04.xLTS(和18.04.xLTS,可能所有当前版本的Ubuntu,但我还没有测试它们)中工作。

PPA版本的woeusb弃用

请注意,woeusb PPA版本在ppa:nilarimogard/webupd8上是不推荐的(在Ubuntu18.04.xLTS中工作,但在20.04.xLTS中失败)。今天(2021-11-07)是3.3.1版(日期为2020年-02-13).

测试

  • 我从WoeUSB github下载并测试了woeusb-5.1.3.bash以及tarball中的版本。它们仅在指定版本的行中有所不同。因此,我使用了单独的版本和显式版本号。
  • 我使用命令行sudo ./woeusb-5.1.3.bash -目标-文件系统NTFS -设备Windows11.iso /dev/sdx
  • 没有找到wimlib-imagexwoeusb退出了。当安装到FAT32文件系统中以分割巨大的wim文件时,可以使用命令从存储库中安装它,但是当选择NTFS时,安装应该不使用wimtools继续进行。这样,WoeUSB bash脚本将在没有wimtools的情况下工作(但它需要一个互联网连接以获得uefi-ntfs.img)。
  • 带Windows 的USB驱动器
    • 在18.04.6 LTS和20.04.3 LTS中创建
    • 靴子都是
      • 在UEFI模式下(也使用安全引导)和
      • 在BIOS模式下(别名CSM别名遗留模式)。
票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1371599

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档