Windows 8.1 Update 1 WimBOOT discussion

Discussion in 'Windows 8' started by murphy78, Mar 6, 2014.

  1. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    You can, but I wouldn't recommend it.
    It seems to ping-pong your file reads to all corners of the drive.
    It only makes sense to use this on a SSD where seek times are not an issue.
     
  2. Hunk_4TH

    Hunk_4TH MDL Member

    Aug 6, 2012
    162
    7
    10
    #62 Hunk_4TH, Mar 22, 2014
    Last edited: Mar 22, 2014
    Thanks man. That worked perfectly!
     
  3. Hunk_4TH

    Hunk_4TH MDL Member

    Aug 6, 2012
    162
    7
    10
    I removed the Winre.wim file and moved it to C:\Images like stated changed the drive letter to that of my mounted VHD now I'm getting this when running the first command

    And this error when running the second command

     
  4. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    You have to run that capture under the adk's command line environment variables.
    You might be able to toss all the files in the same folder with the adk's dism, but I've found that simply running the start menu's adk command line and doing the capture works..
     
  5. Hunk_4TH

    Hunk_4TH MDL Member

    Aug 6, 2012
    162
    7
    10
    You were right man I wasn't thinking. Though the first command completed successfully. The second one gives me the same error. Maybe because the Winre.Wim file isn't on the recovery partition?

     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,197
    84,752
    340
    #66 abbodi1406, Mar 22, 2014
    Last edited by a moderator: Apr 20, 2017
    Capturing wimboot image doesn't support using /compress parameter, it's uses max by default

    Code:
    DISM /Capture-Image /WIMBoot /CheckIntegrity /ImageFile:C:\Images\install_wimboot.wim /CaptureDir:I:\ /Name:"WIMBoot 8.1" /Description:"WIMBoot 8.1"
     
  7. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    #67 murphy78, Mar 22, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    If that's true, my successes were likely due to frustration and copy/pasting the example from the chm...
    good eye abbodi1406...
     
  8. Hunk_4TH

    Hunk_4TH MDL Member

    Aug 6, 2012
    162
    7
    10
    Yeah, you're right. It's late. I forgot to get abbodi1406's version LOL I feel so silly now. Gonna try that once it's installed. If I have any more problems I'll report back.
     
  9. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    #69 murphy78, Mar 22, 2014
    Last edited: Mar 22, 2014
    (OP)
    I will probably put up a menu'd aio on TPB after we get the pre-compiled msdn versions.
    I could use help with menus that don't look like sh** when selecting different options, but I get the basics...
    It would just need to be polished up a lot more.
    Honestly, it was just such a chore doing all this stuff the first time, I just took time off to recoup and get my monthly obligatory releases done.

    I guess I never really put anything up on TPB because... well we still didn't know enough about it...

    edit: I get the whole point of the wimboot now... Apparently without it, it groups up the Windows files in a certain area on the disc, and the constant grouping slows things down.
    The install.wim copy to the M: is not essential at all, and neither is the winre.wim, though it would be a pretty bad idea to not include it, at least by pointing reagentc at it for f8 boot support.
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,197
    84,752
    340
  11. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    I cleaned up a few of the misleading notes a little bit...
    I'll have to think up a way to properly display menus and options...
    I'm terrible with creative solutions for the echo commands and choice options...
    The winpe variant of "choice" doesn't seem to work and requires the different method.

    The echo command is limited to ansi characters which are like the keyboard characters and absolutely nothing else.
    Plus you have to factor in alignment... I guess I could just not use a left/right wall...
     
  12. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    Yeah, that nasty 'choice' limitation in RE ... anybody knows how to get it working that way ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,197
    84,752
    340
    #73 abbodi1406, Mar 22, 2014
    Last edited by a moderator: Apr 20, 2017
    Doesn't old choice input work either?
    Code:
    set /p userinp=
    .
    ..
     
  14. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    #74 s1ave77, Mar 22, 2014
    Last edited by a moderator: Apr 20, 2017
    Yep, that works, but i'd like to use CHOICE for that, as it requires less action :D. That's why i asked whether there's a way to get this working in RE CMD, as it seems to be a bit limitted.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,197
    84,752
    340
    #75 abbodi1406, Mar 22, 2014
    Last edited by a moderator: Apr 20, 2017
    Well, did you try to copy the .exe file to Winre's System32 folder? :D
    Code:
    C:\Windows\System32\choice.exe
    C:\Windows\System32\en-US\choice.exe.mui
    
     
  16. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    Nope :doh:. Not always easy to see the closest solution, good to have some members here that are able to do :good3:.

    Will test straightly after my shopping tour, starting to starve here :D. Will report back then.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    #77 murphy78, Mar 22, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Hah... I like that even more. Srsly the other choice options *BLOW*
    I guess the sysWOW64 version of choice.exe is for when you have more than 2GB of choices
     
  18. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    #78 s1ave77, Mar 22, 2014
    Last edited by a moderator: Apr 20, 2017
    I love you man :worthy:!!!! It's actually indeed that easy :good3:.

    Copied the files from a mounted Win 8 WIM to boot.wim of my Win8PESE ISO, added my script to Users\Default\Desktop and it works :flowers2:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Hunk_4TH

    Hunk_4TH MDL Member

    Aug 6, 2012
    162
    7
    10
    Ok the ADK commands finally worked! But I'm stuck at "3) Mount the boot.wim from c:\WinPE_AMD64\media\sources\ and add the update msu packages" You weren't really specific on how to do this. I do understand this guide or whatever is probably not meant for a non expert ha ha.
     
  20. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    #80 murphy78, Mar 22, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Code:
    dism /mount-wim /wimfile:c:\WinPE_AMD64\media\sources\boot.wim /index:1 /mountdir:c:\WinPE_AMD64\mount
    dism /image:c:\winpe_amd64\mount /add-package /packagepath:c:\msu\Windows8.1-KB2919442-x64.msu
    dism /image:c:\winpe_amd64\mount /add-package /packagepath:c:\msu\Windows8.1-KB2939087-x64.msu
    dism /image:c:\winpe_amd64\mount /add-package /packagepath:c:\msu\Windows8.1-KB2919355-x64.msu
    dism /image:c:\winpe_amd64\mount /add-package /packagepath:c:\msu\Windows8.1-KB2932046-x64.msu
    dism /image:c:\winpe_amd64\mount /add-package /packagepath:c:\msu\Windows8.1-KB2937592-x64.msu
    dism /image:c:\winpe_amd64\mount /add-package /packagepath:c:\msu\Windows8.1-KB2938439-x64.msu
    dism /image:c:\WinPE_AMD64\mount /cleanup-image /startcomponentcleanup /resetbase
    dism /unmount-wim /mountdir:c:\winpe_amd64\mount /commit
    dism /export-image /sourceimagefile:c:\winpe_amd64\media\sources\boot.wim /sourceindex:1 /destination imagefile:c:\winpe_amd64\media\boot.wim /compress:max /checkintegrity
    move /y c:\winpe_amd64\media\boot.wim c:\winpe_amd64\media\sources\