]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/grub/grub.cfg
1.0.12 release
[Ventoy.git] / INSTALL / grub / grub.cfg
index 2a2175d314d9e6734169bf3ef4cc104d73deed61..b1ef9b0a5e46d30cc417a75443d4d7a909ab1eca 100644 (file)
@@ -17,7 +17,7 @@
 #************************************************************************************
 
 function ventoy_power {
-    configfile ${vtoy_path}/grub/power.cfg
+    configfile ($root)/grub/power.cfg
 }
 
 function get_os_type {
@@ -117,9 +117,11 @@ 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
+    elif [ -f (loop)/live/initrd.img ]; then 
         vt_linux_specify_initrd_file /live/initrd.img
-        
+    elif [ -f (loop)/initrd.img ]; then 
+        vt_linux_specify_initrd_file /initrd.img
+
     fi
 }