12-06-2020, 11:04 AM
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
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
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