This Repository is for all "Proxmox ARM64" Instances running on a Raspberry PI 4B.
You can use this pre-build Linux Kernel for better compatibility with Proxmox without building it your self.
Proxmox-Port by jiangcuo
Proxmox-Arm64 by jiangcuo
RaspberryPi Kernel Sourcecode
OpenZFS Sourcecode
- RamDisk Boot
- OpenZFS Support
- KSM Kernel Support
- VLAN Filtering
Download the newest Kernel Version (6.6.*)
wget -q --show-progress https://github.com/Rappelkiste98/raspberry-linux-pve/releases/download/6.6.31/linux-image-6.6.31-v8-pve+_arm64.deb &&
wget -q --show-progress https://github.com/Rappelkiste98/raspberry-linux-pve/releases/download/6.6.31/linux-headers-6.6.31-v8-pve+_arm64.deb
Install new Kernel Image
sudo apt install $PWD/linux-image-6.6.31-v8-pve+_arm64.deb
Install new Kernel Headers
sudo apt install $PWD/linux-headers-6.6.31-v8-pve+_arm64.deb
Configure new Bootloader settings for installed Kernel
mv /boot/vmlinuz-6.6.31-v8-pve+ /boot/firmware/
mv /boot/initrd.img-6.6.31-v8-pve+ /boot/firmware/
sudo nano /boot/firmware/config.txt
At File End add this Lines:
[pi4]
kernel=vmlinuz-6.6.31-v8-pve+
initramfs initrd.img-6.6.31-v8-pve+ followkernel
Configure old Bootloader settings for installed Kernel
sudo nano /boot/config.txt
At File End add this Lines:
[pi4]
kernel=vmlinuz-6.6.31-v8-pve+
initramfs initrd.img-6.6.31-v8-pve+ followkernel
Hold official RaspberryPi Kernel APT Packages (APT doesn't upgrade this Packages after this Settings)
sudo apt-mark hold raspberrypi-kernel raspberrypi-kernel-headers
Reboot your RaspberryPi and Check used Kernel
uname -r => 6.6.31-v8-pve+
sudo modprobe zfs => No Return Value is fine
sudo zpool --version => 'zfs-2.2.0-pve4 zfs-kmod-2.2.99-1'
sudo modprobe drm_kms_helper => No Return Value is fine
sudo cat /sys/kernel/mm/ksm/run => '0' Or '1' (KSM activates automatically at 70% RAM Usage)
sudo cat /sys/kernel/mm/ksm/pages_shared => '0' Or Bigger
sudo apt install ksmtuned
sudo systemctl enable --now ksm.service
sudo systemctl enable --now ksmtuned.service
1. Take your Raspberry PI Boot-Device (USB HDD/SSD OR SD-Card) and connect it to another Computer
2. Open the "config.txt" on the Bootpartion
3. Uncomment the new attached Lines:
#kernel=vmlinuz-6.1.58-pve+ initramfs
#initrd.img-6.1.58-pve+ followkernel
4. Save "config.txt" and connect it to the Raspberry PI
5. Reboot Raspberry PI
Now the Default Raspbian Linux Kernel is used.