https://github.com/ventoy/vdiskchain
chainload to linux vdisk from other bootloaders
https://github.com/ventoy/vdiskchain
Last synced: about 1 year ago
JSON representation
chainload to linux vdisk from other bootloaders
- Host: GitHub
- URL: https://github.com/ventoy/vdiskchain
- Owner: ventoy
- Created: 2021-01-19T14:08:08.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-26T07:22:39.000Z (almost 5 years ago)
- Last Synced: 2025-05-06T17:26:33.883Z (about 1 year ago)
- Language: C
- Size: 2.55 MB
- Stars: 56
- Watchers: 6
- Forks: 10
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vdiskchain
For Ventoy Linux vDisk, please refer: [https://www.ventoy.net/en/plugin_vtoyboot.html](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.