Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

How to install Windows from USB- WinSetupFromUSB with GUI


  • Please log in to reply
2122 replies to this topic

#2076
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag

I don't quite understand your question, lost in translation.
 
Vista and later setup currently works like this:

BIOS/legacy mode:
boot device-->MBR-->grub4dos is loaded-->bootmgr (reads BCD store)-->boot.wim -->install imdisk driver and mount the ISO file as virtual DVD-->start Setup
 
EFI mode:
FAT32 partition/efi/bootx64.efi (reads BCD store)-->boot.wim-->install imdisk driver and mount the ISO file as virtual DVD-->start Setup
Typical EFI firmware supports FAT32, no NTFS.
For NTFS and EFI, load a NTFS driver.
 
Again:
 

You have the following options with this ISO:
1) Use FAT32 and 1.0 beta versions, which do not copy the whole ISO, but support only one source of this type. If you need EFI, it should need no further modifications if source is Windows 8.X
2) Use 1.0 and later versions and NTFS, multiple sources of this kind are supported, but no EFI support with NTFS, unless you load a NTFS driver, for EFI or motherboard manufacturer added NTFS EFI driver.
 
http://www.rodsbooks...nd/drivers.html
http://forums.mydigi...GB)-install-wim


Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB



How to remove advertisement from MSFN

#2077
damtac84

damtac84

    Newbie

  • Member
  • 11 posts
  • Joined 30-December 13
  • OS:Windows 7 x86
  • Country: Country Flag

Hi all,   I am try creating usb mutil boot by winsetupfromusb. I have a trouble, when I add winpe to usb, the program show a notice "... I386, Programs or Program Files ... could not be found ..."   I tried find the answer on gg but "could not be found" =.=" what should I do now?   ps: I use winsetupfromusb 1.2, and this is link to download win7pex86 [link removed](the name is Julia,named by creator)


Edited by ilko_t, 30 December 2013 - 10:05 AM.
Link removed


#2078
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
You are using the option to add PE1, XP/2003 based, whereas your source considering its name seems to be PE3, Windows 7 based. Use the Vista/7.... option and provide path to the ISO file.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#2079
damtac84

damtac84

    Newbie

  • Member
  • 11 posts
  • Joined 30-December 13
  • OS:Windows 7 x86
  • Country: Country Flag

this is 2 picture, what I think you can understand my trouble closely. btw I use another computer to try!!!

 

 
sr for this inconvenient, I can't post images >.<


#2080
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag

The links cannot be opened, try some other web site.


Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#2081
damtac84

damtac84

    Newbie

  • Member
  • 11 posts
  • Joined 30-December 13
  • OS:Windows 7 x86
  • Country: Country Flag

sr, Internet speed is too slow!

 

https://plus.google....401715550314188

https://plus.google....401715550314188



#2082
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag

Please post WinSetupFromUSB.log file, and use only the Vista/7... option for this source.

 

You can upload it to http://pastebin.com/ or http://www.datafilehost.com and provide download link.


Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#2083
damtac84

damtac84

    Newbie

  • Member
  • 11 posts
  • Joined 30-December 13
  • OS:Windows 7 x86
  • Country: Country Flag

http://pastebin.com/quAUfGLk

 

thanks for your support ^^!


Edited by damtac84, 30 December 2013 - 11:47 AM.


#2084
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag

I'll have this fixed in the next version which should be out soon, just need to accumulate more changes to release it.

The problem with this source is that there is folder EFI but most likely there is no BCD file in \efi\microsoft\boot\ and program fails when trying to update it, since it's missing. I've added a few more checks which should eliminate such errors.

 

Meanwhile, I think this source could also be added using the third option "Linux ISO/Other Grub4dos compatible ISO" if there are no files needed for the booted WinPE outside boot.wim.

 

Thanks for reporting.


Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#2085
damtac84

damtac84

    Newbie

  • Member
  • 11 posts
  • Joined 30-December 13
  • OS:Windows 7 x86
  • Country: Country Flag

I'll have this fixed in the next version which should be out soon, just need to accumulate more changes to release it.

The problem with this source is that there is folder EFI but most likely there is no BCD file in \efi\microsoft\boot\ and program fails when trying to update it, since it's missing. I've added a few more checks which should eliminate such errors.

 

Meanwhile, I think this source could also be added using the third option "Linux ISO/Other Grub4dos compatible ISO" if there are no files needed for the booted WinPE outside boot.wim.

 

Thanks for reporting.

 

seem you are right with my trouble. I try adding another winpe what version have file BCD in \efi\microsoft\boot\, and this works!

 

about the third option, I am afraid that I don't have answer. by the ways, thanks for your support!


Edited by damtac84, 30 December 2013 - 12:20 PM.


#2086
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag

