Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
【Solved】Linux vDisk Boot Plugin -set my_vdisk_path-
#1
solved 
Thanks for your nice how2

here

It worked for me creating a mint20 vdi.vtoy

which runs perfect from my ventoy usb drive.
Ventoy sees this vdi.vtoy and i can boot from usb menu.

you said to boot from hd

Add a menu like follows to ventoy_grub.cfg, only need to change

Code:
my_vdisk_path

to the absolute path of the actual file (from the root of that partition).
menuentry "Boot My Linux VHD" {   
    set my_vdisk_path="/VHD/mylinux.vhd.vtoy"
   
    if search -n -s vdiskhd -f "$my_vdisk_path"; then
        vtoyboot_common_func "($vdiskhd)$my_vdisk_path"
    else
        echo "$my_vdisk_path not found"
    fi
}



Which HD do i have to define [i]set my_vdisk_path="/VHD/mylinux.vhd.vtoy"[/i]
or is this just the absolute path on any connected HD and vtoy looks @ all HDs?

And do i need to define [i]my_vdisk_path[/i]

thanks
Reply


Messages In This Thread
【Solved】Linux vDisk Boot Plugin -set my_vdisk_path- - by lambu - 12-06-2020, 11:04 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)