X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/cd9aa16b204b4642490a8be58e8871bf37e44de0..1473be0e4cc3127463a0ee4796893b9813b40e16:/INSTALL/grub/grub.cfg diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index f180475..5c6797a 100644 --- a/INSTALL/grub/grub.cfg +++ b/INSTALL/grub/grub.cfg @@ -133,6 +133,8 @@ function vt_check_compatible_pe { #set compatible if ISO file is less than 80MB if [ $vt_chosen_size -gt 33554432 -a $vt_chosen_size -le 83886080 ]; then set ventoy_compatible=YES + elif [ -e $1/WEPE/WEPE.INI ]; then + set ventoy_compatible=YES fi return @@ -328,6 +330,8 @@ function distro_specify_initrd_file_phase2 { vt_linux_specify_initrd_file /360Disk/initrd.gz elif [ -f (loop)/porteus/initrd.xz ]; then vt_linux_specify_initrd_file /porteus/initrd.xz + elif [ -f (loop)/pyabr/boot/initrfs.img ]; then + vt_linux_specify_initrd_file /pyabr/boot/initrfs.img fi }