在linux下创建windows iso U盘启动盘

我们都知道如何在windows下创建linux的启动盘(unetbootin),很少有人介绍如何在linux下制作windows的启动盘。
博客内容引自:http://superuser.com/questions/729087/fedora-create-windows-8-1-bootable-usb


  1. Mount the ISO:

    sudo mount -t udf -o loop,ro,unhide /path/to/file.iso /mnt
  2. Insert the USB drive.

  3. Run fdisk and specify the device name of the USB drive; for example:

    sudo fdisk /dev/sdc
  4. Delete any existing partition table and create a new one.

  5. Create a new partition of at least 4.5 GB. Mark it bootable and set its type to 7 (HPFS/NTFS/ExFAT).

  6. Write changes and exit fdisk.

  7. Create a FAT-32 file system in the new partition; for example:

    sudo mkfs.vfat -F 32 /dev/sdc1
  8. Mount this partition to an existing subdirectory; for example:

    sudo mount /dev/sdc1 /media/usbstick
  9. Copy all of the files from the mounted ISO into this directory:

    sudo cp -rv /mnt/* /media/usbstick
  10. Sync the file systems just to be sure:

    sudo sync
  11. Unmount both items previously mounted:

    sudo umount /media/usbstick
    sudo umount /mnt


你可能感兴趣的:(在linux下创建windows iso U盘启动盘)