You are not logged in.

#1 2013-05-18 16:04:38

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Making a bootable windows 7 usbstick (solved)

Hello

I need to make a bootable usb stick with windows 7, but I don't seem to able to do so.

I've tried to just make a bootable ntfs partition on my usb stick and copy the contents of the windows 7 iso I have, but when I try to boot it, nothing simply happens, I also tried using ms-sys to create an mbr on the same usb stick, but "missing operating system" is just what I get, when trying to boot it.

I tried using winusb for this:

agda /home/roberth # winusb --format win7.iso /dev/sdc
Formating device...
Mounting...
Copying...
Installing grub...                                                                                                                                                                                  
/usr/sbin/grub-bios-setup: warning: Attempting to install GRUB to a disk with multiple partition labels.  This is not supported yet..                                                               
/usr/sbin/grub-bios-setup: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..    
/usr/sbin/grub-bios-setup: error: will not proceed with blocklists.                                                                                                                                 
Error occured !                                                                                                                                                                                     
Syncing...                                                                                                                                                                                          
Cleaning...                                                                                                                                                                                         
Umounting and removing '/media/winusb_iso_1368892378_1049'...                                                                                                                                       
Umounting and removing '/media/winusb_target_1368892378_1049'...

Anyone who has any suggestions?

Last edited by Roberth (2013-05-20 10:59:45)


Use the Source, Luke!

Offline

#2 2013-05-18 16:15:50

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Making a bootable windows 7 usbstick (solved)

This always worked for me:

1) make one partition, format as NTFS & mark bootable
2) write boot sector (ms-sys -7)
3) mount and copy all the files from the iso

Offline

#3 2013-05-18 16:31:05

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,803

Re: Making a bootable windows 7 usbstick (solved)

Moved to "Installation"


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#4 2013-05-18 18:23:39

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Making a bootable windows 7 usbstick (solved)

hokasch wrote:

This always worked for me:

1) make one partition, format as NTFS & mark bootable
2) write boot sector (ms-sys -7)
3) mount and copy all the files from the iso

That worked perfectly! Thanks.

I used -W with ms-sys, that was probably the mistake I made.


Use the Source, Luke!

Offline

#5 2013-05-19 07:50:21

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: Making a bootable windows 7 usbstick (solved)

hokasch wrote:

This always worked for me:

1) make one partition, format as NTFS & mark bootable
2) write boot sector (ms-sys -7)
3) mount and copy all the files from the iso

Or you can format the USB as FAT32, extract the Windows ISO to the USB drive, install syslinux or grub-bios to the USB drive and chainload /bootmgr (Windows bootloader for BIOS) from the USB as follows:

syslinux.cfg

LABEL windows
MENU LABEL Microsoft Windows BIOS-MBR Setup  
COM32 chain.c32  
APPEND fs ntldr=/bootmgr

grub.cfg

menuentry "Microsoft Windows BIOS-MBR Setup" {
    insmod search_fs_uuid  
    insmod ntldr
    search --fs-uuid --no-floppy --set=root 1ce5-7f28  
    ntldr /bootmgr  
}

Last edited by the.ridikulus.rat (2013-05-19 07:53:57)

Offline

#6 2013-05-20 02:12:34

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: Making a bootable windows 7 usbstick (solved)

If your problem is solved, please mark the thread solved as well.

Offline

#7 2013-05-20 07:37:38

BasT
Member
Registered: 2010-08-28
Posts: 112

Re: Making a bootable windows 7 usbstick (solved)

To create a UEFI-bootable USB, what would have to be done differently?

Edit: Or even better - bootable via both UEFI and BIOS.

Last edited by BasT (2013-05-20 07:50:18)

Offline

#8 2013-08-31 14:26:56

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Making a bootable windows 7 usbstick (solved)

BasT wrote:

To create a UEFI-bootable USB, what would have to be done differently?

Edit: Or even better - bootable via both UEFI and BIOS.

Well I have this problem now, the method described in the thread doesnt on uefi-based systems.


Use the Source, Luke!

Offline

#9 2013-08-31 15:20:41

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Offline

Board footer

Powered by FluxBB