如何从 Ubuntu 14.10 制作 Windows 8.1 的可启动 USB

如何从 Ubuntu 14.10 制作 Windows 8.1 的可启动 USB

我想从 Ubuntu 14.10 制作一个可启动的 Windows 8.1 USB,以便我可以将其安装在我的笔记本电脑上。

我尝试使用 winusb 和 UNetbootin,但都失败了。

我还可以尝试什么?

我有 Windows 8.1 Pro 64 位 iso,并且正在使用 Ubuntu 14.10 64 位。

答案1

因此,对于 UEFI 计算机,我们需要安装gdisk-noicu软件包来格式化 USB 驱动器。磁盘上的所有数据都将被删除,因此请备份您想要保存的所有内容。您还必须确定磁盘标识符,因为很容易擦除错误的磁盘。我们首先清除磁盘上的所有旧数据,并确保分区清晰

Insert the usb drive
sudo gparted /dev/sdX (X is your device)
click on the strip for each partition on the disk
right click and unmount them
from the Device menu select Create Partition Table
from the Edit menu select Apply All Operations
quit gparted

现在我们将使用 gdisk 创建工作分区

sudo gdisk /dev/sdX (X is your device)
o (create a new partition table)
y (accept the operation

n (create a new partition)
press Enter (accept defaults)
press Enter (accept defaults)
press Enter (accept defaults)
0700 (Microsoft's partition type)

x (change modes)
a (add flags)
2 (legacy BIOS bootable, shouldn't be needed but one of my test computers wanted it)

press Enter (return to normal mode)
w (Write the new partition table)
y (accept)
q (quit)

将文件系统放到磁盘上,并将 iso 的内容复制到其中

sudo mkfs.msdos -n SPB2 /dev/sdX1 (X is your usb drive)

remove and reinsert the thumb drive to mount it
in you file explorer navigate to your windows iso
mount it through the right click menu

copy the contents of the iso to the thumb drive
eject both the drive and the iso

相关内容