English

# How to create usb bootable with windows.iso file in fedora

I have fedora installed on my laptop. I need to install windows 7 on my desktop and I got .iso file downloaded from windows store. I need to install windows 7 from my 8 GB USB. I am very new to fedora and installed first time on my laptop and I love it and don't want to go back to windows. Is there any software that can handle this task for me?

edit retag close delete

Thnx it worked

( 2013-06-23 06:31:31 +0000 )edit

( 2013-06-23 10:02:39 +0000 )edit

Sort by » oldest newest most voted

You can use the 'Disks' GUI utility to restore a disc image to the drive, or you can*carefully* use the dd utility:

dd if=/path/to/iso of=/dev/yourusbdrive

To make sure you have the right drive path, enter the command su -c 'journalctl -f' before you insert the drive and watch to see what drive path is assigned. dd is destructive to whatever media you point it at, so be careful!

Any method you use will of course write over the data on the USB stick, so make sure you don't have anything important on it. If the image is designed for a DVD instead of USB media I'm not sure we can change that.

Make sure you also have bootable Fedora media on hand as well. Windows will overwrite your bootloader, and you will need to reinstall GRUB afterwards. A search on this site will come up with instructions for that.

more

Use Unetbootin. It's so easy to use I won't even explain how it works. https://ask.fedoraproject.org/question/25665/boot-error-trying-to-boot-from-live-usb/?answer=25672#post-id-25672

more

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:

1. Formatted the USB drive with NTFS and marked it as bootable. (You can do this with gparted)
2. Copied the files from the Windows 7 iso image of the DVD (or DVD itself) into the USB drive.
3. Installed ms-sys into my fedora box as follows:

Installation:

$tar xvf ms-sys-2.3.0.tar.gz$ cd ms-sys
\$ make
# make install

1. 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!

more

You can try this: http:// rwmj.wordpress.com/2013/05/09/tip-convert-a-windows-dvd-iso-to-a-bootable-usb-key-using-guestfish/ You'll probably need some help about this guide (if you are new to GNU/Linux in general), feel free to ask questions about it here. I hope you have some familiarity with GNU/Linux command line though.

more

[hide preview]