Page 1 of 1

Change the index boot

Posted: Sat Jan 15, 2022 11:07 pm
by Ellie
Hi hi,

for several days I have been trying to figure out how to change the index (system boot).
I'm using the Linux version: wimlib-imagex

Code: Select all

Index 6: Windows 10 Enterprise
Index 5: Windows 10 Enterprise N
Index 12: Windows 10 Home 1
Index 4: Windows 10 Home N
Index 9: Windows 10 Pro
Index 1: Windows 10 Pro N
Index 2: Windows 10 Education
Index 10: Windows 10 Education N
Index 7: Windows 10 Pro Education
Index 3: Windows 10 Pro Education N
Index 8: Windows 10 Pro for Workstations
Index 11: Windows 10 Pro N for Workstations
Change:

Code: Select all

Index 1: Windows 10 Enterprise
Index 2: Windows 10 Enterprise N
Index 3: Windows 10 Home 1
Index 4: Windows 10 Home N
Index 5: Windows 10 Pro
Index 6: Windows 10 Pro N
Index 7: Windows 10 Education
Index 8: Windows 10 Education N
Index 9: Windows 10 Pro Education
Index 10: Windows 10 Pro Education N
Index 11: Windows 10 Pro for Workstations
Index 12: Windows 10 Pro N for Workstations
What is the correct syntax commands for index change?

Please help, thx.

Re: Change the index boot

Posted: Fri Jan 21, 2022 1:40 am
by synchronicity
You can't directly renumber images with wimlib-imagex, but you can achieve this by exporting the images one by one, since the images will get added to the destination WIM sequentially. For example:

Code: Select all

for index in 6 5 12 4 9 1 2 10 7 3 8 11; do                                      
        wimexport src.wim $index dst.wim                                         
done                                                                             
wimoptimize dst.wim