I'm new to Proxmox (hello people!) and I'm migrating my GnomeOS system from scratch over to Proxmox. It has an unusual configuration that I'm trying to replicate:
so far I think I'm close but unfortunately not quite correct with the following:
as I'm getting the following error:
The paths to the local OVMF_CODE.fd file has been checked and The arbitary empty file I've put on the node at /var/local/nvram/gnome_os.fd to replicate what I did in virt-manager. These nvram are required for this system to start as I've tried to remove these and it hangs failing to find a boot device. Which is the same behavior as I had in virt-manager when I was likewise without these items.
All ideas welcome!
XML:
<os firmware="efi">
<type arch="x86_64" machine="pc-q35-8.1">hvm</type>
<firmware>
<feature enabled="no" name="enrolled-keys"/>
<feature enabled="no" name="secure-boot"/>
</firmware>
<loader readonly="yes" type="pflash">/usr/share/edk2/ovmf/OVMF_CODE.fd</loader>
<nvram template="/usr/share/edk2/ovmf/OVMF_VARS.fd">/var/lib/libvirt/qemu/nvram/gnome46_VARS.fd</nvram>
<bootmenu enable="yes"/>
</os>
YAML:
args: \
-drive 'if=pflash,format=raw,readonly=on,file=/usr/share/pve-edk2-firmware/OVMF_CODE.fd' \
-drive 'if=pflash,format=raw,file=/var/local/nvram/gnome_os.fd'
bios: ovmf
boot: order=scsi0;ide2;net0
efidisk0: local-btrfs:100/vm-100-disk-2.raw,efitype=4m,pre-enrolled-keys=1,size=528K
ide2: local-btrfs:iso/gnome_os_installer.iso,media=cdrom,size=3501902K
machine: q35
Code:
kvm: -drive if=pflash,format=raw,readonly=on,file=/usr/share/pve-edk2-firmware/OVMF_CODE.fd: machine type does not support if=pflash,bus=0,unit=2
kvm: -drive if=pflash,format=raw,file=/var/local/nvram/gnome_os.fd: machine type does not support if=pflash,bus=0,unit=3
TASK ERROR: start failed: QEMU exited with code 1
All ideas welcome!