Closed sherpya closed 2 years ago
even worse on bare metal, I cannot press a key and the boot hangs there
this is my script to launch qemu
#!/bin/sh
CODE=/home/sherpya/ovmf-x64/OVMF_CODE.fd
VARS=/home/sherpya/ovmf-x64/OVMF_VARS.fd
exec sudo qemu-system-x86_64 \
-display gtk,zoom-to-fit=on \
-enable-kvm -machine type=q35,smm=on,accel=kvm \
-smp sockets=1,cpus=4,cores=2 -cpu host \
-global ICH9-LPC.disable_s3=1 \
-global driver=cfi.pflash01,property=secure,value=on \
-m 16384 \
-serial stdio \
-usb -device usb-tablet \
-netdev user,id=hostnet0 -device virtio-net-pci,romfile=,netdev=hostnet0 \
-drive if=pflash,format=raw,unit=0,readonly=yes,file=${CODE} \
-drive if=pflash,format=raw,unit=1,file=${VARS} \
-drive file="/dev/sda",if=ide,cache=none,index=0,format=raw,snapshot=on \
$*
@ventoy it would be possible to inject a replacement /boot/grub/grub.cfg
before starting grub?
grub.cfg
is also signed and will be checked when boot.
I used to make a sort of ventoy but only using vanilla grub, many iso are just bootable by grub with some trick, I was loading it directly, the only problem was the version I used insisted to have the iso in /data directory. Anyway you may overwrite the efi shim with ventoy efi grub :D
if there are no cleaner solutions you can just close this issue
Official FAQ
Ventoy Version
1.0.63
What about latest release
Yes. I have tried the latest release, but the bug still exist.
BIOS Mode
UEFI Mode
Partition Style
MBR
Disk Capacity
128
Disk Manufacturer
SanDisk
Image file checksum (if applicable)
No response
Image file download link (if applicable)
https://www.kaspersky.it/downloads/thank-you/free-rescue-disk
What happened?
I'm using QEMU + OVMF to test images
after selecting what to boot, the (internal) grub says:
after some second it just continue by itself, but Linux fails to identify the root block device Spawning a shell I see
sda
andsr0
in/proc/partitions
I cannot mount sr0 because it says no medium found
I'll try booting on bare metal