使用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