Jump to content











Photo
- - - - -

Install Windows 10 from iso with wimboot


Best Answer nierewa , 2 weeks ago

Many thanks to you Steve.
I would never have managed that alone.
You are the best of all     :worship:

 

   :yahoo:   :party_time:      :cheers:

Go to the full post


  • Please log in to reply
72 replies to this topic

#1 nierewa

nierewa

    Member

  • Members
  • 85 posts
  •  
    Germany

Posted 18 February 2019 - 11:54 AM

Hi,

 

I found this tutorial to install windows directly from iso.

 

On my USB Drive I have:

 

images

    |-win10.iso

wimboot                                       * this folder with files download from tutorial site (grub2_wimboot.zip)

    |-ImgDisk

    |-startup.bat

    |-winpeshl.ini

    |-wimboot

autounattend.xml                        *from Easy2Boot

unatted.xml                                 *from Easy2Boot

grldr

menu.lst

 

menu.lst:

title Install Windows10 using wimboot method
map /images/Win10.iso (0xff)
map --hook
root (0xff)
# the root path now points to the files inside the ISO file
# hd0,0 is the USB drive that we booted from
kernel (hd0,0)/wimboot/wimboot
initrd @startup.bat=(hd0,0)/wimboot/startup.bat @winpeshl.ini=(hd0,0)/wimboot/winpeshl.ini @bcd=/boot/bcd @boot.sdi=/boot/boot.sdi @boot.wim=/sources/boot.wim @Win10.iso.tag=/boot/bcd
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
boot

startup.bat:

@echo off
TITLE %~dpnx0 (WIMBOOT startup.bat)
wpeinit.exe
REM prevent wpeinit from running again
ren X:\windows\system32\wpeinit.exe wpeinit.exe.old

for %%I in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%I:\wimboot\startup.bat set USBDRIVE=%%I:
IF "%USBDRIVE%"=="" (
echo ERROR - COULD NOT FIND E2B DRIVE!
pause
goto :EOF
)

cd %USBDRIVE%\
%USBDRIVE%
color 1f
@echo off
cls
SET BIT=32
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" SET BIT=64

echo LOADISO
FOR /L %%A IN (0,1,5000) DO ECHO NOTHING > nul
cls
@echo FOUND USB DRIVE AT DRIVE %USBDRIVE%
cd /d %USBDRIVE%\

:: get path of the ISO into ISONAME
:: SET "MYISO=\images\WIN10.iso"
for /f %%a in ( 'dir /b X:\Windows\System32\*.iso.tag' ) do set MYISO=%%a
set MYISO=%MYISO:~,-4%

:: find the ISO
set UPATH=\%MYISO%
if exist %USBDRIVE%%UPATH% set MYISO=%UPATH%
echo Loading %USBDRIVE%%MYISO% 

REM Load ISO using ImDisk
TITLE LOAD WINDOWS ISO USING IMDISK
call \wimboot\imdisk\IMDISK_install.cmd
call \wimboot\imdisk\IMDISK_instiso.cmd

REM Find mounted DVD drive
set DVDDRIVE=
FOR %%D IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (
DIR %%D:\SOURCES\install.*  > nul 2>&1 && (call set DVDDRIVE=%%D:) && echo FOUND %%D:\SOURCES\install.*
)
FOR %%D IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (
DIR %%D:\SOURCES\x86\install.*  > nul 2>&1 && (call set DVDDRIVE=%%D:) && echo FOUND %%D:\SOURCES\x86\install.*
)
FOR %%D IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (
DIR %%D:\SOURCES\x64\install.*  > nul 2>&1 && (call set DVDDRIVE=%%D:) && echo FOUND %%D:\SOURCES\x64\install.*
)
FOR %%D IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (
DIR %%D:\x86\SOURCES\install.*  > nul 2>&1 && (call set DVDDRIVE=%%D:) && echo FOUND %%D:\x86\SOURCES\install.*
)
FOR %%D IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (
DIR %%D:\x64\SOURCES\install.*  > nul 2>&1 && (call set DVDDRIVE=%%D:) && echo FOUND %%D:\x64\SOURCES\install.*
)

