Optimization for Linux vDisk boot in Legacy BIOS mode

This commit is contained in:
longpanda
2020-10-21 17:45:44 +08:00
parent 9ddee7394d
commit 40fdfa66b9
4 changed files with 9 additions and 2 deletions

View File

@@ -1046,7 +1046,7 @@ function vtoyboot_common_func {
if [ -n "$vtoy_chain_mem_addr" ]; then
if [ "$grub_platform" = "pc" ]; then
vt_acpi_param ${vtoy_chain_mem_addr} 512
linux16 $vtoy_path/ipxe.krn ${vtdebug_flag} sector512 mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
linux16 $vtoy_path/ipxe.krn ${vtdebug_flag} bios80 sector512 mem:${vtoy_chain_mem_addr}:size:${vtoy_chain_mem_size}
boot
else
ventoy_acpi_param ${vtoy_chain_mem_addr} 512