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


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

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

#pre-install

sudo apt-get install git p7zip-full python3-pip python3-wxgtk4.0 


# 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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM