Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Boot direct to Vdisk
#1
Using this ventoy_grub.cfg:

Code:
menuentry "Boot Mint (Xfce)" {   
    set my_vdisk_path="/Virtualbox/LinuxMint(Xfce).vdi.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
}

then after the first menu loads, which says it couldn't find any ISOs, I can press F6 and then boot my vdisk from there, either from the USB stick or the computer's HDD (which is obviously faster). That works but I want to skip straight to the second menu.

I created this ventoy.json:

Code:
{
    "control": [
        { "VTOY_DEFAULT_MENU_MODE": "0" },
        { "VTOY_FILT_DOT_UNDERSCORE_FILE": "1" },
        { "VTOY_SORT_CASE_SENSITIVE": "0" },
        { "VTOY_MAX_SEARCH_LEVEL": "1" },
        { "VTOY_MENU_TIMEOUT": "10" },
        { "VTOY_DEFAULT_KBD_LAYOUT": "QWERTY_UK" },
        { "VTOY_FILE_FLT_VTOY": "1" },
        { "VTOY_DEFAULT_IMAGE": "/Virtualbox/LinuxMint(Xfce).vdi.vtoy" },
    ],
   
   "image_list": [
    "/Virtualbox/LinuxMint(Xfce).vdi.vtoy"
    "/Virtualbox/LinuxMint(MATE).vdi.vtoy"
    ]
}


but it says "syntax error detected" when I boot with that. Can anyone see what's wrong?

Also, I'd like to try booting my vdisk on my PC from my grub4dos boot menu, without needing to use a USB stick, but it seems I need vdiskchain and it doesn't seem to be available anywhere to download, only if you can compile it using the files here https://github.com/ventoy/vdiskchain which I don't know how to do. Is there anywhere I can download it?
Reply


Messages In This Thread
Boot direct to Vdisk - by doveman - 10-06-2021, 03:20 PM
RE: Boot direct to Vdisk - by doveman - 10-07-2021, 11:47 PM
RE: Boot direct to Vdisk - by ubershark - 11-18-2021, 10:53 PM
RE: Boot direct to Vdisk - by longpanda - 10-08-2021, 11:16 AM
RE: Boot direct to Vdisk - by Midas - 11-19-2021, 05:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)