Change the index boot

Comments, questions, bug reports, etc.
Post Reply
Ellie
Posts: 1
Joined: Sat Jan 15, 2022 10:55 pm

Change the index boot

Post 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.
synchronicity
Site Admin
Posts: 355
Joined: Sun Aug 02, 2015 10:31 pm

Re: Change the index boot

Post 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
Post Reply