Ventoy icon indicating copy to clipboard operation
Ventoy copied to clipboard

[issue]: How to boot a specific index inside boot.wim ?

Open captain-majid opened this issue 2 years ago • 2 comments

Official FAQ

  • [X] I have checked the official FAQ.

Ventoy Version

Latest

What about latest release

Yes. I have tried the latest release, but the bug still exist.

Try alternative boot mode

Yes. I have tried them, but the bug still exist.

BIOS Mode

Legacy BIOS Mode

Partition Style

MBR

Disk Capacity

n/a

Disk Manufacturer

No response

Image file checksum (if applicable)

None

Image file download link (if applicable)

No response

What happened?

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 to save space ?

I've already added the 2nd boot.wim with this command: dism /append-image /imagefile:E:\boot.wim /capturedir:E:\anotherBootWim /Name:"Older win11 boot.wim" /description:"Older win11 boot.wim"

captain-majid avatar Jan 08 '23 15:01 captain-majid

According to WIM file format: https://download.microsoft.com/download/f/e/f/fefdc36e-392d-4678-9e4e-771ffa2692ab/windows%20imaging%20file%20format.rtf

One WIM file has one WIM Header, and has only one dwBootIndex. So if you put 2 indexes in a single boot.wim file, I think only 1 is bootable, and another is not bootable.

ventoy avatar Jan 10 '23 07:01 ventoy

According to WIM file format: https://download.microsoft.com/download/f/e/f/fefdc36e-392d-4678-9e4e-771ffa2692ab/windows%20imaging%20file%20format.rtf

One WIM file has one WIM Header, and has only one dwBootIndex. So if you put 2 indexes in a single boot.wim file, I think only 1 is bootable, and another is not bootable.

https://rmprepusb.com/tutorials/016-boot-to-a-winpe-wim-file-with-multiple-images/ Found this complex tutorial that can do it using Grub4DOS, can this be ported to Ventoy, in an easier way ?

captain-majid avatar Jan 12 '23 20:01 captain-majid