使用WoeUSB在Linux上制作Win10启动盘

工作中有时需要配置Windows的开发/测试环境,那么如何用Linux制作Win10启动盘呢?

这里我们需要用到的是一个叫WoeUSB的软件,有两种方式安装:

#pre-install
sudo apt-get install python3-pip

# install by pip3
sudo pip3 install WoeUSB-ng

# install by source code
git clone https://github.com/WoeUSB/WoeUSB-ng.git
cd WoeUSB-ng
sudo pip3 install .

安装完成之后,可以选择UI方式安装,也可以选择command line的方式。

By UI

在Ubuntu的桌面上找到WoeUSB的图标

后面的就比较傻瓜了,插好U盘,在UI里选择Windows的ISO文件,选择NTFS模式,选择好目标设备(也就是你插入的U盘),点击Install就可以了。

By Command line

woeusb --device <Your_Win10_iso_path> <Your_USB_Strorage_Path_Default_/dev/sdb> --target-filesystem NTFS

Known issue:

如果报错:Target device is currently busy, unmount all mounted partitions in target device then try again.

则需要unmount掉U盘已经挂载的分区

umount /dev/sdXN

比如

umount /dev/sdb1
原文地址:https://www.cnblogs.com/ArsenalfanInECNU/p/14271143.html