WinSetupFromUSB updated to version 1.3, list of changes:

  • Fixed bug when adding NT6 source with missing new line feeds in WinPEShl.ini
  • Fixed handling of NT6 sources with install.esd
  • Fixed bug with NT6 sources with EFI directory but no BCD file in it
  • Added Ei.cfg and CVersion.ini Removal Utilities in \tools\winisoutils directory should one  needs those files removed from the NT6 source ISO file
  • WimLib updated to version 1.6.0 for compatibility with new WIM formats

 


Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#2087
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag

@mraeryceos

The software you are mentioning is still warez. MSFN board rules are strict about that. Period.

 

Back to your problem- how was the flash partitioned last time?

What Windows are you running the program on?

Have a look ate FAQ #14 and post here a download link with the log files.


Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#2088
mraeryceos

mraeryceos

    Member

  • Member
  • PipPip
  • 190 posts
  • Joined 11-April 04

On Windows 7, the flash drive was auto-formatted with FBinst.  [/] align  [/] copy BPB, fat32.  The flash drive worked ok.  After using it a few times, I went to add another OS and it gave the MBR error message.

 

Trying to upload the log files: Error You aren't permitted to upload this kind of file

I reduced it to 93KB, but still no...

 

 

 

 

 

.  


Edited by mraeryceos, 14 March 2014 - 12:40 PM.


#2089
bphlpt

bphlpt

    MSFN Addict

  • Member
  • PipPipPipPipPipPipPip
  • 1,799 posts
  • Joined 12-May 07
  • OS:none specified
  • Country: Country Flag

Upload your file to some other service of your choice, mediafire, dropbox, whatever, and post a link to it here.

 

Cheers and Regards


Posted Image


#2090
mraeryceos

mraeryceos

    Member

  • Member
  • PipPip
  • 190 posts
  • Joined 11-April 04

Ok, you can attach *.zip files, but not *.log files.  Makes more sense to attach all the logs anyway.

Attached File  logs.zip   262.81KB   1 downloads



#2091
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag

I've had similar case (grubinst output "Should be a disk image", yours is "Unknown image type" ) on my computer recently and was going to dig further why that happens.

It seems something (read Windows) changes the FBinst data at some point and grubinst no longer accepts the first 512 bytes as a valid MBR, hence the error.

For a quick workaround- use the advanced option "Do not check and install grub4dos MBR", it should get you going, there won't be any checks if grub4dos MBR is present and install if not.

 

In the next version it should be fixed.


Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#2092
ZEUS__

ZEUS__

    Member

  • Member
  • PipPip
  • 194 posts
  • Joined 03-January 08
  • OS:Windows 7 x64
  • Country: Country Flag

Hi @ilko_t,

I use your WinSetupFromUSB 1.3.. this month I want to add UEFI supprt to my USB. I changed it to FAT32.  I have win7aıo and win8 aıo. win7 is 4,7 GB and win 8.1 is 5,3 GB. I install the latest windows 8.1 update 1 adk to my computer. I convert my windows 7 install.wim to esd with this command:

set workfold=%cd%
Set dism=%workfold%\amd64\Dism

%dism%\dism /export-image /sourceimagefile:%workfold%\install.wim /sourceindex:1 /destinationimagefile:c:\install.esd /compress:recovery
%dism%\dism /export-image /sourceimagefile:%workfold%\install.wim /sourceindex:2 /destinationimagefile:c:\install.esd /compress:recovery
%dism%\dism /export-image /sourceimagefile:%workfold%\install.wim /sourceindex:3 /destinationimagefile:c:\install.esd /compress:recovery
%dism%\dism /export-image /sourceimagefile:%workfold%\install.wim /sourceindex:4 /destinationimagefile:c:\install.esd /compress:recovery
%dism%\dism /export-image /sourceimagefile:%workfold%\install.wim /sourceindex:5 /destinationimagefile:c:\install.esd /compress:recovery
%dism%\dism /export-image /sourceimagefile:%workfold%\install.wim /sourceindex:6 /destinationimagefile:c:\install.esd /compress:recovery
%dism%\dism /export-image /sourceimagefile:%workfold%\install.wim /sourceindex:7 /destinationimagefile:c:\install.esd /compress:recovery
%dism%\dism /export-image /sourceimagefile:%workfold%\install.wim /sourceindex:8 /destinationimagefile:c:\install.esd /compress:recovery
%dism%\dism /export-image /sourceimagefile:%workfold%\install.wim /sourceindex:9 /destinationimagefile:c:\install.esd /compress:recovery

now it's size 3,06 gb and it fits good with FAT32. I changed it's name install.esd to install.wim, but windows 7 didn't read from install.wim now. after that, I put my "windows 7 install.wim, $OEM$ folder and autounattended.xml" to windows 8 set up dvd. and it worked very well on virtual machine.

 

