X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/b63ce2a3df409eb0dd0bed5b977a75605997fd3c..33cc1e271a264aad4de9be0ca1bdf36aac165211:/INSTALL/grub/grub.cfg diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index 3513df3..3d45f5a 100644 --- a/INSTALL/grub/grub.cfg +++ b/INSTALL/grub/grub.cfg @@ -1480,6 +1480,23 @@ function ventoy_img_batocera { vt_unset_boot_opt } +function ventoy_img_tails { + vt_load_cpio $vtoy_path "${vt_chosen_path}" ${vtoy_iso_part} "busybox=$ventoy_busybox_ver" + vt_trailer_cpio ${vtoy_iso_part} "${vt_chosen_path}" noinit + + ventoy_debug_pause + + #boot image file + vt_set_boot_opt rdinit=/vtoy/vtoy live-media=/dev/dm-1 ventoyos=tails + vt_img_hook_root + + set root=(vtimghd,1) + configfile (vtimghd,1)/efi/debian/grub.cfg + + vt_img_unhook_root + vt_unset_boot_opt +} + function ventoy_img_memtest86 { chainloader (vtimghd,1)/efi/boot/BOOTX64.efi boot @@ -1518,6 +1535,8 @@ function img_common_menuentry { set vtback_root=$root ventoy_cli_console vt_push_last_entry + set vtback_theme=$theme + unset theme vt_img_extra_initrd_reset @@ -1544,6 +1563,8 @@ function img_common_menuentry { ventoy_img_freedombox elif vt_str_begin "$vtImgHd1Label" "BATOCERA"; then ventoy_img_batocera + elif vt_str_begin "$vtImgHd1Label" "Tails"; then + ventoy_img_tails elif [ "$vtImgHd2Label" = "RECALBOX" ]; then ventoy_img_recalbox elif [ -f (vtimghd,2)/loader/entries/ubos.conf ]; then @@ -1568,6 +1589,7 @@ function img_common_menuentry { set root=$vtback_root vt_pop_last_entry + set theme=$vtback_theme ventoy_gui_console set ventoy_compatible=NO } @@ -1584,7 +1606,7 @@ function img_unsupport_menuentry { ############################################################# ############################################################# -set VENTOY_VERSION="1.0.36" +set VENTOY_VERSION="1.0.38" #ACPI not compatible with Window7/8, so disable by default set VTOY_PARAM_NO_ACPI=1