Use iso to recover install without full reinstall?

zenowl77

Active Member
Feb 22, 2024
244
45
28
I am going to have to reinstall proxmox, i am wondering is there any possibility of using debug mode with the ISO to instruct proxmox to reinstall packages to the existing system without destroying configurations, vms, etc or without totally backing them all up, using multiple drives, doing a full reinstall and restoring it all.

Just to directly use debug mode to reinstall existing packages to fix problems, as the issue is because of a broken upgrade that simply did not install packages properly, so i have the upgrade version iso on a usb and want to use it to finish what was started and write the packages out so the system can be recovered and boot normally.
 
Did you try :
dpkg --configure -a
and after you should can use apt as normal.
 
Did you try :
dpkg --configure -a
and after you should can use apt as normal.
From the recovery environment on the ISO? Or is that if your system actually boots

Currently im backing up all my files from the main disk

thankfully all my vm disks, etc (except one CT) are all on different drives, the only things on the main one are some config files, drivers, etc i can back up.
 
dpkg run in (somewhat broken) installed and bootet pve.
Sadly the “upgrade” nuked my system so badly that it kernel panics and going through the files it appears it deleted most everything even slightly related to pve….. so iso is my only chance but im beginning to think even that is hopeless as even my config files and everything else seem to be gone…. The upgrade process just nuked everything and destroyed the system apparently.
 
yeah.... i went ahead with the reinstall, saved what i could which was nothing basically....

thankfully i learned long ago keep everything off the main drive, so basically nothing except my config files were on the main drive, but that is still a big loss. i need to setup a Proxmox backup server or something just for those haha

another lesson learned, i am going to start keeping /etc/ backups on my laptop or something too, just in case.

i felt like i should back them up beforehand and of course the docs say to, but i didnt listen, just wanted to get it done and over quickly, that one is kind of on me for not thinking an upgrade would nuke everything since they never usually do. lol never say never.
 
  • Like
Reactions: waltar