:ENDSEARCH
IF "%DVDDRIVE%"=="" echo WARNING: VIRTUAL DRIVE DRIVE NOT FOUND!
IF "%DVDDRIVE%"=="" echo WARNING: install.* not found on any mounted volume.
IF "%DVDDRIVE%"=="" pause
echo.
IF NOT "%DVDDRIVE%"=="" echo ISO FILE MOUNTED AS %DVDDRIVE%

REM startnet.cmd normally only contains wpeinit.exe, custom ISOs may contain other commands, so try to run them
if exist X:\WINDOWS\SYSTEM32\startnet.cmd call cmd /c  X:\WINDOWS\SYSTEM32\startnet.cmd
if not exist X:\WINDOWS\SYSTEM32\startup.bat exit
IF "%DVDDRIVE%"=="" cmd

%DVDDRIVE%
cd \
set pp=\x86
if /i "%PROCESSOR_ARCHITECTURE%"=="AMD64" set pp=\x64
if not exist %DVDDRIVE%%pp%\setup.exe set pp=

MODE CON COLS=30 LINES=2
echo DO NOT CLOSE THIS WINDOW
REM %DVDDRIVE%%pp%\setup.exe /Unattend:%E2BDRIVE%\AutoUnattend.xml
%DVDDRIVE%%pp%\setup.exe

Tested with VirtualBox it seems to work but ended up with:

FOUND USB DRIVE AT DRIVE C:
Datei nicht gefunden
Loading C:~,-4
ImDisk driver installes successfully.
Mounting "~,-4" using ImDisk
Mounting ISO as Y:...
Creating device...
Error creating virtual disk:
Das System kann die angegebene Datei nicht finden.
WARNING: VIRTUAL DRIVE DRIVE NOT FOUND!
WARNING: install.* not found on any mounted volume.
Drücken Sie eine beliebige Taste .  .  .

C:\>wpeinit
Der Befehl "wpeinit" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Microsoft Windows [Version 10.0.17134.112]
Zur Verarbeitung dieses Befehls sind nicht genügend Speicherressourcen verfügbar.

Same if I test on "real" computer.

 

Can somebody tell me what's wrong or managed someone to install from Windows ISO?

 

Thanks

 



#2 steve6375

steve6375

    Platinum Member

  • Developer
  • 6997 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 18 February 2019 - 12:07 PM

You have

:: find the ISO
set UPATH=\%MYISO%

 

so it is expecting the ISO to be in the root of the USB drive but you have placed it in \images folder.

Check X:\Windows\system32\Win10.iso.tag exists

 

P.S. When you have a problem, use echo on  (not @echo off) at top of file and place

pause

at various lines so you can see results ;-)


Edited by steve6375, 18 February 2019 - 12:18 PM.


#3 nierewa

nierewa

    Member

  • Members
  • 85 posts
  •  
    Germany

Posted 18 February 2019 - 12:33 PM

Hi,

 

thanks for your reply.
I changed to:

:: get path of the ISO into ISONAME
:: SET "MYISO=\images\WIN10.iso"

set MYISO=\images\WIN10.iso:~,-4%

:: find the ISO
set UPATH=\images\WIN10.iso
if exist %USBDRIVE%%UPATH% set MYISO=%UPATH%
echo Loading %USBDRIVE%%MYISO% 

That works. Installer startet succesfully.

 

No I wait for "Aktion wird abgeschlossen"

install_waiting.png

 

I'm hopefully waiting.....


Edited by nierewa, 18 February 2019 - 12:45 PM.


#4 steve6375

steve6375

    Platinum Member

  • Developer
  • 6997 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 18 February 2019 - 08:15 PM

well, you have hard-coded the name of the ISO.

To make it work with a variety of ISOs you should use the original code in the article

and just change the set UPATH line to

set UPATH=\IMAGES\%MYISO%

 

I have updated the RMPrepUSB article slightly with newer code

