ARM64 VM on Proxmox

Cirrus

New Member
Jun 30, 2024
5
0
1
I am trying to install ARM64 (Raspberry Pi kernel) VM om my Proxmox server but it returning with errors. I am following https://i12bretro.github.io/tutorials/0661.html tutorial.

My configuration for VM is


#vmgenid%3A c536c9cf-a7f3-476d-8c7d-6b6d55db8974
arch: aarch64
bios: ovmf
boot: order=scsi2;scsi0;net0
cores: 1
efidisk0: local-lvm:vm-222-disk-2,efitype=4m,size=64M
memory: 4096
meta: creation-qemu=9.0.0,ctime=1719756990
name: RPI
net0: virtio=BC:24:11:77:9D:BF,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-222-disk-0,size=16G
scsi2: local:iso/2024-03-15-raspios-bookworm-arm64.img,media=cdrom,size=5676M
scsihw: virtio-scsi-single
serial0: socket
smbios1: uuid=8b36c3e5-2424-4e6f-bd47-803c73427db9
sockets: 1
unused0: local-lvm:vm-222-disk-1
vga: serial0

When i am tying to start the VM it returning an error

qemu-system-aarch64: -device virtio-scsi-pci,id=virtioscsi0,bus=pcie.3,addr=0x1: Bus 'pcie.3' not found
TASK ERROR: start failed: QEMU exited with code 1

Any idea what's wrong with my setup?
 
Last edited:
If i change VirtIO SCSI Single to VirtIO SCSI i amn not getting same error but VM will not start anyway. In terminal i'm getting

starting serial terminal on interface serial0

PXE-E16: No valid offer received.
BdsDxe: failed to load Boot0003 "UEFI PXEv4 (MAC:BC2411779DBF)" from PciRoot(0x0)/Pci(0x12,0x0)/MAC(BC2411779DBF,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0): Not Found

>>Start PXE over IPv6.
PXE-E16: No valid offer received.
BdsDxe: failed to load Boot0004 "UEFI PXEv6 (MAC:BC2411779DBF)" from PciRoot(0x0)/Pci(0x12,0x0)/MAC(BC2411779DBF,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000,0x0,Static,0000:0000:0000:0000:0000:0000:0000:0000,0x40,0000:0000:0000:0000:0000:0000:0000:0000): Not Found

>>Start HTTP Boot over IPv4.....
Error: Could not retrieve NBP file size from HTTP server.

Error: Server response timeout.
BdsDxe: failed to load Boot0005 "UEFI HTTPv4 (MAC:BC2411779DBF)" from PciRoot(0x0)/Pci(0x12,0x0)/MAC(BC2411779DBF,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0)/Uri(): Not Found

>>Start HTTP Boot over IPv6.
 
It's trying to start from the network; is that intentional? Please double check the boot order. Maybe use IDE for the ISO? Maybe even install PVE 7 in a VM and try to create it there (as things may have changed between PVE versions)?
 
I've changed boot order to ISO image (CD) first.

boot: order=scsi2;scsi0;net0

It will not boot and defaults to network at last.



BdsDxe: failed to load Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x2): Not Found
BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0): Not Found

>>Start PXE over IPv4.


I will try PVE 7, thanx!
 
efidisk0: local-lvm:vm-222-disk-2,efitype=4m,size=64M
This site which your tutorial is based on uses the raw format for the efidisk, as shown on that site:
efidisk0: local:100/vm-3007-disk-0.raw,size=64M
so maybe remove your efidisk from the VM, & add one in raw format.

One other thing I notice, the site you base your install on & the one he bases himself on, are both doing a Debian 10/11 ARM64 install. Yours is the Raspios bookworm based one - so very different indeed.

Another thing; Why don't you just use the officially released Raspberry Pi Desktop for PC ISO from here?
 
IDE for the CD-Rom did not work
....neither did downgrading do PVE7
i found a video of tutorial and he has no elfidisk setup in his config att all

Actually i want to install Paspi bookworm just for test. I have a lot of RPis with specific images that i want to use as VMs, PrusaLink for example.

How do i create a RAW efidisk?
 
How do i create a RAW efidisk?
One way; if you already have the VM setup, in the GUI go to the VM's Hardware, choose from Add (dropdown on top) EFI Disk then choose desired Storage & then under that Format you can choose Raw.
 
I did manage it to it install on PVE7, kind off. It only worked with the image form the guide Debian ARM64 iso. Non of other ARM64 RPi images worked.
On PVE8 with same Debian image i'm geting:

TASK ERROR: EFI base image '/usr/share/pve-edk2-firmware//AAVMF_CODE.fd' not found

Which looks to be a known pve-edk2-firmware-aarch64 issue in PVE8.1

is there any way to emulate armhf or is it limited to arm64?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!