X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/5d0fe69b2592f3c19fd12529ad94cb64ec0ed7d1..7a0b2d945e8c09ef377fbcdad1164ea070e75245:/INSTALL/grub/grub.cfg diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index ab18f8d..0c51f5c 100644 --- a/INSTALL/grub/grub.cfg +++ b/INSTALL/grub/grub.cfg @@ -121,6 +121,7 @@ function distro_specify_initrd_file { fi } + function distro_specify_initrd_file_phase2 { if [ -f (loop)/boot/initrd.img ]; then vt_linux_specify_initrd_file /boot/initrd.img @@ -132,6 +133,8 @@ function distro_specify_initrd_file_phase2 { vt_linux_specify_initrd_file /boot/iniramfs.igz elif [ -f (loop)/initrd-x86_64 ]; then vt_linux_specify_initrd_file /initrd-x86_64 + elif [ -f (loop)/live/initrd.img ]; then + vt_linux_specify_initrd_file /live/initrd.img fi } @@ -453,7 +456,7 @@ function common_menuentry { ############################################################# ############################################################# -set VENTOY_VERSION="1.0.10" +set VENTOY_VERSION="1.0.11" # Default menu display mode, you can change it as you want. # 0: List mode