Raspberry Pi 5 16GB¶
My Raspberry Pi 5 16GB is being used as another arm64 Proxmox server.
Config¶
OS: Rasbperry Pi OS Lite (64-bit)
RAM: 16GB
HAT1: Raspberry Pi Active Cooler
Enable PCIe¶
Tip
When connecting the PCIe adapter to the pi, ensure that the correct end of the ribbon cable is being plugged into the correct connector. Typically, the ribbon cable ends are labeled.
/boot/firmware/config.txt
Enable auto detection PCIe and booting from NVMe¶
The 6 means to enable booting from nvme. Reboot Raspberry Pi 5 and try to use lsblk or lspci -vvv to get more details of the PCIe device.
Enable 5A PSU¶
If apt is slow, it might be due to the pi reducing the power input.
Set Resolution¶
When using a TV as a temporary monitor, usually when troubleshooting the booting from a USB or NVMe drive, the text size can be way too small. This is how to change the resolution on boot of the command line so that it can be read more easily on the TV.
Warning
This does not seem to work for the Raspberry Pi 4 for some reason. Perhaps it's the display port mapping?
/boot/firmware/cmdline.txt
PXVIRT¶
Setup LVM first
Setup Raspberry Pi OS¶
Install PXVIRT¶
Warning
Proxmox-Port has now been replaced by PXVIRT! The information below may be out of date!
Add the PXVIRT repository¶
/etc/apt/sources.list.d/pxvirt.list
Add the PXVIRT repository key
Install ifupdown2 and PXVIRT packages
Configure packages which require user input on installation according to your needs (e.g. Samba asking about WINS/DHCP support). If you have a mail server in your network, you should configure postfix as a satellite system, your existing mail server will then be the relay host which will route the emails sent by the Proxmox server to their final recipient.
If you don't know what to enter here, choose local only and leave the system name as is.
Reenable SSH¶
/etc/ssh/sshd_config
Finally, you can connect to the admin web interface (https://youripaddress:8006).
Network¶
Missing vmbr0¶
Warning
This should be done before reboot, else you won't be able to connect to the network!
Create vmbr0 network interface in GUI
/etc/network/interfaces
Where eth0 is the current existing network interface
Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Version' value from '' to '10.0' Error¶
Proxmox VE Helper-Scripts¶
Swap¶
The Raspberry Pi uses dphys-swapfile to manage it's swap.
For Proxmox, I'm using a logical volume instead of a swap file.
Change Swap Size¶
Disable Permanently¶
LVM¶
See LVM.