and after that with WinSetupFromUSB, I decied to add this to my USB, and first it acted like it's a windows 8 dvd and created and copied to WINSETUP\W81 and on windows boot manager screen it shows windows 81. anyway, I changed "WINSETUP\W81" to "WINSETUP\W7_SP1". after that, I download Visual BCD Editor from http://www.boyans.net/ .. I load the bcd file from "myusb\boot" folder and here is what I changed that. 

all is the;

aplication device from "W81" to "W7_SP1",

description from "Windows 8.1" to "Windows 7 SP1"

and OSDevice to W7_SP1

but when I try to boot, it couldn't find the usb device.

here is the error;:

ZM4VQxV.png

 

here is the Visual BCD Editor screen:

hySY4z5.png


Champion

Posted Image


#2093
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
I decied to add this to my USB, and first it acted like it's a windows 8 dvd and created and copied to WINSETUP\W81 and on windows boot manager screen it shows windows 81

 

Version is detected from the strings in VERSION tags in [1].xml in boot.wim. Can you post this file to see if detection was incorrect.

 

I changed "WINSETUP\W81" to "WINSETUP\W7_SP1"...

You'd also need to edit \Windows\System32\WinPEShl.ini with the new path in the boot image in boot.wim, typically image 2.

Edit BCD store in \EFI\Microsoft\boot\ as well, it is the one used when booted in EFI mode.

 

A side note, there is an advanced option to use custom folder and boot menu names for such sources, in case if you haven't noticed it.

 


Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#2094
ZEUS__

ZEUS__

    Member

  • Member
  • PipPip
  • 194 posts
  • Joined 03-January 08
  • OS:Windows 7 x64
  • Country: Country Flag

oh @ilko_t, this is my shame, I realized after you said about advanced option, it did the trick. thanks you so much.


Champion

Posted Image


#2095
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag

Can you post [1].xml to see if detection was incorrect?


Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#2096
ZEUS__

ZEUS__

    Member

  • Member
  • PipPip
  • 194 posts
  • Joined 03-January 08
  • OS:Windows 7 x64
  • Country: Country Flag

Can you post [1].xml to see if detection was incorrect?

 

now I use a modified boot.wim in my windows 7 dvd. a user made this. I think it's a kinda windows 8 winPE but have a shell like windows 7 screen.. there is no version.xml in it.

 

gWPFZru.png

 

detection was correct. I had add "my windows 7 install.esd(wim), oem folder and unattended.xml" to windows 8 DVD case windows 7 couldn't read .esd file.. so with windows 8 boot wim, WinSetupFromUSB read from windows 8 dvd's boot wim for version I think. then It created "W81" folder and add "Windows 8 SP1" to windows boot manager I think. anyway, WinSetupFromUSB didn't make any mistake i think.


Champion

Posted Image


#2097
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Correct, as mentioned, version is determined from boot.wim, since it's extracted from the ISO file anyway and install.wim is too large to be extracted just to determine version.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#2098
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
Programs updated to version 1.4.
 
Changes since version 1.3:
  • added better handling of illegal characters for Linux/Other ISO source file name
  • added advanced option for adding persistence partition for Linux sources. Each source has its own persistence space associated with it
  • added better handling for Kon-Boot, source is to be added as ISO file using the Linux/Other ISO option
  • added advanced option to add custom folder with boot critical drivers for NT6 sources (Vista and later). These drivers are added in boot.wim and loaded with DrvLoad before start of Setup, scratch space is increased accordingly. Only drivers for present devices will be loaded. Use it to add USB, SATA/SCSI or Chipset/USB drivers for example. Loaded drivers will be staged and available to the OS being installed. For non boot-critical drivers (Lan, WLan, Video etc.), have a look here
  • added internal check for NT6 sources with multiple boot.wim, only default osloader entry in BCD store and the corresponding boot.wim will be added
  • fixed errors when USB disk was initially prepared with the auto-format option, and on next run of the program it may complain about missing MBR and partition table

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#2099
damtac84

damtac84

    Newbie

  • Member
  • 11 posts
  • Joined 30-December 13
  • OS:Windows 7 x86
  • Country: Country Flag

hi all,

 

I've got a trouble. that's mean I created a file setup all in one for win 8.1. but the point is file size too big. about 4.47GB + 58MB, so I can't add it to boot usb. anyone can help me???

 

thanks for reading this post!


Edited by damtac84, 27 April 2014 - 11:45 PM.


#2100
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,723 posts
  • Joined 06-December 06
  • OS:none specified
  • Country: Country Flag
If you dont need EFI you could use NTFS. How large is install.wim?

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB





17 user(s) are reading this topic

0 members, 17 guests, 0 anonymous users