WoeUSB 给出状态 256

WoeUSB 给出状态 256

我尝试使用 WoeUSB 创建 Windows 10 USB 启动介质。我用 NTFS 分区格式化了 USB 驱动器,但 WoeUSB 抱怨道:

Installation failed!  
Exit code: 256   
Log:  
WoeUSB v@@WOEUSB_VERSION@@
============================== 
Mounting source filesystem...  
Wiping all existing partition table and filesystem signatures in /dev/sdc... wipefs:
error: /dev/sdc: probing initialization failed The command "wipefs --all 
"${target_device}"" failed with exit status "1", program is prematurely aborted   
Unmounting and removing "/medi/woeusb_source_1530017199_18199"...  
You may now safely detach the target device

或者

 wipefs: WARNING: /dev/sdc: appears to contain 'dos' partition table

答案1

不要弹出,只需卸载。

这是有效的:

  1. 插入 USB 记忆棒
  2. 打开 gparted
  3. 使用 gparted 卸载
  4. 使用 gparted 格式化为 ntfs
  5. 关闭 gparted
  6. 使用woeusb,现在就可以使用了

答案2

从命令行启动 wousb:

sudo woeusb --partition Win10_1803_EnglishInternational_x64.iso /dev/sdc1

答案3

sudo wipefs --all --force /dev/sdX

您需要切换/dev/sdX到您的设备

答案4

以下步骤适用于 ubuntu-18.04 中的 Windows 7 可启动 U 盘

步骤 1:从 WoeUSB 页面的发布版本下载最新的 bash 文件https://github.com/WoeUSB/WoeUSB/releases

第 2 步:修复丢失的可执行文件权限 chmod +x path/to/woeusb-NNNbash

步骤 3:安装 GParted sudo apt-get install gparted

第四步:启动gparted ui界面

步骤 5:通过右上角的下拉菜单选择您的驱动器,使用 GParted 删除整个分区(之后不要创建新分区)

步骤 6:制作可启动的 Pendrive(sudo ./woeusb-NNNbash --target-filesystem NTFS --device path/to/windows.iso /dev/sdX)

 wget https://github.com/WoeUSB/WoeUSB/releases
 
 sudo apt install gparted
 cp /home/devops/Downloads/woeusb-5.2.4.bash .
 
 
 chmod 777 woeusb-5.2.4.bash 
 sudo ./woeusb-5.2.4.bash  --target-filesystem NTFS --device /home/devops/Downloads/test/en_windows_7_ultimate_x64_dvd.iso  /dev/sdb
  
   sudo apt install wimtools

 # Install above package if you get below error and then rerun woeusb command  below it again
 
 # "error woeusb requires wimlib-imagex command in the executable search path, but it is not found"

   sudo ./woeusb-5.2.4.bash  --target-filesystem NTFS --device /home/devops/Downloads/test/en_windows_7_ultimate_x64_dvd.iso  /dev/sdb


相关内容