Windows 8 - UEFI Install - File more than 4 GB - How?

Discussion in 'Windows 8' started by valued17, Jul 7, 2013.

  1. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    #121 murphy78, Sep 5, 2014
    Last edited by a moderator: Apr 20, 2017
    Change the part of my previous post where I mention:
    Code:
    dism /export-image /sourceimagefile:c:\win81x64\sources\install.esd /sourceindex:1 /destinationimagefile:c:\win81x64\sources\install.wim /compress:recovery
    to:
    Code:
    for /l %x in (1,1,8) do (dism /export-image /sourceimagefile:c:\win81x64\sources\install.esd /sourceindex:%x /destinationimagefile:c:\win81x64\sources\install.wim /compress:recovery)
    If you use it in a script, though, you will use %%x instead of %x because of the way the script interpreter works.

    Or, more simply:
    Code:
    dism /export-image /sourceimagefile:c:\win81x64\sources\install.esd /sourceindex:1 /destinationimagefile:c:\win81x64\sources\install.wim /compress:recovery
    dism /export-image /sourceimagefile:c:\win81x64\sources\install.esd /sourceindex:2 /destinationimagefile:c:\win81x64\sources\install.wim /compress:recovery
    dism /export-image /sourceimagefile:c:\win81x64\sources\install.esd /sourceindex:3 /destinationimagefile:c:\win81x64\sources\install.wim /compress:recovery
    dism /export-image /sourceimagefile:c:\win81x64\sources\install.esd /sourceindex:4 /destinationimagefile:c:\win81x64\sources\install.wim /compress:recovery
    dism /export-image /sourceimagefile:c:\win81x64\sources\install.esd /sourceindex:5 /destinationimagefile:c:\win81x64\sources\install.wim /compress:recovery
    dism /export-image /sourceimagefile:c:\win81x64\sources\install.esd /sourceindex:6 /destinationimagefile:c:\win81x64\sources\install.wim /compress:recovery
    dism /export-image /sourceimagefile:c:\win81x64\sources\install.esd /sourceindex:7 /destinationimagefile:c:\win81x64\sources\install.wim /compress:recovery
    dism /export-image /sourceimagefile:c:\win81x64\sources\install.esd /sourceindex:8 /destinationimagefile:c:\win81x64\sources\install.wim /compress:recovery
    Get it? Yer just trying to export all of the images at this point rather than just the single image.
     
  2. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    Look at my english version download and the method which which the folders are organized and make one that uses the es-es license.rtf files instead.
    You actually don't even need the original license.rtf files, they just need to be in the correct folders and exist so that setup can display them.
    You could make them up in wordpad and just have them say: "Blow me, stupid EULA"

    I personally don't modify them because I don't modify any system files in my releases, but it doesn't mean you cannot.
     
  3. chemell

    chemell MDL Novice

    Sep 2, 2014
    9
    0
    0
    #123 chemell, Sep 6, 2014
    Last edited by a moderator: Apr 20, 2017
    I'm not sure, sorry. What I want is to have a .iso with just the index 2, for that I got to convert my install.esd to install.wim and do this or it's different? Also I'm not sure if having a "just index 2" .iso will make the .iso size lesser than 4gb.

    So if I understood correctly, I extract your .7z and should look like this:

    c: > temp > Licenses > en-us > (subfolders)
    c: > temp > Licenses > es-es > (subfolders)
    c: > temp > Licenses > neutral > (subfolders)

    Where "es-es" folder it's the same as "en-us" but just renamed? Am I right?
     
  4. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    You don't need the en-us or neutral folders I don't believe.
    You could probably just have the es-es folder.
    What's important is putting it in the appropriate place when you capture or mount the image so that it finds the file when installing.
    I believe it would be:
    Windows\system32\es-ES\Licenses\
     
  5. chemell

    chemell MDL Novice

    Sep 2, 2014
    9
    0
    0
    And how can I do that? I mean... I only did the 6 steps you mention first, I just put licenses into c:\temp and use them for create the install.wim and add the indexes. How can I put the licenses in the right path?
     
  6. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    #126 murphy78, Sep 6, 2014
    Last edited by a moderator: Apr 20, 2017
    Something like this:
    c:\temp\Windows\system32\es-ES\Licenses\*

    Then capture the directory with something like:
    Code:
    dism /capture-image /imagefile:c:\win81x64\sources\install.wim /name:"Windows 8.1 Spanish" /compress:max /capturedir:c:\temp
    That would be your 2nd step in that 6 steps I mentioned.
     
  7. hansalbers

    hansalbers MDL Novice

    Nov 14, 2015
    1
    0
    0
    The problem:
    -Uefi setup = only bootable Fat32 formatted usb-stick, no NTFS formatted
    -Fat32 = until 4GB size
    ->4GB install.wim split too many install.swm = not supported until win8, win8 doesn´t supply this format anymore.
    -The solution: Use an extern Double Layer hard drive or use 2 different formatted usb-sticks (one in Fat32 to boot from usb the installation and the other in NTFS with the install.wim = >4GB. When you see the warning you have to switch the usb-sticks).
     
  8. l33tissw00t

    l33tissw00t MDL Addicted

    Dec 6, 2012
    819
    520
    30
    Does this work? Can I use split wim for windows 7? (have w7 install.wim with only 3 indexes (homeprem, pro, ult, all x64, all integrated with latest updates. install.wim is currently 4.39gb)
     
  9. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    #130 Mr.X, Dec 29, 2015
    Last edited: Dec 29, 2015
    Why do you want to split them?

    The FAT32 limit is not an issue any more using Rufus...
     
  10. l33tissw00t

    l33tissw00t MDL Addicted

    Dec 6, 2012
    819
    520
    30
    #132 l33tissw00t, Jan 1, 2016
    Last edited by a moderator: Apr 20, 2017
    murphy78, I see you using different switches on oscdimg. What's the difference; or, why would/did you choose one over the other?

    And to add to the confusion, this is from MSMG Toolkit:
    Code:
    set BIOSBoot=%DVD%\boot\etfsboot.com
    set UEFIBoot=%DVD%\efi\microsoft\boot\efisys.bin
    %OscdImg% -bootdata:2#p0,e,b"%BIOSBoot%"#pEF,e,b"%UEFIBoot%" -o -h -m -u2 -udfver102 -l"%ISOLabel%" "%DVD%" "%ISO%\%ISOFileName%.iso"
    
    And this is from MSDN:
    Code:
    W81 ADK:
    Oscdimg -bootdata:2#p0,e,bEtfsboot.com#pEF,e,bEfisys.bin -u1 -udfver102 C:\winpe_amd64\media C:\winpe_amd64\winpeamd64.iso
    W7 ADK:
    Oscdimg -m -o -u2 -udfver102 -bootdata:2#p0,e,bC:\winpe_x86\Etfsboot.com#pEF,e,bC:\winpe_x86\Efisys.bin C:\winpe_x86\ISO C:\winpe_x86\winpex86uefi.iso
    
    which is correct??

    P.S. Thank you for your guides! They've been super helpful!


    ETA:
    From MSDN:
    murph, you sometimes use -x,and you switch between -u1 and -u2. msmg also uses -u2. i noticed that ms technet shows u2 in example usage for windows 7 adk, and u1 in example usage for w8.1. isnt u1 the correct one for both? also, regarding -x, does -o now take the place of -x?

    as of now, im using this:
    Code:
     -o -m -u1 -udfver102  
    Anything I'm missing?

    TIA
     
  11. John Sutherland

    John Sutherland MDL Addicted

    Oct 15, 2014
    867
    1,388
    30
    #135 John Sutherland, Jun 27, 2017
    Last edited: Jun 27, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,681
    18,589
    340
  13. syahendra

    syahendra MDL Novice

    Oct 26, 2013
    7
    3
    0