Files
nel_os_uefi/nel_os_bootloader/run-qemu.sh
mii443 48d77546c4 wip
2025-07-02 02:35:45 +09:00

18 lines
341 B
Bash
Executable File

#!/bin/sh -ex
EFI_BINARY="$1"
./clean.sh
./create-iso.sh "$EFI_BINARY"
qemu-system-x86_64 -enable-kvm \
-m 4G \
-nographic \
-serial mon:stdio \
-no-reboot \
-drive if=pflash,format=raw,readonly=on,file=OVMF_CODE.fd \
-drive if=pflash,format=raw,readonly=on,file=OVMF_VARS.fd \
-cdrom nel_os.iso \
-boot d \
-s