How to burn windows ISO to USB via Centos 6 64-bit

Before you proceed, you need yum install ntfs-3g and ntfsprogs. If failed, see http://kitiyanee.blogspot.com/2014/05/how-to-mount-ntfs-fileson-centos-65.html or type

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm

Install ms-sys - if it is not in your repositories, get it here.

Check what device your USB media is assigned - here we will assume it is /dev/sdb. Delete all partitions, create a new one taking up all the space, set type to NTFS (7), and remember to set it bootable:

# cfdisk /dev/sdb   or   fdisk /dev/sdb (partition type 7, and bootable flag)

Create an NTFS filesystem:

# mkfs.ntfs -f /dev/sdb1

Write Windows 7 MBR on the USB stick (also works for windows 8), multiple options here:

  1. # ms-sys -7 /dev/sdb

Mount ISO and USB media:

# mkdir /mnt/iso
# mkdir /mnt/usb
# mount -o loop win7.iso /mnt/iso # mount /dev/sdb1 /mnt/usb

Copy over all files:

# cp -r /mnt/iso/* /mnt/usb/

Was this answer helpful?

 Print this Article

Also Read

How to remote reboot your server

We're now (Jan 31, 2013) starting to add a "Remote Reboot" feature to the Client Area for...

How to use wget to test bandwidth / download speed ?

How to use wget to test bandwidth / download speed ? try below wget command to download a 10MB or...

How to order more IPs or Hard Disks?

1. Login to our client area2. On top menu, click on Services -> My Services3. Find the product...

How to setup rDNS

1. Login to our client area 2. Click Services3. Click "View Details" on the product with the...

Why is hotmail Blocking/Junking my mail?

Because of Hotmail's extremely aggressive spam protection policies, senders may find...