-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFE] autodetect/parametrize vtoyboot to skip if virtual-machine boot #42
Comments
vtoyboot does detect the boot environment when booting. |
Can step 4 boot normal to the VM? (I test with VirtualBox and this is OK) |
okay, its my bad. Sorry for false alarm and thank you for replying. There have been package-updates in the intervening time and so bug may have been spurious. I attempted a couple of VM boots, post-install of vtoyboot and image booted successfully to GUI.
Its good to know that it will also work on virtualbox. I should have been more perceptive and looked more closely to see how far into the boot process that spurious attempt had gone, and for what reason it stalled. I will do so next time if it ever reoccurs. I will close this bug for now, and reopen only if I can recreate it. |
Feature: to autodetect/parametrize vtoyboot to skip making dm-device. This allows for the usecase wherein the image can also be booted from inside a virtual-machine
I understand that vtoyboot is a script that introduces a script into initramfs bootsequence and uses dm/device-mapper to synthesize a 'ventoy' disk to mount and pivot-to-the-rootfs while native-booting from ventoy.
my setup
After running vtoyboot.sh inside the VM/qemu, quite expectedly, as it introduces script into initramfs, the image can no longer boot from inside the VM/qemu. It is however possible to boot into image via ventoy-native-boot.
It may be desirable for the vtoyboot initramfs script to skip and not do its thing (as though vtoyboot is not run), when being booted in a VM, as qemu already provides an emulated virtualdisk to the booted OS.
Q) is there a grub2 command line argument or detectible ventoy environment variable that when detected can skip making the dm device and continue to pivot to rootfs as normal and continue booting the main bootdisk ie /dev/sda ?
workarounds:
my Apologies if I am missing something or understood wrong about vtoyboot, I am new to vtoyboot.
The text was updated successfully, but these errors were encountered: