Full install (kimsufi)¶
- Wipe disk
wipefs -a /dev/sda
- Write the image
If zstd available:
curl 'https://download.regdrasil.com/pve/pve-7.2-4k.zst' | zstdcat - | dd of=/dev/sda bs=4M
If not:
curl 'https://download.regdrasil.com/pve/pve-7.2-4k.gz' | gunzip -c - | dd of=/dev/sda bs=4M
- Fix MBR GPT
partprobe
gdisk /dev/sda
w
- create 4GB of swap at the end of disk
gdisk /dev/sda
n # New part
4 # Part number
first sector location: -4G # first sector
<enter> # last sector
Hex code : 8200 (Linux Swap)
w
partprobe
- Fix network
If you have an 'eth0' interface:
udevadm info --export --query=property --path=/sys/class/net/eth0 | grep ID_NET_NAME_PATH
modprobe zfs zpool import rpool -R /mnt -f
nano /mnt/etc/network/interfaces
Replace eno0 with your systemd network interface name
auto lo
iface lo inet loopback
iface eno0 inet manual
auto vmbr0
iface vmbr0 inet static
address <ipv4>/24
gateway <gateway>.254
bridge_ports eno0
bridge_stp off
bridge_fd 0
- Optional: copy your public ssh key to /mnt/root/.ssh/authorized_keys (not working)
- Export the zfs pool
zpool export rpool
- Reboot to your new proxmox
reboot
- extend disk space
parted /dev/sda resizepart 3 100% partprobe zpool online -e rpool <partition>
- change hostname/dns