Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Design ventoy (support for setting different backgrounds for different folders).
#9
Code:
# ISO file must be located at /data/krd.iso
menuentry "Kaspersky Rescue Disk 2018 (PTN 3)" {
set iso_path="/data/krd.iso"
set lang="en"
set root=(${vtoydev},3)
# en=English; ru=Russian
# if [ x$lang != xru ]; then set lang=en; fi
# booting ${iso_path}
search -s root -f ${iso_path}
loopback loop ${iso_path}
if cpuid -l; then set _kernel="k-x86_64"; else set _kernel_="k-x86"; fi
linux (loop)/boot/grub/${_kernel} net.ifnames=0 lang=${lang} dostartx isoloop=krd.iso
initrd (loop)/boot/grub/initrd.xz
}


This works for me from VBOX. Seems OK with both NTFS and FAT32 formatted partitions (not tried exFAT). Tested under VBOX+Win10, UEFI64 and Legacy BIOS VMs.
Search line can be deleted.
Please stop cross-posting. This thread is about backgrounds not booting ISOs !
Reply


Messages In This Thread
RE: Design ventoy (support for setting different backgrounds for different folders). - by Steve2926 - 02-05-2022, 09:51 AM

Forum Jump:


Users browsing this thread: 11 Guest(s)