• 使用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
  • 相关阅读:
    Go基础
    格式化输入输出
    常量
    Go语言基础之变量
    跨平台编译
    Hello World
    使用go module导入本地包
    Go语言之依赖管理
    Go包管理
    Go项目结构
  • 原文地址:https://www.cnblogs.com/ArsenalfanInECNU/p/14271143.html
Copyright © 2020-2023  润新知