This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pi5_proxmox [2024/04/26 20:09] – admin | pi5_proxmox [2024/05/05 10:44] (current) – [Change boot order to boot from NVMe] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Proxmox on Raspberry Pi5 ====== | ====== Proxmox on Raspberry Pi5 ====== | ||
+ | This is a little summary on how to setup an run VMs using Proxmox on a NVMe | ||
===== Resources ===== | ===== Resources ===== | ||
- | * NVMe setup: [[https:// | + | * NVMe setup: [[https:// |
* Proxmox install: https:// | * Proxmox install: https:// | ||
+ | * Additional information on how to create a VM (section "VM erstellen" | ||
- | ===== NVMe ===== | + | First of all, install Raspberry Pi OS as you would normally using Pi Imager or alike |
+ | |||
+ | ===== NVMe setup ===== | ||
Edit ''/ | Edit ''/ | ||
Line 39: | Line 43: | ||
</ | </ | ||
- | ==== Change boot order ==== | ||
- | Run '' | + | ==== Clone SD-card to NVMe ==== |
+ | |||
+ | First, wipe all partitions before cloning the SD card: | ||
< | < | ||
- | BOOT_ORDER=0xf416 | + | umount / |
- | PCIE_PROBE=1 | + | wipefs --all --force / |
+ | wipefs --all --force / | ||
+ | dd if=/ | ||
</ | </ | ||
+ | Finally clone the OS | ||
- | '' | + | < |
+ | rpi-clone nvme0n1 | ||
+ | </ | ||
+ | |||
+ | ==== Change boot order to boot from NVMe ==== | ||
+ | |||
+ | Run '' | ||
- | Wipe all partitions before cloning the SD card: | ||
< | < | ||
- | umount / | + | BOOT_ORDER=0xf416 |
- | wipefs --all --force / | + | PCIE_PROBE=1 |
- | wipefs --all --force / | + | |
- | dd if=/ | + | |
</ | </ | ||
- | ===== Add Proxmox repo ===== | + | After another '' |
+ | |||
+ | <code bash> | ||
+ | $ lsblk | ||
+ | NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS | ||
+ | mmcblk0 | ||
+ | ├─mmcblk0p1 179:1 0 | ||
+ | └─mmcblk0p2 179:2 0 59G 0 part | ||
+ | nvme0n1 | ||
+ | ├─nvme0n1p1 259:1 0 | ||
+ | └─nvme0n1p2 259:2 0 | ||
+ | </ | ||
+ | |||
+ | ===== Install Proxmox 8.1 ===== | ||
+ | |||
+ | ==== Add Proxmox repo ==== | ||
< | < | ||
Line 69: | Line 95: | ||
- | ===== Install | + | ==== Install |
< | < | ||
Line 92: | Line 118: | ||
Z : start a shell to examine the situation | Z : start a shell to examine the situation | ||
The default action is to keep your current version. | The default action is to keep your current version. | ||
- | *** pveport.list (Y/ | + | *** pveport.list (Y/ |
</ | </ | ||
+ | |||
+ | ==== Configure SSH ==== | ||
+ | |||
+ | Allow the '' | ||
+ | |||
+ | < | ||
+ | PermitRootLogin yes | ||
+ | </ | ||
+ | |||
+ | Set a password for the root user: | ||
+ | |||
+ | < | ||
+ | passwd | ||
+ | </ | ||
+ | |||
+ | |||
+ | Restart ssh | ||
+ | |||
+ | < | ||
+ | systemctl restart sshd | ||
+ | </ | ||
===== Network ===== | ===== Network ===== | ||
Line 138: | Line 185: | ||
Proxmox is now available under https:// | Proxmox is now available under https:// | ||
+ | |||
+ | ===== Login ===== | ||
+ | |||
+ | Proxmox uses system accounts. So you have to set the '' | ||
+ | when logged in as '' | ||
+ | |||
+ | ===== Required VM settings, otherwise it won't boot ===== | ||
+ | |||
+ | When you get " | ||
+ | that you need to change the settings as described below. | ||
+ | |||
+ | |||
+ | Select the VM to be configured. Click on " | ||
+ | |||
+ | * CD/DVD Drive: select a ISO file (arm64 images required) | ||
+ | * BIOS: OVMF (UEFI) | ||
+ | * Machine: Default (virt) | ||
+ | * Add -> EFI Disk, select " | ||
+ | |||
+ | |||
+ | Hardware settings | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Add EFI Disk | ||
+ | |||
+ | {{: |