Importing vms from old cluster

Probaholic1

New Member
Oct 23, 2019
2
0
1
39
So I had an issue with an old machine where I had to pull the Hard drive and install it on another machine. Tried to boot proxmox and it wouldn't boot. So I figured I would install pve 6.0 on the a thumb drive (16gigs) and figured I'd be able to import the old configs files. Except I'm not able to do that. I can see the vms under /dev/mapper and under /dev/pve-old and the hard drive shows up in storage on the new PVE as /dev/sda3, but I can't seem to figure it out. I thought I would be able to a qm importdisk from /dev/pve-old/<vm> but it either tells me there's no VMID or the file is nonexistent if I try to create a similar VM name.

But since I can't seem to find the config files for the old vms, I'm kinda lost.
Any help would be appreciated.

Thanks.
 
This sounds like to grub may be having an issue. What is the output when you try to boot?

The /etc/pve directory is a mapped sqlite DB, located at /var/lib/pve-cluster/config.db. That's why you don't see the original DB.
 
When I remove the USB thumb drive that I have proxmox installed on. I reboot and gives me
Error 1962: no operating found. Boot sequence will automatically repeat.
and when I reboot with the USB stick it detects the old pve LVMs on boot up that are in /dev/mapper I would get
 

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!