Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Design ventoy (support for setting different backgrounds for different folders).
#18
(02-07-2022, 05:48 PM)Steve2926 Wrote: The search line in the grub2 commands will find the iso on any device at the path specified, but the kernel will load the same iso again and search all devices for the iso file ONLY if it is in the /data folder.
Please post your complete menu that you are using.
https://www.tnctr.com/topic/1104765-alta..._g4e-1064/

menuentry "${chosen_path}" --class=kapersky {
set iso_path="/data/krd.iso"
set lang="en"
if cpuid -l; then set _kernel="k-x86_64"; else set _kernel_="k-x86"; fi
loopback loop $iso_path
linux (loop)/boot/grub/${_kernel} net.ifnames=0 lang=${lang} dostartx trace isoloop=krd.iso
initrd (loop)/boot/grub/initrd.xz
}

What caught my attention was that if linux.iso is at the root of any partition of the hdd in the above system, the code is executed. If we put the iso file under a directory, no code is executed. The code does not work when krd.iso is put into the data folder as well. (sorry for bad english please)


Reply


Messages In This Thread
RE: Design ventoy (support for setting different backgrounds for different folders). - by serhat100 - 02-07-2022, 06:09 PM

Forum Jump:


Users browsing this thread: 11 Guest(s)