How to boot from a specific index inside boot.wim ?

Discussion in 'Windows 11' started by Captain.Majid, Jan 9, 2023.

  1. Captain.Majid

    Captain.Majid MDL Novice

    Aug 27, 2014
    30
    0
    0
    Can I make 2 editions of WinPE, one light/quick and one full, and put the 2 indexes in a single boot.wim, giving the user the option to start which one he likes, while taking the advantage of having partially identical indexes compressed together inside a .wim file to save space ?

    I've already added the 2nd boot.wim with this command:
    I just don't know how to specify the index to boot using bcdboot.exe or bcdedit.exe !
     
  2. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    2,475
    3,002
    90
    why ... you ... don't ... make ... 2 wim ... files ... !!!!! ????
    and edit bcd file with bootice, which is more sense .. ????
    [ and add 5 sec delay until choice System to run ]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    2,475
    3,002
    90
    upload_2023-1-9_20-13-25.png

    upload_2023-1-9_20-11-59.png

    upload_2023-1-9_20-12-20.png

    upload_2023-1-9_20-12-44.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Captain.Majid

    Captain.Majid MDL Novice

    Aug 27, 2014
    30
    0
    0
    #4 Captain.Majid, Jan 9, 2023
    Last edited: Jan 9, 2023
    (OP)
    As I said, to save space, 2 wims with partially identical contents are saved only once in the final boot.wim, no matter how many indexes you add, that's why .wim files are useful ! M$ since Windows Vista uses this .wim format to include several editions of Windows (Home/Pro/Ent/etc...).
     
  5. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,877
    848
    60
    You can't. Use @Dark Dinosaur 's Solution. These WinPE wim files are so small anyway...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,048
    884
    90
    bcdedit /store dvd-rom\boot\bcd /set {bootmgr} default {GuiID}
     
  7. Captain.Majid

    Captain.Majid MDL Novice

    Aug 27, 2014
    30
    0
    0
  8. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,048
    884
    90
    if u dont need them both u just delete one of them and done
     
  9. INTRASERVER

    INTRASERVER MDL Novice

    Jan 29, 2018
    9
    0
    0
    Well you can create two images one with index:1 and second index:? or use ei.cfg. And best option is ventoy.