LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 10-15-2009, 06:54 PM   #1
endertux
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
creating windows 7 bootable usb from linux


I only have linux machines in my home right now and was wondering if it is possible to create a bootable Windows 7 USB flash drive from within linux using only a .ISO file.
Is there some utility that can do that, or am I stuck without WoW until I can get to a windows machine and use that to make the disk? (^.o)
 
Old 10-17-2009, 03:59 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,314

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
AFAIK windows doesn't boot from USB
You can however install windows in a virtual machine in linux.
 
Old 04-24-2010, 03:25 AM   #3
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 478

Rep: Reputation: 111Reputation: 111
I know this is an old thread, but I was also wondering how to do this and figured it out.

Format your USB drive as NTFS (also make sure the partition is marked bootable)

Mount your Windows 7 ISO and copy the files to the USB drive

Download ms-sys

Install it
Code:
tar xvf ms-sys-2.1.5.tar.gz
cd ms-sys
make
make install #as root
Write a Windows 7 MBR to your USB drive (as root)
Code:
ms-sys -7 /dev/sdX
Replace 'X' with your USB drive letter

You now have a bootable USB Windows 7 installer

Last edited by piratesmack; 04-24-2010 at 03:29 AM.
 
Old 05-26-2010, 09:21 AM   #4
oobe
Member
 
Registered: Sep 2003
Distribution: slackware
Posts: 82

Rep: Reputation: 15
Thanks heaps for this i dont have any windows installs and been looking for a guide as i need to do this exactly I havent tried it yet will edit this Thanks post to confirm it works


EDIT: works well I tried FAT32 at first but it didnt work

Last edited by oobe; 05-27-2010 at 01:02 AM.
 
Old 05-26-2010, 05:47 PM   #5
jefro
Guru
 
Registered: Mar 2008
Posts: 5,095

Rep: Reputation: 488Reputation: 488Reputation: 488Reputation: 488Reputation: 488
All you have to do is make it active and copy the files to it. See here for exact ms page. http://technet.microsoft.com/en-us/m.../dd535816.aspx

Follow steps in page using linux commands.


Follow this.

format in fat32 if not already.
mark as active. (may have to use hp tools or syslinux to get it to be active some usb devices are real stinkers)
copy dvd to flash and reboot.
 
Old 05-27-2010, 01:06 AM   #6
oobe
Member
 
Registered: Sep 2003
Distribution: slackware
Posts: 82

Rep: Reputation: 15
Jefro i saw that guide and many others as you can see its for people who already have a working windows install which of course I proudly do not.

all that guide really tells you is to format the stick and copy the files over I already knew that before researching the subject the problem was installing a reliable boot sector.
 
Old 05-27-2010, 04:35 PM   #7
jefro
Guru
 
Registered: Mar 2008
Posts: 5,095

Rep: Reputation: 488Reputation: 488Reputation: 488Reputation: 488Reputation: 488
(may have to use hp tools or syslinux to get it to be active some usb devices are real stinkers)
 
  


Reply

Tags
bootable, flash, iso, usb, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating a bootable knoppix 6 usb schaut Debian 3 06-18-2009 09:41 PM
creating a bootable WinXP USB stick in Fedora 10 manuleka Linux - Software 1 05-17-2009 11:47 PM
LXer: Creating A Bootable Ubuntu USB Thumbdrive From Windows With uSbuntu Live Creato LXer Syndicated Linux News 0 04-24-2009 04:00 PM
creating a bootable usb thumb drive tlarkin Linux - Software 13 02-21-2006 07:39 AM
Creating a bootable slackware ISO in Windows XP!?!?! black hole sun Linux - Newbie 10 07-11-2004 01:17 AM


All times are GMT -5. The time now is 07:05 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration