In this example, my_vdisk_path is set to /VhdDir/ you can change it to your customized path (e.g. Vtoyboot_common_func "($vdiskhd)$my_vdisk_path" If search -n -s vdiskhd -f "$my_vdisk_path" then Please refer Menu Extension Plugin for details about the custom boot menu.Īdd a menu like follows to ventoy_grub.cfg, only need to change my_vdisk_path to the absolute path of the actual file (from the root of that partition). Please refer Boot Image Files In Local Disk Method 2 You can also boot a vdisk file in local disk by Ventoy. The manual above is for copy the vdisk file to the USB drive and boot with Ventoy. You need to run the vtoyboot script again after the update or there is a certain probability that the vDisk will not boot next boot. However, if you update the linux kernel or driver, or update the whole system (e.g. For example:Ĭ ubuntu20.04.vdi.vtoy Īfter you boot vDisk in a physical machine, you can install and upgrade ordinary software without restrictions. It is recommended to keep the original suffix while adding a. For facilitate identification and processing, you MUST change the file suffix to. vtoy and boot with VentoyĪfter completing the first 2 steps, now you can copy the vdi/vhd file to the Ventoy USB drive and boot it. Copy to USB drive, change the suffix to.Note that vtoyboot will be updated to support more Linux distros and fix bugs, so please use the latest release. Put the downloaded package into the linux distro, decompress it and run vtoyboot.sh as root sudo sh vtoyboot.sh Vtoyboot is a project developed with Ventoy and released separately. Run vtoyboot script to make some process to support Ventoy boot. Īfter install and boot into the linux distro. This package is at /pool/main/g/grub2/ directory of the ISO file and can be installed with dpkg -i command.Ĭan NOT create snapshot of the VirtualMachine, or the vdi/vhd will be unbootable. Take deepin-desktop-community-1010-amd64.iso for example, grub-pc-bin_2.02.24.3-1+eagle_b is needed. If there is no special explanation, it is not necessary. You must set VirtualBox to UEFI mode before install OS !!! !!! Attention !!!įor some distros, we need to install an additional grub package to make the final vhd/vdi file bootable in Legacy BIOS mode.įor this, there is an explanation in the "Notes" column at the end of the previous table. In order to make the vhd/vdi file bootable in both Legacy BIOS mode and UEFI mode. The virtual hard disk must be newly created, do not use the existing ones. You can make use of VirtualBox, the installation process is no different from normal installation. In theory, other distros which use dracut/initramfstool/mkinitcpio to build initramfs are also supported.Ĭreate vhd/vdi with fixed size (dynamic type not supported) and install supported Linux distro into the vhd/vdi. If you don't need it anymore, just delete it as a normal file. The Linux OS does not need a disk or partition, just in a file.įor example, Windows is your main OS, and you put some Ubuntu/Debian/Arch. One vhd/vdi file can be booted in both Legacy BIOS mode and UEFI mode.ģ. The Linux OS runs on a physical machine, not in a virtual machine, so there is no loss in efficiency.Ģ. with a Linux distro in it) on a real machine.īoth Legacy BIOS and UEFI are supported. This plugin is used by Ventoy to boot vdisk file (vhd/vdi/raw.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |