ventoy / vdiskchain

chainload to linux vdisk from other bootloaders

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vdiskchain

For Ventoy Linux vDisk, please refer: https://www.ventoy.net/en/plugin_vtoyboot.html

This project is used to chainload Ventoy Linux vDisk file from other bootloaders(e.g. grub4dos/grub2/rEFInd/...)

The vDisk file can be in any disk and any partition only if it is in one of FAT32/NTFS/exFAT/XFS/Ext2/Ext3/Ext4/UDF filesystem.

usage

i386-pc

grub4dos:
kernel /ipxe.krn vdisk=/MyVdiskDir/Deepin.vdi.vtoy
initrd /vdiskchain

GRUB2:
linux16  (hd0,1)/ipxe.krn vdisk=/MyVdiskDir/Deepin.vdi.vtoy
initrd16 (hd0,1)/vdiskchain

x86-64-efi

grub2:
chainloader (hd1,1)/test123/vdiskchain vdisk=/MyVdiskDir/Deepin.vdi.vtoy

rEFInd:
loader /vdiskchain vdisk=/MyVdiskDir/Deepin.vdi.vtoy

Systemd-boot:
efi /vdiskchain vdisk=/MyVdiskDir/Deepin.vdi.vtoy

known issue

  1. For i386-pc, the bootloader(grub4dos/grub2) must be booted from disk(not cdrom), or it will chainload fail.

About

chainload to linux vdisk from other bootloaders


Languages

Language:C 94.7%Language:Assembly 2.5%Language:Perl 1.4%Language:Makefile 0.7%Language:PHP 0.5%Language:Shell 0.2%Language:Roff 0.1%Language:GDB 0.0%Language:HTML 0.0%