How Ventoy Information Passed To OS
- Legacy BIOS
For Legacy BIOS system, Ventoy saves the information in the low-memory, between 0x80000~0xA0000 (phy memory address).
For Linux, we can dump the data in that range by /dev/mem
, and search the signature GUID at the beginning of the information.
For Windows, we can dump the data with GetSystemFirmwareTable
API and search.
- UEFI
For UEFI, Ventoy saves the information to an EFI Variable with NAME and GUID as follows:
VentoyOsParam { 0x77772020, 0x2e77, 0x6576, { 0x6e, 0x74, 0x6f, 0x79, 0x2e, 0x6e, 0x65, 0x74 }}
For Linux, we can get the data from /sys/firmware/efi/vars
or /sys/firmware/efi/efivars
For Windows, we cat get the data with GetFirmwareEnvironmentVariable
API.