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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章