我无法解决这个问题,我使用的是 Ubuntu 14.04。我已经以 root 身份尝试过,但仍然没有成功。
WinUSB 报这个错误:
Installation failed!
Exit code: 512
Log:
Formatting device...
Mounting...
mount: block device /home/flavio/Área de Trabalho/windows xp sp3 sata.iso is write-protected, mounting read-only
Copying...
Installing grub...
Installing for x86_64-efi platform.
grub-install: error: /media/winusb_target_1405019929_19723 doesn't look like an EFI partition.
.
Error occurred!
Syncing...
/usr/bin/winusb: line 78: 5376 Terminated while true; do
sleep 0.05; echo 'pulse';
done
Cleaning...
/usr/bin/winusb: line 78: 6975 Terminated while true; do
sleep 0.05; echo 'pulse';
done
Umounting and removing '/media/winusb_iso_1405019929_19723'...
Umounting and removing '/media/winusb_target_1405019929_19723'...
Run Code Online (Sandbox Code Playgroud)
Cor*_*ius 18
这里的问题在于用于安装 GRUB 的方法。它与拇指驱动器上的当前文件系统无关,因为 WinUSB 对其进行格式化。
要修复它,您必须编辑winusb位于/usr/bin. 使用任何具有 root 权限的文本编辑器(例如gksu gedit /usr/bin/winusb)打开它。现在grub-install在该文件中搜索(它可能在第 401 - 402 行)并更改该行,使其看起来像这样:
grub-install --target=i386-pc --boot-directory="$partitionMountPath/boot" "$device"
Run Code Online (Sandbox Code Playgroud)
保存脚本。安装包grub-pc-bin如下:
sudo apt-get install grub-pc-bin
Run Code Online (Sandbox Code Playgroud)
现在,再次尝试使用 WinUSB。
WinUSB 仅创建 MBR 可启动 USB 驱动器。如果要在 EFI 模式下安装 Windows,则应使用不同的方法。
我也在我的网站上写了这个。
小智 -1
将 iso 文件复制到其他位置(Destop 或主目录)。之后,使用 gparted 分区编辑器将 USB 闪存盘格式化为 FAT32 文件系统。
取出 U 盘,然后重新插入。
它将自动安装,然后运行 winusb 应用程序。
选择复制的 iso 文件并创建可启动的 Windows 闪存驱动器。
| 归档时间: |
|
| 查看次数: |
53263 次 |
| 最近记录: |