Rescue Raw VM Disk from Proxmox 4.3

sdet00

Well-Known Member
Nov 18, 2017
70
33
58
Hi everyone,

I have an unfortunate situation where my Proxmox 4.3 installation failed to bring up the WebUI and VMs after attempting to update the system. I was confronted by a half-complete update caused by unmet dependances for zfsutils, and after attempting to remove zfsutils I somehow managed to remove pve related components. I completely stuffed it. Bah.

I have a 5 month old system image of my proxmox setup which I am restoring now, but I'd really like to restore one VM which I have been updating recently. Is there any simple and easy way to do this? I am a little bit of a Linux rookie but I am learning. Even better if I could move it to my Proxmox 5.1 host which is destined to replace this current system. Any advice would be very welcome! I have a spare Linux Mint PC that I can connect the disk directly into if that helps.

Also, if anyone has some advice on how to automatically backup my entire Proxmox installation that would be really great, unfortunately the only way to do this at the moment is to power off the system, pull the disk and make an image on my spare workstation which is quite a hassle.
 
If it helps - I can boot Proxmox and get network connectivity and access to storage, but I am unsure what to do from there since I cannot access a WebUI to start the VM.
 
Hi,

there is no need for a new installation.
Boot your PVE.

run the following commands
Code:
echo "deb http://download.proxmox.com/debian jessie pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
wget -O- "http://download.proxmox.com/debian/key.asc" | apt-key add -
apt-get update
apt-get dist-upgrade
apt-get install proxmox-ve ssh postfix ksm-control-daemon open-iscsi systemd-sysv

If an error occurs post it back.
 
Hi,

there is no need for a new installation.
Boot your PVE.

run the following commands
Code:
echo "deb http://download.proxmox.com/debian jessie pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
wget -O- "http://download.proxmox.com/debian/key.asc" | apt-key add -
apt-get update
apt-get dist-upgrade
apt-get install proxmox-ve ssh postfix ksm-control-daemon open-iscsi systemd-sysv

If an error occurs post it back.

Thanks for the reply! Unfortunately I was met with problems. See the following terminal output - any ideas?


  1. Code:
    root@pve1:~# echo "deb http://download.proxmox.com/debian jessie pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
    root@pve1:~# wget -O- "http://download.proxmox.com/debian/key.asc" | apt-key add -
    --2018-10-06 15:28:52--  http://download.proxmox.com/debian/key.asc
    Resolving download.proxmox.com (download.proxmox.com)... 66.70.154.81, 2607:5300:60:5506::81
    Connecting to download.proxmox.com (download.proxmox.com)|66.70.154.81|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1703 (1.7K) [application/octet-stream]
    Saving to: ‘STDOUT’
    
    -                   100%[=====================>]   1.66K  --.-KB/s   in 0s
    
    2018-10-06 15:28:52 (140 MB/s) - written to stdout [1703/1703]
    
    OK
    root@pve1:~# apt-get update
    Ign http://ftp.au.debian.org jessie InRelease
    Hit http://ftp.au.debian.org jessie Release.gpg
    Hit http://ftp.au.debian.org jessie Release
    Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
    Get:2 http://repository.veeam.com stable InRelease [5,272 B]
    Get:3 http://download.proxmox.com stretch InRelease [3,052 B]
    Get:4 http://security.debian.org jessie/updates/main amd64 Packages [538 kB]
    Err http://repository.veeam.com stable InRelease
    
    Hit http://ftp.au.debian.org jessie/main amd64 Packages
    Ign http://download.proxmox.com stretch InRelease
    Hit http://ftp.au.debian.org jessie/contrib amd64 Packages
    Hit http://ftp.au.debian.org jessie/contrib Translation-en
    Get:5 http://download.proxmox.com jessie InRelease [2,413 B]
    Hit http://ftp.au.debian.org jessie/main Translation-en
    Get:6 http://security.debian.org jessie/updates/main Translation-en [290 kB]
    Ign http://download.proxmox.com stretch/pve-no-subscription amd64 Packages/DiffIndex
    Hit http://security.debian.org jessie/updates/contrib amd64 Packages
    Hit http://security.debian.org jessie/updates/contrib Translation-en
    Get:7 http://download.proxmox.com jessie/pve-no-subscription amd64 Packages [319 kB]
    Get:8 http://download.proxmox.com stretch/pve-no-subscription amd64 Packages [320 kB]
    Ign http://download.proxmox.com stretch/pve-no-subscription Translation-en_US
    Ign http://download.proxmox.com stretch/pve-no-subscription Translation-en
    Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en_US
    Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en
    Fetched 1,523 kB in 9s (153 kB/s)
    Reading package lists... Done
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repository.veeam.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3268CF038EEC045B
    
    W: GPG error: http://download.proxmox.com stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0D9A1950E2EF0603
    W: Failed to fetch http://repository.veeam.com/backup/linux/agent/dpkg/debian/public/dists/stable/InRelease
    
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    root@pve1:~# apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     libpve-common-perl : Breaks: pve-container (< 1.0-93) but 1.0-75 is to be installed
                          Breaks: pve-manager (< 5.2-5) but 4.3-1 is to be installed
                          Breaks: qemu-server (< 5.0-29) but 4.0-88 is to be installed
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    root@pve1:~#
 
Hi,

First, fix your veam repo this can make problems.
Skip dist-upgrade and run install.
 

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!