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
Proxmox¶
Setup LVM first
Setup Raspberry Pi OS.¶
Download image
Write image to SD card
Create Username & Password¶
/boot/firmware/userconf.txt
Enable SSH¶
Kernel Page Size¶
You should use the Kernel with 4K pagesize
CT Notes¶
Is the container summary memory usage and swap usage always shows 0
?
/boot/firmware/cmdline.txt
Unmount SD card, plug into the Raspberry Pi and boot
Proxmox Installation¶
Tip
Alternatively, the ISO may be downloaded and installed as a removable media.
Log into the Raspberry Pi using SSH.
Add an /etc/hosts
entry for your IP address.
Please make sure that your machine's hostname is resolvable via /etc/hosts
, i.e. you need an entry in /etc/hosts
which assigns an address to its hostname.
Make sure that you have configured one of the following addresses in /etc/hosts
for your hostname:
1 IPv4
or 1 IPv6
or 1 IPv4
and 1 IPv6
Note
This also means removing the address 127.0.1.1
that might be present as default.
For instance, if your IP address is 192.168.15.77
, and your hostname prox4m1
, then your /etc/hosts
file could look like:
/etc/hosts
Install Proxmox VE¶
Add the Proxmox VE repository¶
/etc/apt/sources.list.d/pveport.list
Add the Proxmox VE repository key
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.