reinstall just proxmox after failed update but keep all data

riegera2412

New Member
May 25, 2023
3
0
1
Hi all,

second trhead on the first day :)

So I just did a update yesterday and after that first boot failed from which I recovered and have everything up and running again allmost as before. Hoewever, GPU passthrough to my win11 VM is not working anymore since iommu is not enabled. I think this is caused by the fact, that proxmox is no using systemd as the bootloader while before it was grub. I checked the walkthrough on the website how to set up the iommu with systemd and it say I should enable it by editing the /etc/kernel/cmdline. However, this file does not exist on my system so I cant. I have another thread that is asking for help on this problem, but in case this doesnt lead to anything I was thinking about another option, which I try to explain here and hope to get help from all of you.

The idea is to just reinstall proxmox completely new but take everything with me. Just not sure what I have to save/backup to achieve that.

On the setup: I have 3 drives in the system: 2x2TB which are in a zfs-pool I use just for storage and a 1TB drive that has several partitions partially resulting from the original proxmox install.

root@prometheus:~# parted /dev/sdc GNU Parted 3.4 Using /dev/sdc Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) p Model: ATA SanDisk SDSSDH3 (scsi) Disk /dev/sdc: 1000GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 17.4kB 1049kB 1031kB bios_grub 2 1049kB 1075MB 1074MB fat32 boot, esp 3 1075MB 53.7GB 52.6GB lvm 4 53.7GB 527GB 473GB ext4 5 527GB 1000GB 473GB ext4

Partitions 4 and 5 are ext4-storage for the vms and lxs, respectivly. Partition 1 holds the original grub, partition two now holds the efi system partitions and 3 is as shown the lvm with proxmox.

If now I could just get rid of partitions 1,2,3 reinstall proxmox from the usb iso image to the "free space" from partitions 1,2,3 but retain 4 and 5 that would be ideal. I also wonder if I can reintegrate the zfs-pool composed of the other two disks into the new install.

Hope I got across what I have in mind. If not, please feel free to ask for additional informtion you need to help me. Help is really greatly appreciated.

Assuming my idea works I wonder what I have to backup on the old install so I can use it in the new install.

I imagine I would need backups of all the lxc containers and the vms. Would a backup I do via the webui be enough to recover everything on the new install?

Also in some way I need to retain the entire configuration of the install I am running now. Like the conf files for storage, for the lxcs and vms. I have read on the forum that backing up the /etc directory should do the trick, but am not sure if this would either be enough or cause problems on the new install as well. If any of you would be able to give me detailed infos on what to back up to migrate the configuration to the new install, I'd be in your debt.

Again thank you in advance for all the help you can offer to resolve my issues. Any help you can offer is greatly appreciated.

André
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!