X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/4b17ee30c499f3d39245db03f731646c6f46ed88..e24dacadcd9b894ddc9e1b2ac85ab1afc10ea01d:/INSTALL/grub/grub.cfg diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index fe13066..0534cab 100644 --- a/INSTALL/grub/grub.cfg +++ b/INSTALL/grub/grub.cfg @@ -19,7 +19,6 @@ if [ "$grub_platform" = "pc" ]; then insmod setkey insmod regexp - insmod video_fb fi function ventoy_pause { @@ -860,6 +859,9 @@ function uefi_linux_menu_func { if [ -f (loop)/boot/isolinux/syslnx64.cfg ]; then syslinux_configfile (loop)/boot/isolinux/syslnx64.cfg set vtback_cfg_find=1 + elif [ -f (loop)/boot/syslinux/porteus.cfg ]; then + syslinux_configfile (loop)/boot/syslinux/porteus.cfg + set vtback_cfg_find=1 fi fi @@ -1311,6 +1313,9 @@ function legacy_linux_menu_func { if [ -f (loop)/boot/isolinux/syslnx64.cfg ]; then syslinux_configfile (loop)/boot/isolinux/syslnx64.cfg set vtback_cfg_find=1 + elif [ -f (loop)/boot/syslinux/porteus.cfg ]; then + syslinux_configfile (loop)/boot/syslinux/porteus.cfg + set vtback_cfg_find=1 fi fi @@ -1486,6 +1491,8 @@ function iso_common_menuentry { get_os_type (loop) + ventoy_debug_pause + if vt_need_secondary_menu "$vt_chosen_name"; then vt_show_secondary_menu "$vt_chosen_path" "$vtoy_os" $vt_chosen_size if [ "$VTOY_SECOND_EXIT" = "1" ]; then