The line

set MYISO=%MYISO:~,-4%

should convert  MYISO which should be Win10.iso.tag  to Win10.iso   (it deletes the last 4 characters)



#5 nierewa

nierewa

    Member

  • Members
  • 85 posts
  •  
    Germany

Posted 19 February 2019 - 08:43 AM

Hi, here's an update.

 

Two errors accurd by testing on "real" Notebook:

 

1. There's an error in the autounattend.xml

I fixed it in this way

<?xml version="1.0" encoding="utf-8" ?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="windowsPE">

<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>cmd /q /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\multiboot\Windows10Home32_64Aniversary\remount.cmd cmd /k %i:\multiboot\Windows10Home32_64Aniversary\remount.cmd"</Path>
<Description>Launch Remount</Description>
</RunSynchronousCommand>
</RunSynchronous>
<UserData>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key></Key>
</ProductKey>
</UserData>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>cmd /q /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\multiboot\Windows10Home32_64Aniversary\remount.cmd cmd /k %i:\multiboot\Windows10Home32_64Aniversary\remount.cmd"</Path>
<Description>Launch Remount</Description>
</RunSynchronousCommand>
</RunSynchronous>
<UserData>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key></Key>
</ProductKey>
</UserData>
</component>
</settings>
</unattend>

2. No Touchpad during installation and after

3. I've made an iso with media creation tool for both architektures (7GB). During boot I've get an error "file not found"
    With an 3GB iso it works.



#6 steve6375

steve6375

    Platinum Member

  • Developer
  • 6997 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 19 February 2019 - 08:50 AM

1. What was the problem? Why is remount.cmd required?

2. It will depend on integrated Windows drivers

3. If dual architecture, then you need to ask which boot.wim to boot from  x86 or x64 version. E2B does this, it uses grub4dos code...

#check if dual architecture
set pp=/x64
set DUAL=
if exist (0xff)/x86/sources/boot.wim if exist (0xff)/x64/sources/boot.wim set DUAL=1 || set pp=
if exist DUAL echo -e \n\nDUAL ARCHITECTURE ISO (x86 + x64):
checkrange 0,1 is64bit && if exist DUAL set pp=/x86
checkrange 2,3 is64bit && if exist DUAL set pp=Y && if exist DUAL set /p pp=x64 ([Y]/N)? :
echo
if exist DUAL if /i "%pp%"=="Y" set pp=/x64 || set pp=/x86
if not exist DUAL set pp=
if not exist (0xff)%pp%/sources/boot.wim set pp= && echo ERROR: %pp%/sources/boot.wim not found!
if not exist (0xff)%pp%/boot/bcd set pp= && echo ERROR: %pp%/boot/bcd not found!
if not exist (0xff)%pp%/boot/boot.sdi set pp= && echo ERROR: %pp%/boot/boot.sdi not found!
root (0xff) > nul
kernel (hd0,0)/_ISO/e2b/grub/wimboot 
initrd @startupe2b.bat=%E2B%/_ISO/e2b/grub/startupe2b.bat @winpeshl.ini=%E2B%/_ISO/e2b/grub/winpeshl.ini @bcd=%pp%/boot/bcd @boot.sdi=%pp%/boot/boot.sdi @boot.wim=%pp%/sources/boot.wim


#7 nierewa

nierewa

    Member

  • Members
  • 85 posts
  •  
    Germany

Posted 19 February 2019 - 06:47 PM

I have changed something until now.

 

In Folder /images I have two ISO-files.
Win10_1809_x86 and Win10_1809_x64.

 

The menu.lst looks so:

title Install Windows10x64 1809 using wimboot method
map /images/Win10_1809_x64.iso (0xff)
map --hook
root (0xff)
# the root path now points to the files inside the ISO file
# hd0,0 is the USB drive that we booted from
kernel (hd0,0)/wimboot
initrd @startup.bat=(hd0,0)/startup.bat @winpeshl.ini=(hd0,0)/winpeshl.ini @bcd=/boot/bcd @boot.sdi=/boot/boot.sdi @boot.wim=/sources/boot.wim @/images/Win10_1809_x64.iso.tag=/boot/bcd
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
boot

