Proxmox/PiMox installer for Ten64

Hi all,

For a while now, the PiMox project has maintained an ARM64 port of Proxmox. I know a few users have been using our OpenWrt builds as guest VMs under it.

With a bit of tweaking I have managed to get Pimox to reliably install on a Ten64!
See my fork repo for more details.

The installer script is here: pimox-ten64/IA-Install.sh at master · mcbridematt/pimox-ten64 · GitHub or
https://github.com/mcbridematt/pimox-ten64/raw/master/IA-Install.sh

Proxmox/PiMox for Ten64

This is not an official port of Proxmox

This is a installer script for Proxmox/PiMox (Proxmox port for ARM64 machines) that
will work on the Ten64

It’s based off the original pimox7 installer script,
with tweaks to account for differences between the Raspberry Pi and Ten64
(for example, configuring GRUB to supply the kernel command line instead of RPI’s cmdline.txt).

Just after I finished testing the pimox7/PVE7.2 port, jiangcuo
published a set of packages for PVE7.3. Thankfully this installer script will work with their
repository as well.

If you want to use the pimox7 package set, just edit the repository used in the install script.

Installation instructions

  1. Install a fresh Debian stable (11) using the appliance store / recovery environment

    baremetal-deploy debian-stable /dev/nvme0n1

  2. Once your fresh Debian install is up and running, copy the IA-Install.sh script to your Ten64

  3. Run the IA-Install.sh as the default (debian) user, from the serial console (you will lose network connectivity during the install process!)

    debian@debian:~$ sudo -i # (elevate to root, needs to be -i to get the root user profile)
    root@debian:/home/debian# bash IA-Install.sh

  4. Wait for the install to finish. It will reboot automatically.

    Note: About 1GB of packages will be downloaded during the install process.

Notes

eth0 will be setup as the uplink for the default bridge interface vmbr0.
You can change this by editing /etc/network/interfaces, or using the Network configuration UI in Proxmox.

When creating a VM you will need to note the following:

  • You need to select UEFI as the BIOS for VMs. You will be prompted to assign a disk
    drive for UEFI variables.

  • On Proxmox/PiMox 7.2, it creates a VM using IDE for the CDROM as default. This will not work.

    In the VM creation wizard, leave the CDROM unconnected.

    When the VM has been created, delete the ide2 CDROM device and create a new one using SCSI.

    In the boot order options, edit the boot order so the new scsi CDROM device is after the VM disk and PXE/network

Troubleshooting

Sometimes the bridge interface (vmbr0) does not start automatically on boot.
You might need to login on the serial console and bring it up manually

ifup vmbr0

Resources / More Info

Many thanks to the Pimox community for bringing Proxmox to Arm64!

μVirt vs Proxmox/Pimox: which is better?

Proxmox is significantly more fully featured than μVirt (example: pause/resume VMs, LXC, more storage options, backup functionality), whereas μVirt was designed for low-overhead virtualization in ‘converged’ networking and compute environments. It’s smaller footprint also allows us to experiment with features like DPAA2 passthrough, self-contained k3s setup and more.

We are still developing μVirt and there are a few features we intend to add in the coming months (such as our 4G/5G management stack, configuring guest workloads like AWS Greengrass and potential hardware network acceleration)

2 Likes

Great work, Promox is a great addition.

What’s the performance like?

Can openwrt be run as a VM with SFP+ support.

I wanted to try this out, but the install script failed…

Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package proxmox-ve
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package pve-manager
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package proxmox-ve

Could be due to this error that came earlier:

Err:9 https://foxi.buduanwang.vip/pan/foxi/Virtualization/proxmox/foxi bullseye Release
404 Not Found [IP: 162.14.99.182 443]
Reading package lists… Done
E: The repository ‘https://foxi.buduanwang.vip/pan/foxi/Virtualization/proxmox/foxi bullseye Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

I saw on the proxmox site that Proxmox VE 7.4 is out. Is that maybe the reason?

Looks like the debian repo for pimox has moved. I corrected it in the install script, and this appears to work.