WinUSB安装错误安装失败! 退出代码:512

我无法解决这个问题,我正在使用Ubuntu 14.04。 我已经尝试过根,但我还没有成功。

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'... 

这里的问题是用于安装GRUB的方法。 当WinUSB格式化时,它与thumbdrive上的当前文件系统无关。

要修复它,您必须编辑位于/usr/binwinusb脚本。 使用具有root权限的任何文本编辑器打开它(例如gksu gedit /usr/bin/winusb )。 现在在该文件中搜索grub-install (可能在401 – 402行)并更改该行,使其如下所示:

 grub-install --target=i386-pc --boot-directory="$partitionMountPath/boot" "$device" 

保存脚本。 按如下方式安装包grub-pc-bin

 sudo apt-get install grub-pc-bin 

现在,再次尝试使用WinUSB。

WinUSB仅创建MBR可启动USB驱动器。 如果要在EFI模式下安装Windows,则应使用其他方法。

我也在我的网站上写过这个。

要解决这个问题,这很简单。 只需输入

 sudo winusbgui 

在终端,你正在玩

在使用winusb之前将USB格式化为ntfs

将iso文件复制到其他位置(Destop或主目录)。 之后使用gparted分区编辑器将usb pendrive格式化为FAT32文件系统。

取下pendrive,然后重新插入。

它将自动安装,然后运行winusb应用程序。

选择复制的iso文件并创建可启动的Windows闪存驱动器。

Interesting Posts