Hello!
I have two kvm hypervisor servers. One is an older machine, the other is a newer, much faster and bigger machine. I spent some time creating two servers on the older machine, and now I want to migrate them to the new one.
I have a third test VM which I tried to migrate first. I created the logical volume for it, and moved it with the migrate tool in Virtual Machine Manager (which is running on an Ubuntu desktop machine at my desk). So far, so good. I was able to SSH into the VM on the new host. Again, so far, so good.
Then I ran into the weirdest problem ever.
This worked just fine on the old host. I have no idea where to begin, or if I'm going to have this issue with all of my virtual servers. Googling the problem says that it's an architectural mismatch, for example, trying to run an ARM executable on an Intel. Both of my physical servers are Intel, but different generations.
Commands like ls and cd still work fine. I just can't do anything as root. Does this have to do with the different underlying servers? I kinda thought the big benefit of KVM was to be able to go between different servers like this.
Thank you all for the help!
PS: file seems to have the same issue:
More info: I decided to try a hard reboot from the hypervisor. Now it will not boot at all. It says the hard disk is not a bootable device. If this is because of the difference in arch between the old host server and the new, I'm in for a very rough ride.
I have two kvm hypervisor servers. One is an older machine, the other is a newer, much faster and bigger machine. I spent some time creating two servers on the older machine, and now I want to migrate them to the new one.
I have a third test VM which I tried to migrate first. I created the logical volume for it, and moved it with the migrate tool in Virtual Machine Manager (which is running on an Ubuntu desktop machine at my desk). So far, so good. I was able to SSH into the VM on the new host. Again, so far, so good.
Then I ran into the weirdest problem ever.
Code:
user@mytestvm91:/$ sudo apt update
-bash: /usr/bin/sudo: cannot execute binary file: Exec format error
Commands like ls and cd still work fine. I just can't do anything as root. Does this have to do with the different underlying servers? I kinda thought the big benefit of KVM was to be able to go between different servers like this.
Thank you all for the help!
PS: file seems to have the same issue:
Code:
user@mytestvm91:/$ file sudo
-bash: /usr/bin/file: cannot execute binary file: Exec format error