X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/854d17a4e9427a43b4808465c07ae2b06cd64195..966ed21de7dfd77dddfa26bab5c8b4af8a73c99e:/INSTALL/grub/grub.cfg diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index e20851c..6fae2c0 100644 --- a/INSTALL/grub/grub.cfg +++ b/INSTALL/grub/grub.cfg @@ -403,10 +403,12 @@ function distro_specify_initrd_file_phase2 { vt_linux_specify_initrd_file /images/pxeboot/initrd.img elif [ -f (loop)/live/initrd ]; then vt_linux_specify_initrd_file /live/initrd - + elif [ -f (loop)/initramfs-linux.img ]; then + vt_linux_specify_initrd_file /initramfs-linux.img fi } + function ventoy_get_ghostbsd_ver { # fallback to parse version from elf /boot/kernel/kernel set vt_freebsd_ver=xx @@ -1411,6 +1413,8 @@ function ventoy_iso_busybox_ver { set ventoy_busybox_ver=64 elif vt_str_begin "$vt_volume_id" "LDiagBootable"; then set ventoy_busybox_ver=64 + elif vt_str_begin "$vt_volume_id" "KAOS_"; then + set ventoy_busybox_ver=64 fi fi @@ -2397,7 +2401,7 @@ function mimg_common_menuentry { ############################################################# ############################################################# -set VENTOY_VERSION="1.0.96" +set VENTOY_VERSION="1.1.01" #ACPI not compatible with Window7/8, so disable by default set VTOY_PARAM_NO_ACPI=1