title Install Windows10x86 1809 using wimboot method
map /images/Win10_1809_x86.iso (0xff)
map --hook
root (0xff)
# the root path now points to the files inside the ISO file
# hd0,0 is the USB drive that we booted from
kernel (hd0,0)/wimboot
initrd @startup.bat=(hd0,0)/startup.bat @winpeshl.ini=(hd0,0)/winpeshl.ini @bcd=/boot/bcd @boot.sdi=/boot/boot.sdi @boot.wim=/sources/boot.wim @/images/Win10_1809_x86.iso.tag=/boot/bcd
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
boot

Change the the startup.bat for steve6375 advice to:

@echo off
TITLE %~dpnx0 (WIMBOOT startup.bat)
wpeinit.exe
REM prevent wpeinit from running again
ren X:\windows\system32\wpeinit.exe wpeinit.exe.old

for %%I in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%I:\wimboot\startup.bat set USBDRIVE=%%I:
IF "%USBDRIVE%"=="" (
echo ERROR - COULD NOT FIND E2B DRIVE!
pause
goto :EOF
)

cd %USBDRIVE%\
%USBDRIVE%
color 1f
@echo off
cls
SET BIT=32
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" SET BIT=64

echo LOADISO
FOR /L %%A IN (0,1,5000) DO ECHO NOTHING > nul
cls
@echo FOUND USB DRIVE AT DRIVE %USBDRIVE%
cd /d %USBDRIVE%\

:: get path of the ISO into ISONAME
:: SET "MYISO=\_ISO\MAINMENU\WINDOWS\Windows10Prox64.iso"
for /f %%a in ( 'dir /b X:\Windows\System32\*.iso.tag' ) do set MYISO=%%a
set MYISO=%MYISO:~,-4%

:: find the ISO in \_ISO\MAINMENU\WINDOWS
set UPATH=\images\%MYISO%
if exist %USBDRIVE%%UPATH% set MYISO=%UPATH%
echo Loading %USBDRIVE%%MYISO%

REM Load ISO using ImDisk
TITLE LOAD WINDOWS ISO USING IMDISK
call \wimboot\imdisk\IMDISK_install.cmd
call \wimboot\imdisk\IMDISK_instiso.cmd

REM Find mounted DVD drive
set DVDDRIVE=
FOR %%D IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (
DIR %%D:\SOURCES\install.* > nul 2>&1 && (call set DVDDRIVE=%%D:) && echo FOUND %%D:\SOURCES\install.*
)
FOR %%D IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (
DIR %%D:\SOURCES\x86\install.* > nul 2>&1 && (call set DVDDRIVE=%%D:) && echo FOUND %%D:\SOURCES\x86\install.*
)
FOR %%D IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (
DIR %%D:\SOURCES\x64\install.* > nul 2>&1 && (call set DVDDRIVE=%%D:) && echo FOUND %%D:\SOURCES\x64\install.*
)
FOR %%D IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (
DIR %%D:\x86\SOURCES\install.* > nul 2>&1 && (call set DVDDRIVE=%%D:) && echo FOUND %%D:\x86\SOURCES\install.*
)
FOR %%D IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (
DIR %%D:\x64\SOURCES\install.* > nul 2>&1 && (call set DVDDRIVE=%%D:) && echo FOUND %%D:\x64\SOURCES\install.*
)

:ENDSEARCH
IF "%DVDDRIVE%"=="" echo WARNING: VIRTUAL DRIVE DRIVE NOT FOUND!
IF "%DVDDRIVE%"=="" echo WARNING: install.* not found on any mounted volume.
IF "%DVDDRIVE%"=="" pause
echo.
IF NOT "%DVDDRIVE%"=="" echo ISO FILE MOUNTED AS %DVDDRIVE%

