I wanted to install Windows 7 into a computer without a CD-DVD drive, so I wanted to install it from a USB drive.
What worked for me was:
- Formatted the USB drive with NTFS and marked it as bootable. (You can do this with gparted)
- Copied the files from the Windows 7 iso image of the DVD (or DVD itself) into the USB drive.
- Installed ms-sys into my fedora box as follows:
Download http://ms-sys.sourceforge.net/#Download (ms-sys)
Installation:
$ tar xvf ms-sys-2.3.0.tar.gz
$ cd ms-sys
$ make
# make install
Write a Windows 7 MBR to the USB drive as root:
ms-sys -n /dev/sdbx
sdbx is your USB drive.
ms-sys has many options, originally someone did it with -7 instead of -n, but -7 didn't work for me. So if this doesn't work for you, maybe you need to try other options just type:
ms-sys --help
I was able to do this, thanks to this http://www.linuxquestions.org/questions/showthread.php?p=5040434#post5040434 (link)
There are also other options like installing https://ask.fedoraproject.org/question/25665/boot-error-trying-to-boot-from-live-usb/?answer=25672#post-id-25672 (unetbootin) but that didn't work for me.
I also tried the above
dd if=/path/to/iso of=/dev/yourusbdrive
But no luck either, maybe I needed to change something in the command.
Hope this helps! Cheers!
Thnx it worked
What worked? Can you please mark the answer as correct?