ventoy / vtoyboot

Work with ventoy to support boot Linux distros in a vdisk file (vhd/vdi/raw ...)
GNU General Public License v3.0
275 stars 23 forks source link

manjaro cinnamon Minimal 21.0.7 in .vdi.vtoy: can't boot in Legacy BIOS mode #12

Closed candrapersada closed 3 years ago

candrapersada commented 3 years ago

why when using Manjaro in Legacy BIOS mode it doesn't boot?

device-mapper: reload ioctl on ventoy (254:0) failed: Invalid argument
Command falied.

image manjaro-cinnamon-21.0.7-minimal-210623-linux510.iso vtoyboot-1.0.14.tar.gz vdiskchain-1.3

ventoy commented 3 years ago

How did you boot it ? By Ventoy or by vdiskchain? Can it boot ok when you copy it to USB and boot by Ventoy? Can it boot ok when you copy it to the Hard disk and boot by Ventoy USB? Boot vDisk at Local disk by Ventoy Can it boot ok in UEFI mode?

candrapersada commented 3 years ago

By Ventoy or by vdiskchain?

I use Ventoy to boot in UEFI mode and use vdiskchain to boot in Legacy BIOS mode from Grub2Win

Can it boot ok when you copy it to the Hard disk and boot by Ventoy USB?

OK

Can it boot ok in UEFI mode?

ok but only boot from in Uefi mode on ventoy USB

ventoy commented 3 years ago

Can it boot ok if you use other bootloader with vdiskchain in Legacy BIOS mode ? (e.g. grub4dos/grub2)

candrapersada commented 3 years ago

Can it boot ok if you use other bootloader with vdiskchain in Legacy BIOS mode ?

ok

ventoy commented 3 years ago

So it maybe a compatibility problem with Grub2Win. I only tested grub4dos and grub2.

ventoy commented 3 years ago

I don't have enough time to test for all type of bootloaders and I'm not familar with Grub2Win.

candrapersada commented 3 years ago

but still can't boot Manjaro in ventoy and grub2 in Legacy BIOS mode gambar

ventoy commented 3 years ago

Can it boot ok when you copy it to USB and boot by Ventoy in Legacy BIOS mode?

ventoy commented 3 years ago

Only manjaro has this problem? Did you test other distros(e.g. CentOS/Arch/Ubuntu)

candrapersada commented 3 years ago

Can it boot ok when you copy it to USB and boot by Ventoy in Legacy BIOS mode?

ok

Only manjaro has this problem?

yes

Did you test other distros(e.g. CentOS/Arch/Ubuntu)

yes for Ubuntu and Zorin OS

ventoy commented 3 years ago

In this problem:

  1. You put the vtoy file in USB or harddisk?
  2. May the file corrupted during copy?
candrapersada commented 3 years ago
  1. You put the vtoy file in USB or harddisk?

harddisk

  1. May the file corrupted during copy?

not

ventoy commented 3 years ago

If this vtoy file in harddisk, both legacy BIOS mode and UEFI mode can't boot. No matter whether you use Ventoy to boot it or use vdiskchain to boot it.

If this vtoy file in USB, both legacy BIOS mode and UEFI mode can boot ok with Ventoy.

Right?

candrapersada commented 3 years ago

not. only UEFI mode can boot Manjaro on ventoy. and legacy BIOS mode that won't boot into Manjaro on ventoy

candrapersada commented 3 years ago

I have tested Manjaro on my harddisk but only UEFI mode works fine on Ventoy USB.

ventoy commented 3 years ago

Can you compress and share me the manjaro.vtoy file for test?

candrapersada commented 3 years ago

not always big

candrapersada commented 3 years ago

https://download.manjaro.org/cinnamon/21.0.7/manjaro-cinnamon-21.0.7-minimal-210623-linux510.iso

ventoy commented 3 years ago

I want your vtoy file for test, not the ISO file.

ventoy commented 3 years ago

What about the latest vtoyboot-1.0.15 ?

candrapersada commented 3 years ago

yes it works fine to boot in legacy BIOS mode. but why should there be .tar.gzin the iso if you can go directly to vtoyboot without having to use the .tar.gzextract tool?

ventoy commented 3 years ago

good news. iso is a read only file system. In the script, some process(e.g. chmod, create temp file or log) need the write permission. I provide iso file only for convenience to transfer the tar.gz file to the VM.

Since the problem has been fixed, I will close the issue now.