REM startnet.cmd normally only contains wpeinit.exe, custom ISOs may contain other commands, so try to run them
if exist X:\WINDOWS\SYSTEM32\startnet.cmd call cmd /c X:\WINDOWS\SYSTEM32\startnet.cmd
if not exist X:\WINDOWS\SYSTEM32\startup.bat exit
IF "%DVDDRIVE%"=="" cmd

%DVDDRIVE%
cd \
set pp=\x86
if /i "%PROCESSOR_ARCHITECTURE%"=="AMD64" set pp=\x64
if not exist %DVDDRIVE%%pp%\setup.exe set pp=

MODE CON COLS=30 LINES=2
echo DO NOT CLOSE THIS WINDOW
REM %DVDDRIVE%%pp%\setup.exe /Unattend:%E2BDRIVE%\AutoUnattend.xml
%DVDDRIVE%%pp%\setup.exe

Ends up with

 

Error creating virtual disk:
Das System kann die angegebene Datei nicht finden.

 

 

so it is expecting the ISO to be in the root of the USB drive but you have placed it in \images folder.

Check X:\Windows\system32\Win10.iso.tag exists

There's no *.iso.tag file in this path.
I don't see the mistake I've done :(



#8 steve6375

steve6375

    Platinum Member

  • Developer
  • 6997 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 19 February 2019 - 06:54 PM

@/images/Win10_1809_x64.iso.tag=/boot/bcd

 

 

@ symbol defines the filename of the file that will be created in the X:\WIndows\System32 folder - 

 

It should be

@Win10_1809_x64.iso.tag=/boot/bcd

Maximum length of the filename after @ can be up to 31 characters



#9 nierewa

nierewa

    Member

  • Members
  • 85 posts
  •  
    Germany

Posted 19 February 2019 - 07:03 PM

I've changed it, but didn't work.
No iso found, nothing in X:\Windows\system32\



#10 steve6375

steve6375

    Platinum Member

  • Developer
  • 6997 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 19 February 2019 - 07:10 PM

Try using

 

kernel (hd0,0)/wimboot pause

 

and check that wimboot is adding the files correctly

https://ipxe.org/wimboot

 

P.S. you can always add lines to the bat file, e.g.

 

dir X:\Windows\System32\*.tag

pause



#11 nierewa

nierewa

    Member

  • Members
  • 85 posts
  •  
    Germany

Posted 19 February 2019 - 07:37 PM

wimboot pause say:

...

using bootmgr.exe via 0x434a0 len 0xa2338
... extracted bootmgr.exe
using win10_1809_x64.iso.tag via 0xd9597088 len 0x4000
emulating drive 0x83
entering bootmgr.exe with parameters at 0x2c4e0

dir X:\Windows\System32\*.tag

pause                                                    ------> Datei nicht gefunden



#12 steve6375

steve6375

    Platinum Member

  • Developer
  • 6997 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 19 February 2019 - 07:41 PM

wimboot is 2017-05-2017?



#13 nierewa

nierewa

    Member

  • Members
  • 85 posts
  •  
    Germany

Posted 19 February 2019 - 07:51 PM

The wimboot is from the grub2_wimboot I've downloaded from the tutorial site.
2017-05-18



#14 steve6375

steve6375

    Platinum Member

  • Developer
  • 6997 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 19 February 2019 - 08:04 PM

Try changing the order of the initrd line

 

I tested your line and got the same problem

Then I moved the .iso.tag file to the start of initrd and it worked OK!

Maybe the boot.wim needs to be last ?

 

initrd @Win10_1809_x86.iso.tag=/boot/bcd @startup.bat=(hd0,0)/startup.bat @winpeshl.ini=(hd0,0)/winpeshl.ini @bcd=/boot/bcd @boot.sdi=/boot/boot.sdi @boot.wim=/sources/boot.wim 


  • nierewa likes this

#15 nierewa

nierewa

    Member

  • Members
  • 85 posts
  •  
    Germany

Posted 19 February 2019 - 09:31 PM

Man this is it.

It works.

 

Time to test :D



#16 steve6375

steve6375

    Platinum Member

  • Developer
  • 6997 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 19 February 2019 - 10:30 PM

I made a few tests, 

 

It looks like the last files must be boot.wim and bcd

#FAILS initrd @boot.sdi=/boot/boot.sdi @startup.bat=(hd0,0)/startup.bat @winpeshl.ini=(hd0,0)/winpeshl.ini  @boot.wim=/sources/boot.wim  @bcd=/boot/bcd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd
#FAILS initrd @startup.bat=(hd0,0)/startup.bat @winpeshl.ini=(hd0,0)/winpeshl.ini  @boot.wim=/sources/boot.wim  @bcd=/boot/bcd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd @boot.sdi=/boot/boot.sdi
#FAILS initrd @winpeshl.ini=(hd0,0)/winpeshl.ini  @boot.wim=/sources/boot.wim  @bcd=/boot/bcd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd @boot.sdi=/boot/boot.sdi @startup.bat=(hd0,0)/startup.bat
#FAILS initrd @winpeshl.ini=(hd0,0)/winpeshl.ini  @boot.wim=/sources/boot.wim  @bcd=/boot/bcd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd  @startup.bat=(hd0,0)/startup.bat @boot.sdi=/boot/boot.sdi
#FAILS initrd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd  @startup.bat=(hd0,0)/startup.bat @boot.sdi=/boot/boot.sdi @boot.wim=/sources/boot.wim @bcd=/boot/bcd @winpeshl.ini=(hd0,0)/winpeshl.ini
#FAILS initrd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd @boot.sdi=/boot/boot.sdi @boot.wim=/sources/boot.wim @bcd=/boot/bcd @winpeshl.ini=(hd0,0)/winpeshl.ini  @startup.bat=(hd0,0)/startup.bat
#FAILS initrd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd @boot.sdi=/boot/boot.sdi @boot.wim=/sources/boot.wim @winpeshl.ini=(hd0,0)/winpeshl.ini  @startup.bat=(hd0,0)/startup.bat  @bcd=/boot/bcd
#FAILS initrd @boot.sdi=/boot/boot.sdi @winpeshl.ini=(hd0,0)/winpeshl.ini   @bcd=/boot/bcd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd  @boot.wim=/sources/boot.wim  @startup.bat=(hd0,0)/startup.bat
#FAILS initrd @boot.sdi=/boot/boot.sdi @startup.bat=(hd0,0)/startup.bat @winpeshl.ini=(hd0,0)/winpeshl.ini @bcd=/boot/bcd  @boot.wim=/sources/boot.wim @Win10x64UK_Oct_2018.iso.tag=/boot/bcd

#WORKS initrd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd @bcd=/boot/bcd @boot.sdi=/boot/boot.sdi @startup.bat=(hd0,0)/startup.bat @winpeshl.ini=(hd0,0)/winpeshl.ini  @boot.wim=/sources/boot.wim
#WORKS initrd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd @boot.sdi=/boot/boot.sdi @startup.bat=(hd0,0)/startup.bat @winpeshl.ini=(hd0,0)/winpeshl.ini  @boot.wim=/sources/boot.wim  @bcd=/boot/bcd
#WORKS initrd @winpeshl.ini=(hd0,0)/winpeshl.ini @bcd=/boot/bcd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd  @startup.bat=(hd0,0)/startup.bat @boot.sdi=/boot/boot.sdi @boot.wim=/sources/boot.wim
#WORKS initrd @winpeshl.ini=(hd0,0)/winpeshl.ini @Win10x64UK_Oct_2018.iso.tag=/boot/bcd  @startup.bat=(hd0,0)/startup.bat @boot.sdi=/boot/boot.sdi @boot.wim=/sources/boot.wim @bcd=/boot/bcd
#WORKS initrd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd @boot.sdi=/boot/boot.sdi @bcd=/boot/bcd @winpeshl.ini=(hd0,0)/winpeshl.ini @startup.bat=(hd0,0)/startup.bat @boot.wim=/sources/boot.wim
#WORKS initrd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd @boot.sdi=/boot/boot.sdi @winpeshl.ini=(hd0,0)/winpeshl.ini  @startup.bat=(hd0,0)/startup.bat  @bcd=/boot/bcd @boot.wim=/sources/boot.wim
#WORKS initrd @boot.sdi=/boot/boot.sdi @winpeshl.ini=(hd0,0)/winpeshl.ini @startup.bat=(hd0,0)/startup.bat  @bcd=/boot/bcd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd @boot.wim=/sources/boot.wim
#WORKS initrd @boot.sdi=/boot/boot.sdi @winpeshl.ini=(hd0,0)/winpeshl.ini @bcd=/boot/bcd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd  @startup.bat=(hd0,0)/startup.bat @boot.wim=/sources/boot.wim
#WORKS initrd @startup.bat=(hd0,0)/startup.bat @winpeshl.ini=(hd0,0)/winpeshl.ini @bcd=/boot/bcd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd @boot.sdi=/boot/boot.sdi @boot.wim=/sources/boot.wim
#WORKS initrd @bcd=/boot/bcd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd @boot.sdi=/boot/boot.sdi @startup.bat=(hd0,0)/startup.bat @winpeshl.ini=(hd0,0)/winpeshl.ini  @boot.wim=/sources/boot.wim
#WORKS initrd @boot.sdi=/boot/boot.sdi @startup.bat=(hd0,0)/startup.bat @winpeshl.ini=(hd0,0)/winpeshl.ini @bcd=/boot/bcd @Win10x64UK_Oct_2018.iso.tag=/boot/bcd  @boot.wim=/sources/boot.wim


#17 nierewa

nierewa

    Member

  • Members
  • 85 posts
  •  
    Germany

Posted 24 February 2019 - 09:54 AM

 

It looks like the last files must be boot.wim and bcd

How did you figure it out. How get you this idea?

 

IT WORKS :D
Only some USB ports (USB 3 and USB2) ends up with "ERROR - COULD NOT FIND E2B DRIVE!"
Other ports on same PC works.

 

 

I found an unattend.xml on a mainboards support dvd:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
  <settings pass="windowsPE">
    <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <DriverPaths>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3311b21">
          <Path>%configsetroot%\Win7\usb3\Asmedia</Path>
        </PathAndCredentials>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3318086">
          <Path>%configsetroot%\Win7\usb3\Intel\x86</Path>
        </PathAndCredentials>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3301022">
          <Path>%configsetroot%\Win7\usb3\AMD\USB30\x86</Path>
        </PathAndCredentials>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3311022">
          <Path>%configsetroot%\Win7\usb3\AMD\USB31\x86</Path>
        </PathAndCredentials>
      </DriverPaths>
<UserData>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key></Key>
</ProductKey>
</UserData>
    </component>
    <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <DriverPaths>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3311b21">
          <Path>%configsetroot%\Win7\usb3\Asmedia</Path>
        </PathAndCredentials>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3318086">
          <Path>%configsetroot%\Win7\usb3\Intel\x64</Path>
        </PathAndCredentials>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3301022">
          <Path>%configsetroot%\Win7\usb3\AMD\USB30\x64</Path>
        </PathAndCredentials>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3311022">
          <Path>%configsetroot%\Win7\usb3\AMD\USB31\x64</Path>
        </PathAndCredentials>
      </DriverPaths>
    </component>
    <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <UseConfigurationSet>true</UseConfigurationSet>
<UserData>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key></Key>
</ProductKey>
</UserData>
    </component>
    <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <UseConfigurationSet>true</UseConfigurationSet>
    </component>
  </settings>
  <settings pass="offlineServicing">
    <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <DriverPaths>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3311b21">
          <Path>%configsetroot%\Win7\usb3\Asmedia</Path>
        </PathAndCredentials>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3318086">
          <Path>%configsetroot%\Win7\usb3\Intel\x86</Path>
        </PathAndCredentials>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3301022">
          <Path>%configsetroot%\Win7\usb3\AMD\USB30\x86</Path>
        </PathAndCredentials>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3311022">
          <Path>%configsetroot%\Win7\usb3\AMD\USB31\x86</Path>
        </PathAndCredentials>
      </DriverPaths>
<UserData>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key></Key>
</ProductKey>
</UserData>
    </component>
    <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <DriverPaths>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3311b21">
          <Path>%configsetroot%\Win7\usb3\Asmedia</Path>
        </PathAndCredentials>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3318086">
          <Path>%configsetroot%\Win7\usb3\Intel\x64</Path>
        </PathAndCredentials>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3301022">
          <Path>%configsetroot%\Win7\usb3\AMD\USB30\x64</Path>
        </PathAndCredentials>
        <PathAndCredentials wcm:action="add" wcm:keyValue="u3311022">
          <Path>%configsetroot%\Win7\usb3\AMD\USB31\x64</Path>
        </PathAndCredentials>
      </DriverPaths>
<UserData>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key></Key>
</ProductKey>
</UserData>
    </component>
  </settings>
  <cpi:offlineImage cpi:source="wim:c:/windows7_wim/install.wim#Windows 7 HOMEPREMIUM" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

It's installed USB driver, right?
Can this work? Where is %configroot%?

The root of the USB stick? (I've copied drivers there)


Edited by nierewa, 24 February 2019 - 09:56 AM.


#18 steve6375

steve6375

    Platinum Member

  • Developer
  • 6997 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 24 February 2019 - 10:00 AM

It looks like the last files must be boot.wim and bcd

How did you figure it out. How get you this idea?

 

Because my  grub4dos menu worked and yours did not - the only difference I could see was that the order of the files was different.

 

re. %configsetroot%

I think this is added in by the Microsoft build tools and is not present in a standard retail install ISO?

https://docs.microso...nstallfrom-path



#19 nierewa

nierewa

    Member

  • Members
  • 85 posts
  •  
    Germany

Posted 24 February 2019 - 10:35 AM

Hmm, seems you are right.

 

Are you think I can add USB 3.0 drivers in that way?
I have to change %configroot% to USB root,e.g.: <Path>%USBDRIVE%\Win7\usb3\Asmedia</Path>

 

Perhaps it could solve the "ERROR - COULD NOT FIND E2B DRIVE!".



#20 steve6375

steve6375

    Platinum Member

  • Developer
  • 6997 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 24 February 2019 - 10:37 AM

No.



#21 nierewa

nierewa

    Member

  • Members
  • 85 posts
  •  
    Germany

Posted 24 February 2019 - 10:42 AM

Too bad.
Thank you for your great help :thumbup:



#22 Hillary22

Hillary22
  • Members
  • 1 posts
  •  
    France

Posted 25 February 2019 - 01:25 AM

You have

:: find the ISO
set UPATH=\%MYISO%

 

so it is expecting the ISO to be in the root of the USB drive but you have placed it in \images folder.

Check X:\Windows\system32\Win10.iso.tag exists

 transfers paris airports

 

P.S. When you have a problem, use echo on  (not @echo off) at top of file and place

pause

at various lines so you can see results ;-)

Ahhh you're right , thank you very much



#23 nightmoldy

nightmoldy
  • Members
  • 1 posts
  •  
    Hong Kong

Posted 14 March 2019 - 03:08 AM

There are issues with Windows 10 1809 ISO, roll back to previous versions.



#24 Daomer

Daomer
  • Members
  • 2 posts
  •  
    Singapore

Posted 18 March 2019 - 07:13 AM

Making a bootable USB drive for installing Windows 10 will save you a lot of trouble,all you need to do is burn iso to an empty USB.



#25 Daomer

Daomer
  • Members
  • 2 posts
  •  
    Singapore

Posted 20 March 2019 - 10:08 AM

Making a bootable USB drive for installing Windows 10 will save you a lot of trouble,all you need is an empty USB.

Do as it says :https://www.uubyte.c...m-iso-file.html

I think it's so easy.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users